无法推出Android应用程序在Eclipse中;期间发生内部错误:"启动对myApp"应用程序、错误、发生、Android

由网友(南語)分享简介:我无法启动,我在Eclipse的Andr​​oid应用程序,我得到当我选择运行方式Android应用程序I'm unable to start up my Android application in Eclipse, I'm getting the following error when I select "Ru...

我无法启动,我在Eclipse的Andr​​oid应用程序,我得到当我选择运行方式Android应用程序

I'm unable to start up my Android application in Eclipse, I'm getting the following error when I select "Run as Android Application"

我有我的Andr​​oid虚拟设备运行,看不出有任何问题(我能导航OS周围模拟器等)

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)

蹊跷的ADT插件可能?

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.

祝您好运!

阅读全文

相关推荐

最新文章