我遇到了麻烦从我的HTC的机堆信息 魔术运行Android 2.2.1。 我已经配置了独立的DDMS设置本地= true和使用 命令:
I'm having trouble getting the native heap information from my HTC Magic running Android 2.2.1. I've configured the standalone DDMS setting "native=true" and used the commands:
在亚行外壳setprop libc.debug.malloc 1 在亚行的shell停止 在亚行的shell启动然而,当我尝试检查,如果该属性设置是否正确由issueing命令:
However, when I try to check if the property is set correctly by issueing the command:
在亚行外壳LS我得到以下日志消息:
在/系统/ bin / sh的:缺少模块/system/lib/libc_malloc_debug_leak.so需要的malloc调试级别1有人可以帮助我得到本机堆分配?
Can someone help me with getting the native heap allocations?
谢谢
奥维丹娜
我用这对Xoom的:http://$c$c.google.com/p/honeycomb-sdk-united-base/source/browse/trunk/system/lib/?r=8
使用另存为下载原始文件,然后
Download the raw file using "save as"and then
adb remount
adb push libc_malloc_debug_leak.so /system/lib/libc_malloc_debug_leak.so
您已经有根所以在亚行重新装入并推向/系统/ lib目录应该为你工作。
You already have root so the adb remount and pushing to /system/lib should work for you.
您可以通过可能也被从源代码构建的Android构建库。但是,这是更快的我。
You can "probably" also build that library by building Android from source. But this was quicker for me.
上一篇:如何以编程方式检测在哪个国家的Android设备位于当前不使用GPS?哪个国家、方式、设备、Andr
下一篇:Android的:如何获得图像文件目录到view.setBackgroundDrawable()如何获得、图像文件、目录、Android