Eclipse DDMS not showing anything but adb, ddms are working!

坚强是说给别人听的谎言 提交于 2019-12-23 18:34:06

问题


The eclipse DDMS perspective is not detecting any attached devices or even the emulator. I have tried using adb and ddms from the command line and both are working! What gives?


回答1:


If your device is not set in the Development section to Stay awake (checked), this might get to be a regular problem.
You should disable and then enable again the debug mode on your device.




回答2:


Somehow the Android SDK setting from the eclipse preferences was reset and hence Eclipse was not able to detect the path to DDMS. This can be easily rectified by setting the path to the Android SDK base folder by going to Window-> Preferences->Android->SDK Location.




回答3:


In my case logging level was not set in DDMS settings

Preferences -> Android -> DDMS and then selecting Info level worked for me.




回答4:


If all above dont work go to ddms right click select reset




回答5:


I too faced this issue, DDMS was not launching. At last, in Android Studio -> Terminal, entered command DDMS and press Enter. Then DDMS started working.



来源:https://stackoverflow.com/questions/5867531/eclipse-ddms-not-showing-anything-but-adb-ddms-are-working

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