关于Android-GSDemo-GoogleMap:https://github.com/DJI-Mobile-SDK-Tutorials/Android-GSDemo-GoogleMap我有 Mavic Pro ,我的Android设备是 Xiaomi Redmi 4A ,Android版本 6.0.1 . 我正在使用Android Studio 3.0.1 .
安装GSDemo应用程序后(使用DJI中的代码's github and inserting the DJI SDK API key and google API key on the right places in the code) on my phone and connecting the device to the remote controller of the drone and turning the drone on (or using the simulator like the guide says) I get a message '注册成功' in the GSDemo app but it seems that it is not recognizing the drone – its not showing the map at all, keep on saying '状态:未连接产品':
我给了它所有必要的权限,包括改变无人机遥控器的连接,从'仅充电'到PTP / MTP .
1 回答
我认为您应该仔细检查是否已正确设置了小米Redmi 4A上的USB附件(您的Mavic Pro)的默认应用程序行为 . 请查看DJI开发者网站文档的常见问题解答:
https://developer.dji.com/mobile-sdk/documentation/faq/index.html#how-do-i-reset-the-default-app-behavior-for-a-usb-accessory-dji-product-on-android-devices
当您将Android设备连接到RC时,Android设备应询问打开哪个应用程序以及是否将其设为默认值,然后选择GSDemo应用程序 .