c***@gmail.com
c***@gmail.com
  • 发布:2024-06-06 13:36
  • 更新:2024-06-06 15:43
  • 阅读:189

正式包二次启动APP会闪退,崩溃日志有报错信息。

分类:uni-app

HBuilderX 4.15 之前都正常,啥也没改,重新打包就这样了。
自定义基座一样的问题,但日志中没看到明显的错误信息。
正式包崩溃日志如下,完整的在附件中:
Unable to start service com.gyf.cactus.service.LocalService@c688eba with Intent { cmp=uni.mtsw.cashier.app/com.gyf.cactus.service.LocalService (has extras) }: java.lang.SecurityException: Unable to start service Intent { cmp=uni.mtsw.cashier.app/com.gyf.cactus.service.RemoteService (has extras) }: Unable to launch app uni.mtsw.cashier.app/10269 for service Intent { cmp=uni.mtsw.cashier.app/com.gyf.cactus.service.RemoteService }: process is bad

复现路径:启动app,立即杀死进程,二次启动有可能崩溃闪退。

2024-06-06 13:36 负责人:无 分享
已邀请:
c***@gmail.com

c***@gmail.com (作者)

找到原因了,不是打包问题。是保活插件在小米澎湃OS中的兼容问题。

要回复问题请先登录注册