DJI LDM注册错误:
Completed-
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: javax.crypto.IllegalBlockSizeException: last block incomplete in decryption
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:1221)
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at javax.crypto.Cipher.doFinal(Cipher.java:2055)
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.midware.encryption.util.AES256Encryption.decrypt(Unknown Source:31)
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.fdd(Unknown Source:7)
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.gfd(Unknown Source:8)
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.gfd(Unknown Source:2)
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.fdd(Unknown Source:2)
2022-07-04 14:08:43.403 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeLogicAdapter.fdd(Unknown Source:4)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeAdapterManager.nhf(Unknown Source:9)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at nhf.hgf.dgh.dgh.fdd.fdd(Unknown Source:11)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at nhf.hgf.dgh.gfd.fdd(Unknown Source:28)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source:24)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source:12)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.registerApp(Unknown Source:37)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.registerAppForLDM(Unknown Source:44)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.redovation.uav.dji.api.DjiApi.registerAppForOffline(DjiApi.java:2181)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.uav.dji.quantum.ui.activity.MainFlyHandActivity.initDJI(MainFlyHandActivity.java:494)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.uav.dji.quantum.ui.activity.MainFlyHandActivity.initView(MainFlyHandActivity.java:242)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.redovation.uav.module_base.base.BaseActivity.onCreate(BaseActivity.java:39)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.uav.dji.quantum.ui.activity.MainFlyHandActivity.onCreate(MainFlyHandActivity.java:1144)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.Activity.performCreate(Activity.java:8214)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.Activity.performCreate(Activity.java:8202)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4033)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4247)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2613)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.os.Handler.dispatchMessage(Handler.java:110)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.os.Looper.loop(Looper.java:219)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at android.app.ActivityThread.main(ActivityThread.java:8668)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: javax.crypto.IllegalBlockSizeException: last block incomplete in decryption
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:1221)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at javax.crypto.Cipher.doFinal(Cipher.java:2055)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.midware.encryption.util.AES256Encryption.decrypt(Unknown Source:31)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.fdd(Unknown Source:7)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.gfd(Unknown Source:8)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.gfd(Unknown Source:8)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeCacheDeviceLogic.fdd(Unknown Source:2)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeLogicAdapter.fdd(Unknown Source:4)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.upgrade.internal.csdk.upgradeadapter.UpgradeAdapterManager.nhf(Unknown Source:9)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at nhf.hgf.dgh.dgh.fdd.fdd(Unknown Source:11)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at nhf.hgf.dgh.gfd.fdd(Unknown Source:28)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source:24)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source:12)
2022-07-04 14:08:43.404 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.registerApp(Unknown Source:37)
2022-07-04 14:08:43.405 11339-11339/com.uav.dji.quantum.offline W/System.err: at dji.sdk.sdkmanager.DJISDKManager.registerAppForLDM(Unknown Source:44)
2022-07-04 14:08:43.405 11339-11339/com.uav.dji.quantum.offline W/System.err: at com.redovation.uav.dji.api.DjiApi.registerAppForOffline(DjiApi.java:2181) -
LDM模式的介绍:https://sdk-forum.dji.net/hc/zh-cn/articles/4404611910425 普通LDM,首次注册仍然需要网络,注册后打开LDM以后下次登陆就不需要网络了。 LDM PLUS,是申请到一个离线文件,放到app下第一次注册也不需要网络。 registerAppForLDM这个接口别用了,你直接按照我给你的链接里描述的方式用。
Please sign in to leave a comment.
Comments
9 comments