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
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.
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
After unplugging USB connection from real device Emulator Control start work properly with Virtual devices
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
精彩评论