为什么在我使用ZXing条形码库时,Android设备上安装了另一个名为Leaks的应用程序?

为什么在我使用ZXing条形码库时,Android设备上安装了另一个名为Leaks的应用程序?,android,zxing,Android,Zxing,我有一个使用ZXing条形码扫描仪库的应用程序,但当我在设备上运行该应用程序时,会安装另一个名为“Leaks”的附加应用程序。为什么在设备上安装此应用程序?当我打开它时,什么都没有发生?这是一个名为泄漏金丝雀的应用程序 // For development purposes only // https://github.com/square/leakcanary debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1' rel

我有一个使用ZXing条形码扫描仪库的应用程序,但当我在设备上运行该应用程序时,会安装另一个名为“Leaks”的附加应用程序。为什么在设备上安装此应用程序?当我打开它时,什么都没有发生?

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

// 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文件中删除它们


您还应该有这一行
LeakCanary.install(this),您也应该将其删除。

这是一个名为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文件中删除它们


您还应该有这一行
LeakCanary.install(this)在活动文件中,您也应该删除它。

在活动文件中删除该行

LeakCanary.install(this);

在活动文件中删除该行

LeakCanary.install(this);

感谢您的建议。以下是应用程序的链接以了解更多详细信息:感谢您的建议。以下是应用程序的链接以了解更多详细信息: