Search code examples
androideclipseandroid-emulatoradbddms

Eclipse, adb, and ddms not detecting Android Emulator


I wanted to try my hand at programming android devices, so I followed the directions from the android website, installed the sdk, the java sdk, and eclipse. My computer is Windows 7 64-Bit, but I have the 32-bit Java SDK and Eclipse installed since hearing that there are issues with the 64-bit versions.

I am running the most recent version of the Android sdk, 4.0 R15.

I believe followed all of the instructions for installation, but when I load up a sample (Lunar Lander in this case), it loads the emulator, but will not install the app to it. ADB does not show the emulator listed when I use "adb devices", the DDMS perspective in eclipse does not detect any device either. In the emulator I have activated the USB debug setting in the developer area.

I have tried restarting the adb server, and have reinstalled a few times.

I even copied what one guy did on a youtube tutorial for a hello world program, and it still would not load to the device.

Does anybody have any idea how to get the emulator and eclipse talking so I can actually run and debug programs?


Solution

  • Try to adb kill-server and then do adb command like adb devices which will start adb again.

    It helps in my case.