unicorn_up
unicorn_up
  • 发布:2024-04-22 17:24
  • 更新:2024-12-05 10:22
  • 阅读:309

【报Bug】RK3568 Android 11下App启动闪退: Cannot parse iv:ciphertext:mac

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows 10

HBuilderX类型: 正式

HBuilderX版本号: 3.6.14

手机系统: Android

手机系统版本号: Android 11

手机厂商: rockchip

手机机型: Android 11

页面类型: vue

vue版本: vue2

打包方式: 离线

项目创建方式: HBuilderX

操作步骤:

在RK3568上长时间运行

预期结果:

APP正常运行

实际结果:

闪退,崩溃

bug描述:

这个问题, 并不是所有rockchip的开发板子都会遇到, 目前只在部分场景下必定会重现问题.

当问题出现时, 点击APP, 直接闪退, 无法启动.

报错如下:

04-22 15:49:52.053   446  1097 E TaskPersister: File error accessing recents directory (directory doesn't exist?).  
04-22 15:49:52.800  3473  3473 W System.err: java.lang.IllegalArgumentException: Cannot parse iv:ciphertext:mac  
04-22 15:49:52.800  3473  3473 W System.err:    at io.dcloud.e.f.a$a.<init>(Unknown Source:16)  
04-22 15:49:52.800  3473  3473 W System.err:    at io.dcloud.e.f.b.b(Unknown Source:27)  
04-22 15:49:52.800  3473  3473 W System.err:    at io.dcloud.e.f.b.a(Unknown Source:28)  
04-22 15:49:52.801  3473  3473 W System.err:    at io.dcloud.common.adapter.util.SP.getsBundleData(Unknown Source:3)  
04-22 15:49:52.801  3473  3473 W System.err:    at io.dcloud.feature.gg.AdSplashUtil.getAL(Unknown Source:1)  
04-22 15:49:52.801  3473  3473 W System.err:    at io.dcloud.feature.gg.dcloud.ADHandler.pull(Unknown Source:51)  
04-22 15:49:52.801  3473  3473 W System.err:    at io.dcloud.feature.gg.dcloud.AdFeatureImpl.doForFeature(Unknown Source:169)  
04-22 15:49:52.801  3473  3473 W System.err:    at io.dcloud.feature.gg.AdFeatureImplMgr.doForFeature(Unknown Source:5)  
04-22 15:49:52.801  3473  3473 W System.err:    at io.dcloud.a.a(Unknown Source:17)  
04-22 15:49:52.801  3473  3473 W System.err:    at io.dcloud.b$a.run(Unknown Source:5)  
04-22 15:49:52.801  3473  3473 W System.err:    at android.os.Handler.handleCallback(Handler.java:938)  
04-22 15:49:52.801  3473  3473 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:99)  
04-22 15:49:52.801  3473  3473 W System.err:    at android.os.Looper.loop(Looper.java:223)  
04-22 15:49:52.801  3473  3473 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:7664)  
04-22 15:49:52.801  3473  3473 W System.err:    at java.lang.reflect.Method.invoke(Native Method)  
04-22 15:49:52.801  3473  3473 W System.err:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)  
04-22 15:49:52.801  3473  3473 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)  
04-22 15:49:52.802  3473  3473 E UncaughtExceptionHandler: java.lang.IllegalArgumentException: Cannot parse iv:ciphertext:mac  
04-22 15:49:52.802  3473  3473 I Process : Sending signal. PID: 3473 SIG: 9  
04-22 15:49:52.803  3520  3521 E JSE     : original owner has die  
04-22 15:49:52.863   446   823 I WindowManager: WIN DEATH: Window{39b31b1 u0 com.tapp.runapp/io.dcloud.PandoraEntry}  
04-22 15:49:52.863   446   823 W InputDispatcher: Attempted to unregister already unregistered input channel '39b31b1 com.tapp.runapp/io.dcloud.PandoraEntry (server)'  
04-22 15:49:52.863   446  3340 I ActivityManager: Process com.tapp.runapp (pid 3473) has died: fg  TOP  
04-22 15:49:52.866   265   265 I Zygote  : Process 3473 exited due to signal 9 (Killed)  
04-22 15:49:52.869   446   824 I WindowManager: WIN DEATH: Window{8ffeb88 u0 com.tapp.runapp/io.dcloud.PandoraEntryActivity}  
04-22 15:49:52.869   446   824 W InputDispatcher: Attempted to unregister already unregistered input channel '8ffeb88 com.tapp.runapp/io.dcloud.PandoraEntryActivity (server)'  
04-22 15:49:52.874  3565  3565 I cr_ChildProcessService: Destroying ChildProcessService pid=3565  
04-22 15:49:52.874   446  3340 W ActivityTaskManager: Force removing ActivityRecord{d805e1f u0 com.tapp.runapp/io.dcloud.PandoraEntryActivity t331}: app died, no saved state  
04-22 15:49:52.876  3565  3565 I ocessService0:: System.exit called, status: 0

根据报错信息 Cannot parse iv:ciphertext:mac去检索, 发现这个问题已经不止一次被反馈了, 但是dcloud一直没有跟进和解决.

按时间汇总一下:

https://ask.dcloud.net.cn/question/131031 2021-09
https://ask.dcloud.net.cn/question/160154 2022-12
https://ask.dcloud.net.cn/question/179037 2023-09
https://ask.dcloud.net.cn/question/181666 2023-11
https://ask.dcloud.net.cn/question/186777 2024-02

这些问题的共同点, 都是 rockchip 的设备, 已知型号为: RK3288, RK3566, RK3568, RK3568_s 等

手动能恢复正常的方式为:

清除缓存, 或者卸载重新安装后, 恢复正常. 但是过一段时间, 问题会反复出现.

2024-04-22 17:24 负责人:无 分享
已邀请:
s***@163.com

s***@163.com

我也遇到了,哪位大佬有解决方案吗

店小二丶

店小二丶 - 江湖小二

我也遇到了,闪退后只有重启。没办法 有大佬知道是什么问题么

1***@qq.com

1***@qq.com

本人已经完美解决,有偿,可联系我QQ:1245867855

要回复问题请先登录注册