MSDK V5.6 官方demo 进入到飞行控制页 崩溃。
Completed
2023-11-01 16:49:08.381 3834-3862 GuidUtil com.test.djisdk.app E (co_a:3) error:1e00007b:Cipher functions:OPENSSL_internal:WRONG_FINAL_BLOCK_LENGTH
2023-11-01 16:49:08.593 3834-3862 DJIV5/SDKM...er@3d3ca7a com.test.djisdk.app I (registerApp:1) begin registerApp!
2023-11-01 16:49:08.598 3834-3914 DJIV5/Regi...er@28987b5 com.test.djisdk.app I (co_a:1) registerApp enter
2023-11-01 16:49:08.599 3834-3914 DJIV5/Regi...er@28987b5 com.test.djisdk.app I (co_a:22) registerApp getSdkConfigFileFromServer
2023-11-01 16:49:08.599 3834-3914 FileUtils com.test.djisdk.app E (readFile:45) /data/user/0/com.test.djisdk.app/files/test.json: open failed: ENOENT (No such file or directory)
2023-11-01 16:49:09.275 3834-3902 VersionInfoRepository com.test.djisdk.app I (onResponse:173) success, 200
2023-11-01 16:49:09.278 3834-3902 test.djisdk.ap com.test.djisdk.app W Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (greylist, reflection, allowed)
2023-11-01 16:49:09.278 3834-3902 test.djisdk.ap com.test.djisdk.app W Accessing hidden method Lsun/misc/Unsafe;->allocateInstance(Ljava/lang/Class;)Ljava/lang/Object; (greylist, reflection, allowed)
2023-11-01 16:49:09.280 3834-3902 VersionInfoRepository com.test.djisdk.app I (onResponse:184) success, HttpResult(code=0, message='success', data='VersionInfo(versionCode=0, versionMajor=5, versionMinor=7, versionPatch=0, releaseTimeStamp=1698652800, supportProducts=Matrices 350 RTK、DJI Mini 3 Pro、DJI Mini 3、DJI Mavic 3 多光谱版、DJI Mavic 3 行业系列、Matrice 30系列、Matrice 300 RTK, releaseNode=1. Matrice 300 RTK 和 Matrice 350 RTK 新增支持 Zenmuse L2。
2. 新增支持 XMP 功能。
3. 新增部分 Sample 控件。)')
2023-11-01 16:49:09.282 3834-3890 FileUtils com.test.djisdk.app E (createFile:8) createNewFile failed!
2023-11-01 16:49:09.311 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[LeakCanary-Heap-Dump,5,main]
2023-11-01 16:49:09.311 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[AnalyticsEngineCallBack_Handler,5,main]
2023-11-01 16:49:09.311 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[queued-work-looper,5,main]
2023-11-01 16:49:09.311 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[ToastUtils,5,main]
2023-11-01 16:49:09.312 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[ConnectivityThread,3,main]
2023-11-01 16:49:09.429 3834-3901 VersionInfoRepository com.test.djisdk.app I (onResponse:173) success, 200
2023-11-01 16:49:09.429 3834-3901 VersionInfoRepository com.test.djisdk.app I (onResponse:184) success, HttpResult(code=0, message='success', data='VersionInfo(versionCode=0, versionMajor=5, versionMinor=6, versionPatch=0, releaseTimeStamp=1695024000, supportProducts=Matrices 350 RTK、DJI Mini 3 Pro、DJI Mini 3、DJI Mavic 3 多光谱版、DJI Mavic 3 行业系列、Matrice 30系列、Matrice 300 RTK, releaseNode=1. 支持航线任务编辑功能。
2. 支持航线任务断点续飞功能。
3. 支持航线任务 Action 回调。
4. 支持 TLE 私有化服务器地址设置。
5. 支持 DJI Pilot 和 MSDK App 相互切换使用。)')
2023-11-01 16:49:09.432 3834-3890 FileUtils com.test.djisdk.app E (createFile:8) createNewFile failed!
2023-11-01 16:49:09.547 3834-3914 logWrite.cpp com.test.djisdk.app I DJILOG::source 49VO74SyIzbxJR2mW7Urf2NvwwZLrcmLcWkZtBiv3Yhk0XToS7UxN69qJWkGLPNGHiS1uYOzS5O4LYx+qinDVV6fIX/N8gaYQn9aY3npH+ssQ2OlmKEzv1tUGwrtRQdZBj/k4lXskZW9G9y6LyThK+uCjzYRvoH2OnyF/E9FOgtJo090wdVtKPP88unnpdiKFUvpe/znskR41Fz47umzJiKExcEz6oPcpPaSaTH2+g6WuVY05OoM4dzFrI3kgwoGJLKgIMiCPStuXlu0GVKpG9i+PIgEPklZWk36BJ1NyYj5fkJB77a6ZMQSy22oV3AfOeCzr8862W/CxCzPSpoTTN/+kqg7Ij/ma7Pnz+7fmQijn2ozesrJZZ7juohVRA6xxYZUdFu+6eQPoho4s0nsRcy0K3MoTob0vCzOGTMIaSl/bXHoP3P8eMxPQbXBDJg6R4Qya2AODc7AIbKHVzp3qw==
2023-11-01 16:49:09.547 3834-3914 logWrite.cpp com.test.djisdk.app I DJILOG::key 008fb65b5babe6c2a020d88f
2023-11-01 16:49:09.547 3834-3914 logWrite.cpp com.test.djisdk.app I DJILOG::packageId com.test.djisdk.app
2023-11-01 16:49:09.547 3834-3914 logWrite.cpp com.test.djisdk.app I DJILOG::deviceId ffffffff-ae55-f65e-0000-018b8a12752a
2023-11-01 16:49:09.548 3834-3914 logWrite.cpp com.test.djisdk.app I DJILOG::contentAfterBase64 ??N#6?%?[?+co?K?ɋqi??݈d?t?K?17?j%i,?F$????K??-?~?)?U^?!???BZcy??,Cc???3?[T
?E Y???U쑕?ܺ/$?+낏6???:|??OE:
I?Ot??m(?????؊K?{??Dx?\???&"???3?ܤ??i1????V4?? ??Ŭ??
$?? Ȃ=+n^[?R?ؾ<?>IYZM??MɈ?~BAﶺd??m?Wp9೯?:?o??,?J?L????;"??k????ߙ??j3z??e?㺈UD?ņTt[????8?I?E̴+s(N???,?3i)mq??s?x?OA?? ?:G?2k`??!??W:w?
2023-11-01 16:49:09.548 3834-3914 logWrite.cpp com.test.djisdk.app I DJILOG::rijndael256Decrypt {"sdkconfig":{"appid":"com.test.djisdk.app","registertime":"1698828552","sdklevel":"2","sign":"SDKC","sign_v2":"m3AXOTwWKS3FKu7Wdlq41I+qXdh9F3hXQlnobDzmQqjiJ9JK5gMwHXRopjpHBCa+WuDCbr++/mOyRraMVgRsWxp73jmMEzfFg9Hyax3bjGwcoHJf543VWr5yS+qOWc15wl8hzLfmIbYGgGfWxnEgTr/qzBH6qKTkZVHnr9v7G9g=","status":"0","uuid":"ffffffff-ae55-f65e-0000-018b8a12752a"}}P???x
2023-11-01 16:49:09.580 3834-3914 JNISdk com.test.djisdk.app D initialize
2023-11-01 16:49:09.587 3834-3834 LeakCanary com.test.djisdk.app D Watching instance of android.widget.LinearLayout (android.widget.LinearLayout received View#onDetachedFromWindow() callback) with key d32f4a28-553c-4a9d-afdd-4ff7ef289ca3
2023-11-01 16:49:09.915 3834-3914 DJIV5/AESUtil com.test.djisdk.app E (decryptedString:9) last block incomplete in decryption
2023-11-01 16:49:09.917 3834-3914 DJIV5/User...untManager com.test.djisdk.app E (onFailure:1) updateUserAccountValidation onFailure: ErrorImp{errorType='USER_LOGIN', errorCode='NOT_LOGGED_IN', innerCode='null', description='当前用户未登录', hint='No logged in account'}
2023-11-01 16:49:09.922 3834-3914 DJIV5/co_a@2a87bf6 com.test.djisdk.app I (co_a:3) init
2023-11-01 16:49:09.927 3834-3914 DJIV5/RXUtil com.test.djisdk.app E (apply:2) retryTimes:io.reactivex.rxjava3.processors.SerializedProcessor@334ea64
2023-11-01 16:49:10.057 3834-3834 test.djisdk.ap com.test.djisdk.app W Accessing hidden field Ljava/io/FileDescriptor;->descriptor:I (greylist, reflection, allowed)
2023-11-01 16:49:10.137 3834-3937 DJIV5/co_a@2a87bf6 com.test.djisdk.app I (onCompleted:1) load cloud config complete {"a":{"control_lte":{"a":"control_lte","b":{"area_config_whitelist":{"a":"area_config_whitelist","b":"{\"lte_feature_support_country_code\":[\"CN\"],\"sdr_lost_block_motor_before_takeoff_country_code\":[\"CN\"],\"sdr_lost_block_motor_land_over_3min_country_code\":[\"CN\"]}"},"area_config_whitelist_v5_kol":{"a":"area_config_whitelist_v5_kol","b":"{\"lte_feature_support_country_code\":[\"CN\",\"AR\",\"CL\",\"PT\",\"FR\",\"GR\",\"DE\",\"IT\",\"SE\",\"TR\",\"NO\",\"CH\",\"SG\",\"AU\",\"NZ\",\"MY\",\"JP\"],\"sdr_lost_block_motor_before_takeoff_country_code\":[\"CN\"],\"sdr_lost_block_motor_land_over_3min_country_code\":[\"CN\"]}"}}}}}
2023-11-01 16:49:10.137 3834-3937 DJIV5/co_a@2a87bf6 com.test.djisdk.app I (co_a:40) entry.getStringValue() {"lte_feature_support_country_code":["CN"],"sdr_lost_block_motor_before_takeoff_country_code":["CN"],"sdr_lost_block_motor_land_over_3min_country_code":["CN"]}
2023-11-01 16:49:10.215 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@1477fa4, canGet=true, canSet=false, canListen=true, canPerformAction=false, mIsEvent=false, identifier='SerialNumber'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.216 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@1477fa4, canGet=true, canSet=false, canListen=false, canPerformAction=false, mIsEvent=false, identifier='FirmwareVersion'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.216 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (co_a:27) io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | RxError{djiError=ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}}
2023-11-01 16:49:10.216 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.216 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.217 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.217 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.217 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.217 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.218 3834-3946 DJIV5/LTES...ce@c5d1c55 com.test.djisdk.app I (co_a:116) set failure: true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.218 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.218 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.218 3834-3939 DJIV5/LTES...ce@c5d1c55 com.test.djisdk.app I (co_b:5) set failure: true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.273 3834-3914 NFZ JNI com.test.djisdk.app D FS SDK JNI_OnLoad---------------->
2023-11-01 16:49:10.274 3834-3914 NFZ JNI com.test.djisdk.app D FS SDK JNI_OnLoad----------------> finished
2023-11-01 16:49:10.274 3834-3914 test.djisdk.ap com.test.djisdk.app W Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (greylist, reflection, allowed)
2023-11-01 16:49:10.452 3834-3914 NFZ JNI com.test.djisdk.app D jni_sdk_initialize
2023-11-01 16:49:10.633 3834-3914 NFZ JNI com.test.djisdk.app D jni_sdk_initialize----> finished
2023-11-01 16:49:10.674 3834-3914 DJIV5/FlyZ...er@55c8e37 com.test.djisdk.app I (co_a:16) 更新自带基础数据库 isSuc:true version: 9 NFZ
2023-11-01 16:49:10.860 3834-3914 DJIV5/FlyZ...er@55c8e37 com.test.djisdk.app I (co_b:7) 更新自带精准数据库 isSuc:true version: 27 NFZ
2023-11-01 16:49:10.864 3834-3834 DJIV5/MSDK...Vm@782a18b com.test.djisdk.app I (_init_$lambda-0:53) areaCodeData AreaCodeData{areaCode='CN', source=IP, areaCodeEnum=CHINA}
2023-11-01 16:49:10.865 3834-3834 DJIV5/MSDK...Vm@782a18b com.test.djisdk.app I (_init_$lambda-1:58) isNetworkAvailable true
2023-11-01 16:49:10.872 3834-3834 DJIV5/MSDK...Vm@782a18b com.test.djisdk.app I (invoke:92) KeyProductType:UNRECOGNIZED
2023-11-01 16:49:10.872 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@1477fa4, canGet=true, canSet=false, canListen=true, canPerformAction=false, mIsEvent=false, identifier='SerialNumber'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.872 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@1477fa4, canGet=true, canSet=false, canListen=false, canPerformAction=false, mIsEvent=false, identifier='FirmwareVersion'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
2023-11-01 16:49:10.872 3834-3834 DJIV5/RXUtil com.test.djisdk.app E (co_a:27) io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | RxError{djiError=ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}}
2023-11-01 16:49:10.935 3834-3834 CoreExistManager com.test.djisdk.app D controllerType2=DJI_RC_PRO,start init CoreExistManager!
2023-11-01 16:49:10.945 3834-3952 DJIV5/Upgr...er@3f46176 com.test.djisdk.app I (co_a:55) changeState is ADD
2023-11-01 16:49:10.945 3834-3952 DJIV5/Upgr...er@3f46176 com.test.djisdk.app E (onUpgradeFirmwareStateUpdated:1) info is INITIALIZING
2023-11-01 16:49:10.946 3834-3952 DJIV5/Upgr...er@3f46176 com.test.djisdk.app I (co_a:79) listeners size is 0
2023-11-01 16:49:10.951 3834-3834 CoreExistReceiver com.test.djisdk.app D MSDK Receive Broadcast
2023-11-01 16:49:10.963 1589-1637 MsdkHelper system_server E data: 13 63 6f 6d 2e 74 65 73 74 2e 64 6a 69 73 64 6b 2e 61 70 70收到来自 2 0 请求: PackageName: com.test.djisdk.app
2023-11-01 16:49:11.071 3834-3834 DJIV5/LTES...ce@c5d1c55 com.test.djisdk.app E (co_b:65) isPrivatizationServerOn=false,phone=,don not setLteBroadcastPhone,currentLTELinkType=OCU_SYNC
2023-11-01 16:49:11.213 3834-3952 DJIV5/Upgr...er@3f46176 com.test.djisdk.app E (onUpgradeFirmwareStateUpdated:1) info is UNKNOWN
2023-11-01 16:49:11.590 3834-3834 LeakCanary com.test.djisdk.app D Watching instance of android.widget.LinearLayout (android.widget.LinearLayout received View#onDetachedFromWindow() callback) with key 07b507f4-b381-479b-818f-75de69cc3d94
2023-11-01 16:49:11.928 3834-3939 DJIV5/RXUtil com.test.djisdk.app E (co_a:27) io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | io.reactivex.rxjava3.exceptions.MissingBackpressureException: Can't deliver value due to lack of requests
2023-11-01 16:49:12.315 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[dji_background_thread,7,main]
2023-11-01 16:49:12.315 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[SDKAgentManager,7,main]
2023-11-01 16:49:12.315 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[DJIV5/VirtualStickManager@81690c9,7,main]
2023-11-01 16:49:12.316 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[CoreExist,7,main]
2023-11-01 16:49:13.598 3834-3834 LeakCanary com.test.djisdk.app D Watching instance of android.widget.LinearLayout (android.widget.LinearLayout received View#onDetachedFromWindow() callback) with key a43422d9-3f4b-4072-9356-0e97dc070edb
2023-11-01 16:49:16.621 3834-3860 test.djisdk.ap com.test.djisdk.app I Explicit concurrent copying GC freed 11170(1476KB) AllocSpace objects, 10(520KB) LOS objects, 44% free, 7549KB/13MB, paused 56us total 30.541ms
2023-11-01 16:49:16.712 3834-3834 ActivityThread com.test.djisdk.app W handleWindowVisibility: no activity for token android.os.BinderProxy@28c85d
2023-11-01 16:49:16.838 3834-3834 test.djisdk.ap com.test.djisdk.app W Accessing hidden field Landroid/widget/TextView;->mShadowRadius:F (greylist, reflection, allowed)
2023-11-01 16:49:16.910 3834-3834 DJIV5/Dpad...er@f645474 com.test.djisdk.app I (co_a:2) init(), productType = RM510
2023-11-01 16:49:16.916 3834-3834 AttitudeDashBoard com.test.djisdk.app D isShowFramework=false
2023-11-01 16:49:17.106 3834-3834 AttitudeDashBoard com.test.djisdk.app D isShowFramework=true
2023-11-01 16:49:17.128 3834-3834 DJIV5/Defa...ty@2fc4d2a com.test.djisdk.app I (updateFPVWidgetSource:257) null
2023-11-01 16:49:17.173 3834-3834 DJIV5/FPVW...el@decbd0b com.test.djisdk.app I (inSetup:141) inSetup,streamSource: null LEFT_OR_MAIN
2023-11-01 16:49:17.184 3834-3834 DJIV5/FPVW...el@4d82578 com.test.djisdk.app I (inSetup:141) inSetup,streamSource: null LEFT_OR_MAIN
2023-11-01 16:49:17.189 3834-3834 RTKStartServiceHelper com.test.djisdk.app I (rtkSystemStateListener$lambda-0:57) rtkSource change into:NONE
2023-11-01 16:49:17.190 3834-3834 RTKStartServiceHelper com.test.djisdk.app I (startRtkService:116) startRtkService
2023-11-01 16:49:17.190 3834-3834 RTKStartServiceHelper com.test.djisdk.app E (startRtkService:118) rtkModule is unAvailable,startRtkServiceIfNeed fail!
2023-11-01 16:49:17.211 3834-3943 DJIV5/RXUtil com.test.djisdk.app E (co_a:27) io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
2023-11-01 16:49:17.216 3834-3940 DJIV5/RXUtil com.test.djisdk.app E (co_a:27) io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
2023-11-01 16:49:17.251 3834-3834 test.djisdk.ap com.test.djisdk.app I Waiting for a blocking GC ClassLinker
2023-11-01 16:49:17.258 3834-3948 DJIV5/RXUtil com.test.djisdk.app E (co_a:27) io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
2023-11-01 16:49:17.261 3834-3834 AndroidRuntime com.test.djisdk.app D Shutting down VM
2023-11-01 16:49:17.262 3834-3834 AndroidRuntime com.test.djisdk.app E FATAL EXCEPTION: main
Process: com.test.djisdk.app, PID: 3834
java.lang.NullPointerException
at android.content.res.XmlBlock.nativeGetStyleAttribute(Native Method)
at android.content.res.XmlBlock.access$1500(XmlBlock.java:41)
at android.content.res.XmlBlock$Parser.getStyleAttribute(XmlBlock.java:459)
at android.content.res.Resources$Theme.getExplicitStyle(Resources.java:1750)
at android.view.View.retrieveExplicitStyle(View.java:6176)
at android.view.View.<init>(View.java:5327)
at android.view.ViewGroup.<init>(ViewGroup.java:675)
at android.view.ViewGroup.<init>(ViewGroup.java:671)
at androidx.constraintlayout.widget.ConstraintLayout.<init>(ConstraintLayout.java:592)
at dji.v5.ux.core.base.widget.ConstraintLayoutWidget.<init>(ConstraintLayoutWidget.kt:44)
at dji.v5.ux.core.base.panel.listitem.ListItemTitleWidget.<init>(ListItemTitleWidget.kt:56)
at dji.v5.ux.core.base.panel.listitem.ListItemLabelButtonWidget.<init>(ListItemLabelButtonWidget.kt:54)
at dji.v5.ux.core.panel.listitem.overview.OverviewListItemWidget.<init>(OverviewListItemWidget.kt:50)
at dji.v5.ux.core.panel.listitem.overview.OverviewListItemWidget.<init>(OverviewListItemWidget.kt:46)
at dji.v5.ux.core.panel.systemstatus.SystemStatusSmartListModel.createWidget(SystemStatusSmartListModel.kt:114)
at dji.v5.ux.core.base.panel.SmartListModel.buildActiveWidgetList(SmartListModel.kt:301)
at dji.v5.ux.core.base.panel.SmartListModel.buildAndInstallWidgets(SmartListModel.kt:169)
at dji.v5.ux.core.base.panel.SmartListModel.setUp(SmartListModel.kt:118)
at dji.v5.ux.core.base.panel.ListPanelWidget.onAttachedToWindow(ListPanelWidget.kt:128)
at android.view.View.dispatchAttachedToWindow(View.java:20109)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3430)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2054)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1747)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7792)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1041)
at android.view.Choreographer.doCallbacks(Choreographer.java:864)
at android.view.Choreographer.doFrame(Choreographer.java:798)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1026)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7400)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
2023-11-01 16:49:17.265 3834-3834 test.djisdk.ap com.test.djisdk.app I Using smaps_rollup for pss collection
2023-11-01 16:49:17.612 3834-3834 DJIV5/Class@3c68334 com.test.djisdk.app E (co_b:42) Stream closed
2023-11-01 16:49:17.620 3834-3834 DJIV5/Class@3c68334 com.test.djisdk.app E (co_c:40) build
2023-11-01 16:49:17.621 3834-3834 DJIV5/SDKConfig com.test.djisdk.app E (getPackageProductCategory:10) dji.v5.handheld.BuildConfig
2023-11-01 16:49:18.321 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[DJIExecutor:handlerThread,5,main]
2023-11-01 16:49:18.321 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[magnifier pixel copy result handler,5,main]
2023-11-01 16:49:18.321 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[AMapMessageHandler,5,main]
2023-11-01 16:49:18.321 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[AMapZindexSortThread,5,main]
2023-11-01 16:49:18.321 3834-3861 LeakCanary com.test.djisdk.app D Setting up flushing for Thread[ AMapGlRenderThread,5,main]
2023-11-01 16:49:20.639 3834-3834 Process com.test.djisdk.app I Sending signal. PID: 3834 SIG: 9
2023-11-01 16:49:20.659 1589-1754 InputDispatcher system_server E channel '31f124a com.test.djisdk.app/dji.v5.ux.sample.showcase.defaultlayout.DefaultLayoutActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2023-11-01 16:49:20.661 1589-1754 InputDispatcher system_server E channel '61f1a05 com.test.djisdk.app/dji.sampleV5.aircraft.DJIAircraftMainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
之前运行到遥控器上能够正常使用功能。 之前是随机出现一次。
但是这次是每次运行到遥控器都会崩溃,望指点解答,感谢!
-
感觉是编译问题
2023-11-01 16:49:17.258 3834-3948 DJIV5/RXUtil com.test.djisdk.app E (co_a:27) io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
dji.v5.ux.core.panel.systemstatus.SystemStatusSmartListModel.createWidget(SystemStatusSmartListModel.kt:114)
结合这两个日志看一下吧。
建议别改包名,申请key试一下。
-
首先感谢耐心的解答。 我把项目的主要配置和gradle 贴到下边,麻烦帮忙查看下。之前这套配置没有问题,demo能够正常运行在遥控器中的,但是最近出现必现崩溃。
gradle.properties 中:
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
project as 模块的 build.gradle: 中是
classpath 'com.android.tools.build:gradle:7.1.2'
module app-aircraft build.gradle 如下:
android {
compileSdkVersion Integer.parseInt(project.ANDROID_COMPILE_SDK_VERSION)//33
defaultConfig {
// applicationId "com.dji.sampleV5.aircraft"
applicationId "com.test.djisdk.app"
minSdkVersion Integer.parseInt(project.ANDROID_MIN_SDK_VERSION)//23
targetSdkVersion Integer.parseInt(project.ANDROID_TARGET_SDK_VERSION)//33
versionCode 1
versionName "1.0"
manifestPlaceholders["API_KEY"] = project.AIRCRAFT_API_KEY
ndk {
abiFilters 'arm64-v8a'
}
}AS版本如下:
Android Studio Giraffe | 2022.3.1 Patch 2
Build #AI-223.8836.35.2231.10811636, built on September 15, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 20
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.instant.shutdown=false
ide.balloon.shadow.size=0java版本是: 11.0.20 2023-07-18 LTS
然后我再次build 项目,编译是没有报错的,只是运行后崩溃。 麻烦大佬帮忙定位解惑。
-
1、首先再次感谢耐心解答.
2、然后我本地试了一下: 如果不改 applicationId, demo运行是无法点击 "默认演示页面"的按钮的。因此无法进入飞控页面。
3、我将 applicationId 改为我之前申请的id后,重新编译运行,然后能够正常看到toast提示连接成功的提醒。可以点击进入飞控页面。
4、看到之前所说的问题定位方向,我尝试注释掉此( ListPanelWidget.kt:128 行)代码,是可以正常进入并操作的。不会出现崩溃问题。但是代码逻辑不完整。同时也对比了 注释后运行的log,发现rxjava3的提醒同样会输出。截取如下:
(co_a:27) io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | io.reactivex.rxjava3.exceptions.MissingBackpressureException: Can't deliver value due to lack of requests那说明这个问题不是崩溃所在。
那么现在就剩您上边所说 自定义属性这块有问题,我该如何修改比规避呢?
Please sign in to leave a comment.
Comments
13 comments