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/