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.