zoukankan      html  css  js  c++  java
  • Android Exception 12(has leaked ServiceConnection)

    09-09 15:12:31.154: E/ActivityThread(18855): Activity com..xxx.xx.act.LoadingAct has leaked ServiceConnection com..xxx.xx.act.LoadingAct$2@42086478 that was originally bound here

    09-09 15:12:31.154: E/ActivityThread(18855): android.app.ServiceConnectionLeaked: Activity com.xxx.xx.act.LoadingAct has leaked ServiceConnection com..xxx.xx.act.LoadingAct$2@42086478 that was originally bound here

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:977)

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:871)

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.app.ContextImpl.bindService(ContextImpl.java:1237)

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.app.ContextImpl.bindService(ContextImpl.java:1229)

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.content.ContextWrapper.bindService(ContextWrapper.java:394)

    09-09 15:12:31.154: E/ActivityThread(18855):     at com.tongyan.changli.act.LoadingAct$12.onClick(LoadingAct.java:387)

    09-09 15:12:31.154: E/ActivityThread(18855):     at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.os.Handler.dispatchMessage(Handler.java:99)

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.os.Looper.loop(Looper.java:137)

    09-09 15:12:31.154: E/ActivityThread(18855):     at android.app.ActivityThread.main(ActivityThread.java:4815)

    09-09 15:12:31.154: E/ActivityThread(18855):     at java.lang.reflect.Method.invokeNative(Native Method)

    09-09 15:12:31.154: E/ActivityThread(18855):     at java.lang.reflect.Method.invoke(Method.java:511)

    09-09 15:12:31.154: E/ActivityThread(18855):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)

    09-09 15:12:31.154: E/ActivityThread(18855):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)

    09-09 15:12:31.154: E/ActivityThread(18855):     at dalvik.system.NativeStart.main(Native Method)

    错误原因:AndroidManifest.xml Service的文件包名出现与实际的不一致

  • 相关阅读:
    ansible设置串行的方法
    给k8s集群中的node节点加标签
    Prometheus断电后启动异常 Error on ingesting samples
    配置 containerd 镜像仓库完全攻略
    这款网络排查工具,堪称神器!
    k8s备份工具之velero
    CentOS 7安装megacli
    Atitit .h5文件上传 v3
    php切片处理视频大文件思路
    php切片处理视频大文件功能
  • 原文地址:https://www.cnblogs.com/royi123/p/3962718.html
Copyright © 2011-2022 走看看