![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android性能调试工具
Henry_Alpha
主要研究虚拟社会学
展开
-
MAT的使用
MAT Memory Analysis Tool 用于检测应用内存占用状况的工具。 在Android Monitor Device界面中选择需要追踪的应用程序,一次点击 Update Heap - Cause GC - Dump HPROF file 生成并保持hpprof文件。 在AS中打开hpprof文件并更改视图模式为 Package Tree View 即可根据包名找到我们的应用程序并原创 2016-11-29 01:15:18 · 389 阅读 · 0 评论 -
LeackCanary的使用
1、添加依赖 1 dependencies { 2 debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5' 3 releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' 4 testCompile 'com.squareup原创 2016-11-29 01:37:15 · 2770 阅读 · 0 评论