1***@qq.com
1***@qq.com
  • 发布:2021-11-26 15:23
  • 更新:2024-11-20 18:33
  • 阅读:1410

【报Bug】android.app.ServiceConnectionLeaked

分类:HTML5+

产品分类: HTML5+

HBuilderX版本号: 3.2.16

手机系统: Android

手机系统版本号: Android 10

手机机型: 平板

打包方式: 离线

App下载地址或H5⽹址: https://mo.mojiaqingti.com/iPad/mojia.apk

操作步骤:

1、安装app到平板
2、点击home键,多次点击之后就报错了

预期结果:

点击home键不会报错,app可以正常运行

实际结果:
E/ActivityThread: Activity io.dcloud.PandoraEntryActivity has leaked ServiceConnection com.bun.miitmdid.provider.zte.MsaClient$1@18b6ec6 that was originally bound here  
    android.app.ServiceConnectionLeaked: Activity io.dcloud.PandoraEntryActivity has leaked ServiceConnection com.bun.miitmdid.provider.zte.MsaClient$1@18b6ec6 that was originally bound here  
        at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1825)  
        at android.app.LoadedApk.getServiceDispatcherCommon(LoadedApk.java:1697)  
        at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1676)  
        at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1721)  
        at android.app.ContextImpl.bindService(ContextImpl.java:1650)  
        at android.content.ContextWrapper.bindService(ContextWrapper.java:705)  
        at com.netease.nis.sdkwrapper.Utils.rL(Native Method)  
        at com.bun.miitmdid.provider.zte.MsaClient.BindService(Unknown Source:30)  
        at com.netease.nis.sdkwrapper.Utils.rL(Native Method)  
        at com.bun.miitmdid.provider.zte.ZteProvider.doStart(Unknown Source:27)  
        at com.bun.miitmdid.provider.BaseProvider$1.run(Unknown Source:2)  
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  
        at java.lang.Thread.run(Thread.java:919)

bug描述:

使用的是官方最新的HBuilder-Integrate-AS,根据官方配置了信息,可以正常打包,公司需求是要打包平板的LAUNCHER应用,打包后也可以正常运行,但是点HOME键后就报错了
错误如下:

E/ActivityThread: Activity io.dcloud.PandoraEntryActivity has leaked ServiceConnection com.bun.miitmdid.provider.zte.MsaClient$1@18b6ec6 that was originally bound here  
    android.app.ServiceConnectionLeaked: Activity io.dcloud.PandoraEntryActivity has leaked ServiceConnection com.bun.miitmdid.provider.zte.MsaClient$1@18b6ec6 that was originally bound here  
        at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1825)  
        at android.app.LoadedApk.getServiceDispatcherCommon(LoadedApk.java:1697)  
        at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1676)  
        at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1721)  
        at android.app.ContextImpl.bindService(ContextImpl.java:1650)  
        at android.content.ContextWrapper.bindService(ContextWrapper.java:705)  
        at com.netease.nis.sdkwrapper.Utils.rL(Native Method)  
        at com.bun.miitmdid.provider.zte.MsaClient.BindService(Unknown Source:30)  
        at com.netease.nis.sdkwrapper.Utils.rL(Native Method)  
        at com.bun.miitmdid.provider.zte.ZteProvider.doStart(Unknown Source:27)  
        at com.bun.miitmdid.provider.BaseProvider$1.run(Unknown Source:2)  
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  
        at java.lang.Thread.run(Thread.java:919)  

报错后一直停在启动图片splash.png页面

2021-11-26 15:23 负责人:无 分享
已邀请:
3***@qq.com

3***@qq.com

请问解决了吗

z***@lettered.cn

z***@lettered.cn

同问!我在android q 上按返回键也报这个错

9***@qq.com

9***@qq.com

我的是android系统启动,app自启动成功,手动退出后,再次打开会导致app白屏

  • Samoy

    请问老哥解决了吗?我也遇到了这个问题

    2022-11-30 08:49

  • 9***@qq.com

    回复 5***@qq.com: 我强制清除进程处理

    2023-04-19 11:00

夜中雨滴

夜中雨滴

官方不打算解决这个问题吗?

怀朔

怀朔

请问解决了吗

东东001

东东001 - 这个人很懒,什么都没说

快25年了,解决了吗...

要回复问题请先登录注册