The demo for leakcanary: https://github.com/square/leakcanary
Switch branches/tags
Nothing to show
Clone or download
liaohuqiu Merge pull request #2 from android-gems/master
Add badge for android-gems.com
Latest commit 93541f5 Jun 6, 2015
Permalink
Failed to load latest commit information.
app add files May 9, 2015
gradle/wrapper add files May 9, 2015
.gitignore add files May 9, 2015
README.md Fix #2 Jun 6, 2015
app-debug.apk add apk May 9, 2015
build.gradle add files May 9, 2015
gradle.properties add files May 9, 2015
gradlew add files May 9, 2015
gradlew.bat add files May 9, 2015
settings.gradle add files May 9, 2015

README.md

Android Gems

LeakCanary 简单示例。通过开始菜单,进入到 TestActivity 之后,回退。

logcat 显示开始分析并显示分析过程。分析完成之后,打印出 leak trace 并在通知栏显示通知。

分析过程较长,大约10s左右。

点击这里下载DEMO: https://raw.githubusercontent.com/liaohuqiu/leakcanary-demo/master/app-debug.apk

相关链接

博客的翻译: http://www.liaohuqiu.net/cn/posts/leak-canary/

中文说明: http://www.liaohuqiu.net/cn/posts/leak-canary-read-me/