更新4.16后有报错,并且app_name被更改成了UXSDK示例代码
已完成-
2022-01-24 17:35:19.426 3097-3297/com.uav.dji.quantum.offline E/firmUpgrade-CSDK: [module manager] InternalDeviceComponentVersionUpdated callback, component:1302, version:03.00.0102
2022-01-24 17:35:20.342 3097-3297/com.uav.dji.quantum.offline E/firmUpgrade-CSDK: [module manager] InternalDeviceComponentVersionUpdated callback, component:1107, version:03.00.0101
--------- beginning of system
2022-01-24 17:35:23.526 3097-3097/com.uav.dji.quantum.offline E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
2022-01-24 17:35:23.529 3097-3097/com.uav.dji.quantum.offline E/BufferQueueProducer: [SurfaceTexture-0-3097-0] connect: already connected (cur=1 req=1)
2022-01-24 17:35:23.547 3097-3097/com.uav.dji.quantum.offline E/mali_so: encounter the first gles_error : 0x0001; gles_state_error_info : <param> is not an accepted value (gles_texture_tex_parameteri at hardware/arm/maliT760/driver/product/gles/src/texture/mali_gles_texture_api.c:1777)
2022-01-24 17:35:23.548 3097-3097/com.uav.dji.quantum.offline E/Affinity: try to load DjiAffinity
2022-01-24 17:35:23.548 3097-3097/com.uav.dji.quantum.offline E/Affinity: Current Thread: GLYUVSurfaceThread, tid = 845
2022-01-24 17:35:23.606 3097-3448/com.uav.dji.quantum.offline E/BufferQueueProducer: [SurfaceTexture-0-3097-2] connect: already connected (cur=1 req=1)
2022-01-24 17:35:23.646 3097-3097/com.uav.dji.quantum.offline E/BufferQueueProducer: [SurfaceTexture-0-3097-3] connect: already connected (cur=1 req=1)
2022-01-24 17:35:23.663 3097-3097/com.uav.dji.quantum.offline E/mali_so: encounter the first gles_error : 0x0001; gles_state_error_info : <param> is not an accepted value (gles_texture_tex_parameteri at hardware/arm/maliT760/driver/product/gles/src/texture/mali_gles_texture_api.c:1777)
2022-01-24 17:35:23.665 3097-3097/com.uav.dji.quantum.offline E/Affinity: try to load DjiAffinity
2022-01-24 17:35:23.666 3097-3097/com.uav.dji.quantum.offline E/Affinity: Current Thread: GLYUVSurfaceThread, tid = 851
2022-01-24 17:35:23.700 3097-3467/com.uav.dji.quantum.offline E/ACodec: [OMX.rk.video_decoder.avc] storeMetaDataInBuffers failed w/ err -1010
2022-01-24 17:35:23.718 3097-3467/com.uav.dji.quantum.offline E/ACodec: setupNativeWindowSizeFormatAndUsage 1080 colorSpace = 0,eDyncRange = 0
2022-01-24 17:35:23.907 3097-3482/com.uav.dji.quantum.offline E/ACodec: [OMX.rk.video_decoder.avc] storeMetaDataInBuffers failed w/ err -1010
2022-01-24 17:35:23.930 3097-3482/com.uav.dji.quantum.offline E/ACodec: setupNativeWindowSizeFormatAndUsage 1080 colorSpace = 0,eDyncRange = 0
2022-01-24 17:35:24.073 3097-3467/com.uav.dji.quantum.offline E/ACodec: setupNativeWindowSizeFormatAndUsage 1080 colorSpace = 0,eDyncRange = 0
2022-01-24 17:35:24.562 3097-3462/com.uav.dji.quantum.offline E/DJIUSBWifiSwitchManager: ****resetSwitchFromWifiFlag
2022-01-24 17:35:24.562 3097-3462/com.uav.dji.quantum.offline E/DJIUsbAccessoryReceiver: receiver destroySession
2022-01-24 17:35:24.563 3097-3462/com.uav.dji.quantum.offline E/DJIUsbAccessoryReceiver: Receiver not registered: dji.midware.usb.P3.DJIUsbAccessoryReceiver@785ed0b
2022-01-24 17:35:24.709 3097-3097/com.uav.dji.quantum.offline E/CrashReport: Java Crash Happen cause by main(1)
2022-01-24 17:35:24.801 3097-3097/com.uav.dji.quantum.offline E/CrashReport: stack frame :8, has cause true
2022-01-24 17:35:24.826 3097-3097/com.uav.dji.quantum.offline E/CrashReport: #++++++++++Record By Bugly++++++++++#
2022-01-24 17:35:24.826 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # You can use Bugly(http:\\bugly.qq.com) to get more Crash Detail!
2022-01-24 17:35:24.826 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # PKG NAME: com.uav.dji.quantum.offline
2022-01-24 17:35:24.826 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # APP VER: 4.6.10
2022-01-24 17:35:24.826 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # SDK VER: 3.4.4-3.7.1
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # LAUNCH TIME: 2022-01-24 17:35:08
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # CRASH TYPE: JAVA_CRASH
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # CRASH TIME: 2022-01-24 17:35:24
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # CRASH PROCESS: com.uav.dji.quantum.offline
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # CRASH THREAD: main
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # REPORT ID: 27be6081-d4a5-4e95-bfb9-2a666e95bb4c
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # CRASH DEVICE: pm430 UNROOT
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # RUNTIME AVAIL RAM:2834550784 ROM:16046948352 SD:16046948352
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # RUNTIME TOTAL RAM:4042510336 ROM:27713863680 SD:27713863680
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: # CRASH STACK:
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.
at dji.thirdparty.rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:60)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:167)
at android.app.ActivityThread.main(ActivityThread.java:6240)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1000)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:868)
Caused by: dji.thirdparty.rx.exceptions.OnErrorNotImplementedException: Attempt to invoke interface method 'dji.common.airlink.PhysicalSource dji.sdk.camera.VideoFeeder$VideoFeed.getVideoSource()' on a null object reference
at dji.thirdparty.rx.Observable$26.onError(Observable.java:8524)
at dji.thirdparty.rx.observers.SafeSubscriber._onError(SafeSubscriber.java:157)
at dji.thirdparty.rx.observers.SafeSubscriber.onError(SafeSubscriber.java:120)
at dji.thirdparty.rx.observers.SerializedObserver.onError(SerializedObserver.java:158)
at dji.thirdparty.rx.observers.SerializedSubscriber.onError(SerializedSubscriber.java:79)
at dji.thirdparty.rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.innerError(OnSubscribeConcatMap.java:192)
at dji.thirdparty.rx.internal.operators.OnSubscribeConcatMap$ConcatMapInnerSubscriber.onError(OnSubscribeConcatMap.java:340)
at dji.thirdparty.rx.internal.operators.OperatorSubscribeOn$1$1.onError(OperatorSubscribeOn.java:59)
at dji.thirdparty.rx.Observable.unsafeSubscribe(Observable.java:8748)
at dji.thirdparty.rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
at dji.thirdparty.rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:167)
at android.app.ActivityThread.main(ActivityThread.java:6240)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1000)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:868)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'dji.common.airlink.PhysicalSource dji.sdk.camera.VideoFeeder$VideoFeed.getVideoSource()' on a null object reference
at dji.ux.widget.FPVWidget.updateCameraName()
at dji.ux.widget.FPVWidget.updateWidget()
at dji.ux.base.H.a()
at dji.ux.base.H.call()
at dji.thirdparty.rx.Observable.unsafeSubscribe(Observable.java:8741)
at dji.thirdparty.rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
at dji.thirdparty.rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:167)
at android.app.ActivityThread.main(ActivityThread.java:6240)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1000)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:868)
2022-01-24 17:35:24.828 3097-3097/com.uav.dji.quantum.offline E/CrashReport: #++++++++++++++++++++++++++++++++++++++++++#
2022-01-24 17:35:25.305 3097-3097/com.uav.dji.quantum.offline E/CrashReport: sys default last handle start!
--------- beginning of crash
2022-01-24 17:35:25.311 3097-3097/com.uav.dji.quantum.offline E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.uav.dji.quantum.offline, PID: 3097
java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.
at dji.thirdparty.rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:60)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:167)
at android.app.ActivityThread.main(ActivityThread.java:6240)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1000)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:868)
Caused by: dji.thirdparty.rx.exceptions.OnErrorNotImplementedException: Attempt to invoke interface method 'dji.common.airlink.PhysicalSource dji.sdk.camera.VideoFeeder$VideoFeed.getVideoSource()' on a null object reference
at dji.thirdparty.rx.Observable$26.onError(Observable.java:8524)
at dji.thirdparty.rx.observers.SafeSubscriber._onError(SafeSubscriber.java:157)
at dji.thirdparty.rx.observers.SafeSubscriber.onError(SafeSubscriber.java:120)
at dji.thirdparty.rx.observers.SerializedObserver.onError(SerializedObserver.java:158)
at dji.thirdparty.rx.observers.SerializedSubscriber.onError(SerializedSubscriber.java:79)
at dji.thirdparty.rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.innerError(OnSubscribeConcatMap.java:192)
at dji.thirdparty.rx.internal.operators.OnSubscribeConcatMap$ConcatMapInnerSubscriber.onError(OnSubscribeConcatMap.java:340)
at dji.thirdparty.rx.internal.operators.OperatorSubscribeOn$1$1.onError(OperatorSubscribeOn.java:59)
at dji.thirdparty.rx.Observable.unsafeSubscribe(Observable.java:8748)
at dji.thirdparty.rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
at dji.thirdparty.rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:167)
at android.app.ActivityThread.main(ActivityThread.java:6240)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1000)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:868)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'dji.common.airlink.PhysicalSource dji.sdk.camera.VideoFeeder$VideoFeed.getVideoSource()' on a null object reference
at dji.ux.widget.FPVWidget.updateCameraName()
at dji.ux.widget.FPVWidget.updateWidget()
at dji.ux.base.H.a()
at dji.ux.base.H.call()
at dji.thirdparty.rx.Observable.unsafeSubscribe(Observable.java:8741)
at dji.thirdparty.rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
at dji.thirdparty.rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:167)
at android.app.ActivityThread.main(ActivityThread.java:6240)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1000)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:868) -
![](https://djisdksupport.zendesk.com/attachments/token/GqbTw0TVgOwpsOzuTiylE19jh/?name=inline-809053263.png) 这里名字改掉,不要引用app_name,用其他的string就可以了。
请先登录再写评论。
评论
11 条评论