I have just installed (extracted) properly the ADT bundle for eclipse + android SDK and also set a new AVD which is currently working on my background and looks fine.
my problem is: once i create any app and click the 'Run' or 'Debug' button, nothing happens. I don't see any 'launching : (nn%) ..' message at the bottom and the AVD is not effected at all - nothing happens! I have no idea what is the problem but a while ago i installed this exactly same way and had seen this issue before. could anyone please advice me what to do?
right click you project->run as -> run configuration, check whether launce default activity is selected, and in target tab check "always prompt to pick device"
If the button works fine for the first time and doesn't work later, try this.
Open Devices view using Window > Show View > Devices
.
Then, in Devices, under your emulator, find your application package name. Select it and press the red "STOP" button.
After this, the application should run properly.
In the editor MainActivity.java file should be open/in focus.Then run your app. It should work fine. Problem occurs when some other xml file is in focus in the editor eg.styles.xml etc.
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