DDMS Not Showing Threads From Device

匆匆过客 提交于 2019-12-04 22:42:57

Eclipse Preferences (OSX) > Android > DDMS > check Thread Updates Enabled by Default

Add Android Device view to get device pan(e) noted above

Set android:debuggable=true (two g's) in app tag as noted above

Run your app in emulator

Select device in device pane

Click the update threads button

Enjoy

Jason

Make sure you have android:debuggable="true" in you application tag in the manifest file

This is expected behavior. The issue is your droid is not in debug mode. Notice that in the Devices pane, beside the version number, debug is stated against the emulated device but not in the case of the droid.
From what I have found so far - on the droid, only an app can be run in debug mode; and only this will be listed under your device in DDMS.

I don't know how to run(/boot) the entire droid in debug mode, or if it is possible. So far as it appears, there is no way to boot an entire real device in 'debug' more.

Go to DDMS

Select device in device pan

Look at header of this pane. You can see update threads

You can see thread and updates from device

If you use Intellij Idea like me - run monitor from tools-> android, other way Idea built in ADB conflict with ddms.

On Android Studio : On the DDMS (Dalvik Debug Monitor Server) Screen: Show View -> and then select the profiling view you need.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!