Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
旧版本 1.0 过去可以正常工作。但是在更新到 1.1 后,它提供了一个保存 hprof 文件的选项。如何在 Eclipse 中打开该文件?
Eclipse 版本是 Helios 3.6.2
要让 DDMS 即时转换它,请在 Preferences Android -> DDMS -> HPROF Action: Open in Eclipse 中设置。
hprof-conv.exe c:/android.hprof c:/mat.hprof
将生成的文件复制到项目的bin目录下
刷新项目。双击 mat.hprof 打开