Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I set an attached device as default launch target?

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?

like image 993
olof Avatar asked Feb 11 '10 10:02

olof


1 Answers

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.

like image 145
whlk Avatar answered Sep 28 '22 04:09

whlk