gpt4 book ai didi

android - 在eclipse JUNO中创建AVD报错

转载 作者:行者123 更新时间:2023-11-30 03:02:04 25 4
gpt4 key购买 nike

我正在使用 Windows XP 和 eclipse JUNO 版本进行 android 编程,我有最新的 SDK 和 ADT 22.6.0 并设置为 eclipse 设置。但是当我从 AVD 管理器创建新的 AVD 并填写正确的细节然后按确定按钮然后没有任何反应并且错误记录它给出以下错误所以请给我建议。如果我连接设备然后 android 程序运行完美。

错误:

标题: Activity 详情消息:未处理的事件循环异常

异常堆栈跟踪:

java.lang.NoClassDefFoundError: com/android/sdklib/repository/descriptors/IdDisplay
at com.android.sdkuilib.internal.widgets.AvdCreationDialog.validatePage(AvdCreationDialog.java:1027)
at com.android.sdkuilib.internal.widgets.AvdCreationDialog.access$400(AvdCreationDialog.java:85)
at com.android.sdkuilib.internal.widgets.AvdCreationDialog$3.widgetSelected(AvdCreationDialog.java:241)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.android.sdkuilib.internal.widgets.AvdSelector.onNew(AvdSelector.java:898)
at com.android.sdkuilib.internal.widgets.AvdSelector.access$100(AvdSelector.java:84)
at com.android.sdkuilib.internal.widgets.AvdSelector$2.widgetSelected(AvdSelector.java:272)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

最佳答案

这是 ADT 错误。因此,您必须使用命令行创建 AVD 启动 AVD 管理器。

查看我对类似问题的回答Cannot create emulater in AVD .

关于android - 在eclipse JUNO中创建AVD报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22378686/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com