MainActivity使用Leakcanary泄漏 [英] MainActivity leaked using leakcanary
本文介绍了MainActivity使用Leakcanary泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Leak Canary跟踪内存泄漏,它说以下内容已泄漏:
I am using Leak Canary to track memory leak and it says the following were leaked:
static hk.o
references ht.a
leaks MainActivity instance
hk.o
和ht.a
是什么?我的MainActivity中没有它们.
what is the hk.o
and ht.a
? I dont have them in my MainActivity.
推荐答案
我认为这些是任何一种依赖项的保护类(使用随机名称重命名的类,以防止进行逆向工程).我在应用程序中使用了类似Google Sign In之类的东西时就已经看到了.
I think those are pro guarded (renamed classes with random names to prevent reverse engineering) of any one of the dependencies. I have seen this when stuff related like Google Sign In is used in the app.
Google Services类通常是Pro Guarded.
Google Services classes are generally Pro Guarded.
我希望这会有所帮助.
I hope this helps.
这篇关于MainActivity使用Leakcanary泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文