我最近安装ADT
并AVD Manager
通过 eclipse 插件更新。安装后我重新启动了 eclipse-Juno。但是,当我尝试启动“AVD 管理器”来创建虚拟设备时,工作区选项卡中会引发以下异常。任何人都可以建议解决方法
java.lang.NullPointerException at com.android.sdklib.internal.avd.AvdInfo.getDeviceName(AvdInfo.java:158) at com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.fillDevices(DeviceManagerPage.java:497) at com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.fillTable(DeviceManagerPage.java:357) 在 com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.createContents(DeviceManagerPage.java:259) 在 com.android。 sdkuilib.internal.repository.ui.DeviceManagerPage.(DeviceManagerPage.java:130) 在 com.android.sdkuilib.internal.repository.ui.AvdManagerWindowImpl1.createDeviceTab(AvdManagerWindowImpl1.java:210) 在 com.android.sdkuilib.internal.repository .ui.AvdManagerWindowImpl1.createContents(AvdManagerWindowImpl1.java:193) 在 com.android.sdkuilib.internal.repository.ui。AvdManagerWindowImpl1.open(AvdManagerWindowImpl1.java:133) 在 com.android.sdkuilib.repository.AvdManagerWindow.open(AvdManagerWindow.java:94) 在 com.android.ide.eclipse.adt.internal.actions.AvdManagerAction.run(AvdManagerAction. java:62) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action .ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) 在 org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) 在 org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411 ) 在 org.eclipse.swt.widgets.Widget 的 org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)。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:1029) 在 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 在 org.eclipse.e4。 ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) 在 org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) 在 org.eclipse.ui.internal。 Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543 ) 在 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) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 在 org .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native方法)在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:601) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) 在 org.eclipse.equinox.launcher.Main.basicRun (Main.java:584) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1438)