In Eclipse I am developing an application using Google APIs (maps) on a Nexus One.
When I launch the application for debugging on the device i get:
"Automatic Target Mode: Unable to detect device compatibility. Please select a target device."
and the "Android Device Chooser" pops up.
I can select the Nexus One and everything is ok. It annoys me, however, that i need to select the device every time i want to test something.
Setting a build target name to any standard android version (not using Google apis) automatically launches my app without showing the Android Device Chooser. But since i need the maps, that is not an option for me.
Is there a way to force an application using Google apis, to be launched on the attached device without showing the Android Device Chooser?
Go to your project properties. Select Run/Debug Settings
, click the Edit
button of your run configuration, select the Target
tab in the upcoming dialog, switch the selectboxes to "Automatic" and check the checkbox by your device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With