New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在三星s8上,Android 7.0,level 24 ROM samsung/dreamltexx CPU架构 arm64-v8a 会造成崩溃 #29
Comments
安装leak canary之前先判断一下是否是主进程 |
你的意思是leak的安装不应该在主进程是吧 |
我现在用的是1.7.4的版本 我应该更新版本吗? |
1.7.4也可以的,但是readme没有说明让你在主进程安装,你判断下install的时候是否主进程 2.x的版本sample里有demo |
好的,谢谢。 |
java.lang.RuntimeException:Unable to create application com.saic.cmp.business.CMPApplication: java.lang.IllegalStateException: can not call install leak
2 android.app.ActivityThread.handleBindApplication(ActivityThread.java:5973)
3 ......
4 Caused by:
5 java.lang.IllegalStateException:can not call install leak
6 cn.hikyson.godeye.core.internal.modules.leakdetector.LeakDetector.install(LeakDetector.java:49)
7 cn.hikyson.godeye.core.internal.modules.leakdetector.LeakDetector.install(LeakDetector.java:24)
8 cn.hikyson.godeye.core.GodEye.install(GodEye.java:47)
9 com.saic.cmp.business.CMPApplication.onCreate(CMPApplication.java:150)
10 android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032)
11 android.app.ActivityThread.handleBindApplication(ActivityThread.java:5970)
12 android.app.ActivityThread.-wrap3(ActivityThread.java)
13 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1710)
14 android.os.Handler.dispatchMessage(Handler.java:102)
15 android.os.Looper.loop(Looper.java:154)
16 android.app.ActivityThread.main(ActivityThread.java:6776)
17 java.lang.reflect.Method.invoke(Native Method)
18 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
19 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
The text was updated successfully, but these errors were encountered: