问题
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