正在上传图片(0/1)

大疆Mobile sdk 初学者照着书写的程序怎么也运行不起来

 0
手机看帖 0 1630
2022-01-24 13:50:41.592 10958-10995/com.example.xjrldji E/DJIUsbAccessoryReceiver: start accessory receiver
2022-01-24 13:50:41.594 10958-11027/com.example.xjrldji D/UsbAccessoryService: accessory startStream
2022-01-24 13:50:41.595 10958-10995/com.example.xjrldji W/example.xjrldj: Accessing hidden method Landroid/app/ActivityThread;->currentApplication()Landroid/app/Application; (greylist, reflection, allowed)
2022-01-24 13:50:41.599 10958-11026/com.example.xjrldji E/DJIUsbAccessoryReceiver: receive action: android.hardware.usb.action.USB_STATE
2022-01-24 13:50:41.600 10958-11026/com.example.xjrldji E/DJIUsbAccessoryReceiver: android.hardware.usb.action.USB_STATE: is connected
2022-01-24 13:50:41.602 10958-11033/com.example.xjrldji D/logWrite.cpp: UDT JNI_OnLoad---------------->
2022-01-24 13:50:41.602 10958-11033/com.example.xjrldji D/logWrite.cpp: UDP jniRegisterNativeMethods: jniRegisterNativeMethods
2022-01-24 13:50:41.602 10958-11033/com.example.xjrldji D/logWrite.cpp: loaded UDT :JNI_OnLoad() go to end
2022-01-24 13:50:41.612 10958-11051/com.example.xjrldji D/BluetoothAdapter: isLeEnabled(): ON
2022-01-24 13:50:41.614 10958-10977/com.example.xjrldji D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0
2022-01-24 13:50:41.616 10958-11053/com.example.xjrldji D/BluetoothAdapter: isLeEnabled(): ON
2022-01-24 13:50:41.620 10958-11055/com.example.xjrldji E/Lightbridge: Failed to obtain JNIEnv
2022-01-24 13:50:41.620 10958-11056/com.example.xjrldji E/Lightbridge: Failed to obtain JNIEnv
2022-01-24 13:50:41.621 10958-11058/com.example.xjrldji E/Lightbridge: Failed to obtain JNIEnv
2022-01-24 13:50:41.621 10958-11057/com.example.xjrldji E/Lightbridge: Failed to obtain JNIEnv
2022-01-24 13:50:41.622 10958-11059/com.example.xjrldji E/Lightbridge: Failed to obtain JNIEnv
2022-01-24 13:50:41.622 10958-11060/com.example.xjrldji E/Lightbridge: Failed to obtain JNIEnv
2022-01-24 13:50:41.635 10958-10995/com.example.xjrldji E/RM500 RCType: Service Not Connected
2022-01-24 13:50:41.635 10958-10995/com.example.xjrldji E/PM430 RCType: Service Not Connected
2022-01-24 13:50:41.703 10958-11038/com.example.xjrldji I/TetheringManager: registerTetheringEventCallback:com.example.xjrldji
2022-01-24 13:50:41.729 10958-10995/com.example.xjrldji E/AndroidRuntime: FATAL EXCEPTION: DJIExecutor Urgent #1
    Process: com.example.xjrldji, PID: 10958
    java.lang.VerifyError: Verifier rejected class dji.thirdparty.afinal.FinalHttp: org.apache.http.client.HttpClient dji.thirdparty.afinal.FinalHttp.getHttpClient() failed to verify: org.apache.http.client.HttpClient dji.thirdparty.afinal.FinalHttp.getHttpClient(): [0x2]  can't resolve returned type 'Unresolved Reference: org.apache.http.client.HttpClient' or 'Unresolved Reference: org.apache.http.impl.client.DefaultHttpClient' (declaration of 'dji.thirdparty.afinal.FinalHttp' appears in /data/user/0/com.example.xjrldji/Anonymous-DexFile@4172956491.jar)
        at com.dji.frame.util.V_AppUtils.getFinalHttpWithSSL(Unknown Source:7)
        at com.dji.frame.util.V_AppUtils.getFinalHttp(Unknown Source:7)
        at dji.internal.version.uio.fdd(Unknown Source:42)
        at dji.internal.version.hgf.fdd(Unknown Source:8)
        at dji.internal.version.VersionController.fdd(Unknown Source:12)
        at dji.sdksharedlib.fdd.fdd(Unknown Source:25)
        at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source:15)
        at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source:15)
        at dji.sdk.sdkmanager.DJISDKManager.registerApp(Unknown Source:42)
        at dji.sdk.sdkmanager.DJISDKManager.access$700(Unknown Source:0)
        at dji.sdk.sdkmanager.DJISDKManager$6$1.onDownloadSuccess(Unknown Source:6)
        at dji.internal.ghu.ghu.fdd(Unknown Source:19)
        at dji.sdk.sdkmanager.DJISDKManager$6.run(Unknown Source:33)
        at dji.sdksharedlib.gfd.koy.run(Unknown Source:5)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:923)
2022-01-24 13:50:41.752 10958-10995/com.example.xjrldji E/UsbAccessoryService: final destroy() 71
2022-01-24 13:50:41.853 10958-10995/com.example.xjrldji E/UsbAccessoryService: final destroy() 72
2022-01-24 13:50:41.853 10958-10995/com.example.xjrldji E/wm220: ****resetSwitchFromWifiFlag
2022-01-24 13:50:41.853 10958-10995/com.example.xjrldji E/DJIUsbAccessoryReceiver: receiver destroySession
2022-01-24 13:50:41.854 10958-10995/com.example.xjrldji E/UsbAccessoryService: final destroy() 73
2022-01-24 13:50:41.854 10958-10995/com.example.xjrldji E/UsbAccessoryService: final destroy() 75
2022-01-24 13:50:41.854 10958-10995/com.example.xjrldji E/UsbAccessoryService: final destroy() 76
2022-01-24 13:50:41.854 10958-10995/com.example.xjrldji E/DJICrashHandler: uncaughtException 3

评论
上传
你需要登录之后才能回帖    登录 | 注册
收藏 点赞 评论
分享至:
回复:
上传
取消 评论
快速回复 返回顶部 返回列表