A memory leak detection library for Android. https://github.com/square/leakcanary

天问 e42e948a7f Update 'README.md' 3 months ago
.gitignore 71bdccb971 Initial commit 1 year ago
LICENSE 71bdccb971 Initial commit 1 year ago
README.md e42e948a7f Update 'README.md' 3 months ago

README.md

leakcanary

内存泄漏分析工具,帮助开发人员大大减少卡顿、冻结和崩溃。比较有意思是,引入这个依赖,安装包后会在桌面创建一个图标。

Usage

1、build.gradle 引入

dependencies {
  debugImplementation 'com.squareup.leakcanary:leakcanary-android:3.0-alpha-1'
}

https://square.github.io/leakcanary/getting_started/