切换工作空间后在 eclipse 中使用 DDMS 时出错

发布于 2024-11-30 10:51:38 字数 600 浏览 4 评论 0原文

可能的重复:
转储 HPROF 文件时 DDMS 未显示预期输出

我试图在 android 中使用 DDMS 来查看我的应用程序使用了多少内存,但我似乎无法让它显示任何可读的内容。我按转储 HPROF 文件,但得到的只是乱码:

这曾经可以工作,但自从我切换工作区后就停止了(旧工作区已损坏)在日食中。我尝试卸载并重新安装 ADT 插件,但发生了同样的事情。有什么想法吗?

谢谢

Possible Duplicate:
DDMS is not showing expected output when dumping HPROF file

I am trying to use the DDMS in android to see how much memory my app is using but I can't seem to get it to show anything readable. I press dump the HPROF file and all I get is gibberish:

This used to work, but stopped ever since I switched workspaces(old one was corrupt) in eclipse. I have tried uninstalling and reinstalling the ADT plugin, but the same thing happened. Any Ideas?

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

子栖 2024-12-07 10:51:38

好吧,读完这个 http://android-developers. blogspot.com/2011/03/memory-analysis-for-android.html 我意识到当我重新安装 eclipse 时我忘记重新安装 MAT。所以现在一切都正常

Ok so after reading this http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html I realized that when I re-installed eclipse I forgot to re-install MAT. So now everything works as it should

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文