当我使用ZXing条形码库时,为什么在Android设备上安装了另一个名为Leaks的应用程序? [英] Why there is another application called Leaks installed on the Android device when I use ZXing Bar code Library ?

查看:142
本文介绍了当我使用ZXing条形码库时,为什么在Android设备上安装了另一个名为Leaks的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用ZXing条码扫描器库的应用程序,但是当我在设备上运行该应用程序时,又安装了另一个名为泄漏"的应用程序.为什么在设备上安装此应用程序?当我打开它时,什么都没发生?

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 ?

推荐答案

这是一个称为泄漏金丝雀的应用程序.

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'

如果有这些行,请从build.gradle文件中删除.

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

您还应该在活动文件中包含以下行 LeakCanary.install(this); ,也应将其删除.

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

这篇关于当我使用ZXing条形码库时,为什么在Android设备上安装了另一个名为Leaks的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆