Anton
Anton

Reputation: 4403

Android: Emulator control is disabled in the DDMS perspective

I'm now facing a problem with Eclipse on Ubuntu. My device is connected, list by "adb devices" command and I can see the list of processes running in the Devices view. But all controls in the Emulator Control are disabled.

Does anyone know what may be the reason for this?

Thanks

Upvotes: 14

Views: 24232

Answers (4)

Essam Mahdy
Essam Mahdy

Reputation: 139

i found this with try and error .. it worked .. As the new emulator got a side bar with icons .. the last icon down this list (the hamburger icon) click it .. then u will have the location latitude and longitude available to send to device

Upvotes: 3

bsautner
bsautner

Reputation: 4822

You can't send locations to actual devices, only emulators. You can mock your devices location however, in your code.

http://developer.android.com/training/location/location-testing.html

Upvotes: 2

user1575120
user1575120

Reputation: 339

After unplugging USB connection from real device Emulator Control start work properly with Virtual devices

Upvotes: 2

CommonsWare
CommonsWare

Reputation: 1007554

First, make sure that the device is selected in the Devices view. You cannot use Emulator Control unless the device or emulator is selected.

If that does not help, close Eclipse, and try running DDMS outside of Eclipse -- there's a ddms shell script in the tools/ directory of wherever you installed the Android SDK.

If that does not help, run adb kill-server, followed by adb start-server, where adb should be in your platform-tools/ directory of your SDK installation. Then, try DDMS again.

If that does not help, reboot, then try DDMS again.

Upvotes: 25

Related Questions