When the APPID/APPKEY of the OSDK are used for the first time on the drone, the error of NEW_DEVICE_ERROR prompts that the APPID/KEY needs to be activated.
It is recommended to use DJI Assistant2 for activation, steps:
1. Run the OSDK application while connecting to DJI Assistant2 to activate, log in to your account with DJI Assistant2
2. Make sure that the app_id and app_key in the OSDK configuration file(UserConfig.txt) are the available.
3. Run the demo or your own application twice. The first time it will still report NEW_DEVICE_ERROR, and please run it again (the latest Master branch version OSDK4.1 only needs to run once).