当前位置:编程学习 > wap >>

android helloword报错 Unhandled event loop exception

虚拟机上没反应 .log文件显示如下信息:

!ENTRY org.eclipse.ui 4 0 2013-11-06 13:19:28.860
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName(Ljava/lang/String;)Ljava/lang/String;
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.getLaunchConfig(AndroidLaunchController.java:208)
at com.android.ide.eclipse.adt.internal.launch.LaunchShortcut.launch(LaunchShortcut.java:96)
at com.android.ide.eclipse.adt.internal.launch.LaunchShortcut.launch(LaunchShortcut.java:70)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:434)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:73)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:121)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)





////////////////// 求指导啊


android NoSuchMethodError --------------------编程问答-------------------- 楼主你的Eclipse配置android SDK有问题吧?
http://blog.csdn.net/a570056568/article/details/6018880
这哥们跟你一样的问题 看看呢 --------------------编程问答--------------------
引用 1 楼 ncepu307 的回复:
楼主你的Eclipse配置android SDK有问题吧?
http://blog.csdn.net/a570056568/article/details/6018880
这哥们跟你一样的问题 看看呢

看一下配置的路径对不 --------------------编程问答--------------------
引用 1 楼 ncepu307 的回复:
楼主你的Eclipse配置android SDK有问题吧?
http://blog.csdn.net/a570056568/article/details/6018880
这哥们跟你一样的问题 看看呢


不知道啊 貌似android项目没有自动编译 bin/res 文件夹为空。。。 --------------------编程问答--------------------
引用 3 楼 changlong3158 的回复:
Quote: 引用 1 楼 ncepu307 的回复:

楼主你的Eclipse配置android SDK有问题吧?
http://blog.csdn.net/a570056568/article/details/6018880
这哥们跟你一样的问题 看看呢


不知道啊 貌似android项目没有自动编译 bin/res 文件夹为空。。。

那就从新配置SDK路径
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,