Whenever I run my app I get the Android Device Chooser dialog:
This is happening because I am using the Google APIs for 1.6 and trying to run the application on my Nexus one. Is there any way to make this automatically, or to not check the compatibility? Sometimes when I make a modification and quickly after I save and run the application, Eclipse will build the project and the Android Device Chooser dialog will show briefly and disappear and the app won't run. I have to click run again for it to work. Any workarounds?
Once you have installed ADT, you need to define an ADT launch configuration, in order for your project to execute itself as an Android executable.
(source: google.com)
Then, do not forget to To go in Eclipse->Preferences->Run/Debug->Launching
.
In the “Launch Operation
” subsection, select “Always launch the previously launched application
”:
(source: turbulent.ca)
Create a run configuration.
Run -> Run Configurations.
Select your project and specify your target and from then on run that configuration when you run that app.
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