Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Android ddms not showing emulator or connected devices?

This is a screenshot of my DDMS. As you can see there is nothing and I cant find any way to get the devices list or any other functional parts.

enter image description here

I try to reinstall android studio and new sdk but still its not solved. Is there any way to solve this problem?

Thanks

like image 702
Biswajit Avatar asked Dec 13 '14 07:12

Biswajit


2 Answers

I encountered this problem this afternoon, after half day of annoying work, I solved it at last.

The solution is, just delete *.cfg and monitor-workspace in $HOME/.android/.

Below is how I solved the problem.

There's little information about this problem. I guess it is a rare one.

I have tried several ways. First, reinstall the build tools, simply download and replace the tools directory. But it didn't work. And then I reinstalled the Android Studio, still not work either.

But during the procedure I have found that the ddms must have saved some cache in the computer. So I find the place $HOME/.android/ in this website.

After delete all *.cfg(3 or 4) and monitor-workspace, my ddms works well again. I guess delete all *.cfg is not necessary, just ddms.cfg. But I'm not sure.

like image 85
Kay Wu Avatar answered Sep 23 '22 10:09

Kay Wu


Go to DDMS perspective -> Devices -> View menu(on right corner) -> Reset adb

If still not working, run this commands in command prompt/terminal

adb kill-server

adb start-server

like image 21
Deepak Avatar answered Sep 22 '22 10:09

Deepak