我是Android应用测试的新手。我需要找到应用程序的堆大小和堆使用。所以我这样做是通过使用DDMS,但有一个问题,它没有显示设备的运行过程。
Device .Nexus 6.0.1。你能告诉我,我在这里错过了什么?
任何帮助将不胜感激。
See circle in the screenshot where the device is appear but its process not displayed
答案 0 :(得分:2)
我刚解决了这个问题。
如果您只想显示应用的信息,请在相应的Manifest.xml中添加 android:debuggable =“true”。
否则,为设备生根并闪烁定制的boot.img,并将“ro.debuggable”设置为1。
为什么呢?查看: ro.debuggable
答案 1 :(得分:0)
有三种可能性:
尝试更换另一根USB线。
启用开发者选项
答案 2 :(得分:0)