📅  最后修改于: 2022-03-11 14:52:10.694000             🧑  作者: Mango
// To use LeakCanary, add the leakcanary-android dependency
// to your app’s build.gradle file:
dependencies {
// debugImplementation because LeakCanary should only run in debug builds.
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
}