I’m unable to start up my Android application in Eclipse, I’m getting the following error when I select “Run as Android Application”
I have my Android Virtual Device running, can’t see any issues with that (I’m able to navigate around the OS on the emulator etc)
When I try to “Run as Application” I get the following popup from eclipse
An internal error occurred during: "Launching myApp".
When selecting “View Error Log” this is as much info as I can get
java.lang.NullPointerException
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown Source)
at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch(Unknown Source)
at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Something wrong with the ADT plugin maybe?
I encountered the same problem. While having your project selected, go to the Top “Run” Menu. Open “Run Configurations” and select your target virtual device. Click apply, and then run the project.
It worked fine for me.
Good Luck!