Why there is another application called Leaks installed on the Android device when I use ZXing Bar code Library ?

匿名 (未验证) 提交于 2019-12-03 02:38:01

问题:

I have an application that uses ZXing Barcode Scanner library, but when I run the application on the device, there is another additional application installed called "Leaks". Why is this application installed on the device ? When I open it nothing happens ?

回答1:

It's an application called leak canary.

// For development purposes only // https://github.com/square/leakcanary debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1' 

Remove these lines from build.gradle file if you have them.

You should also have this line LeakCanary.install(this); in your activity file and you should remove it as well.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!