Create new Android Virtual Device时不能创建_移动开发_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > 移动开发 > Create new Android Virtual Device时不能创建

Create new Android Virtual Device时不能创建

 2014/3/27 12:02:07  sikoui  博客园  我要评论(1)
  • 摘要:在CreatenewAndroidVirtualDevice时不能创建。。。因为之前有重装过系统,ADT和java都没有更换,不知道是不是有哪里的环境(C盘中的配置)出错了。。。LOG在下面,有大虾帮忙看看的么?1eclipse.buildId=v22.0.1-6857052java.version=1.7.0_213java.vendor=OracleCorporation4BootLoaderconstants:OS=win32,ARCH=x86,WS=win32
  • 标签:android 创建

在Create new Android Virtual Device时不能创建。。。

因为之前有重装过系统,ADT和java都没有更换,不知道是不是有哪里的环境(C盘中的配置)出错了。。。

LOG在下面,有大虾帮忙看看的么?

class="code_img_closed" src="/Upload/Images/2014032712/0015B68B3C38AA5B.gif" alt="" />logs_code_hide('fdb250c6-e8c1-4c78-bd34-355d2ebd0e66',event)" src="/Upload/Images/2014032712/2B1B950FA3DF188F.gif" alt="" />
 1 eclipse.buildId=v22.0.1-685705
 2 java.version=1.7.0_21
 3 java.vendor=Oracle Corporation
 4 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
 5 Framework arguments:  -product com.android.ide.eclipse.adt.package.product
 6 Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.android.ide.eclipse.adt.package.product
 7 
 8 Error
 9 Thu Mar 27 10:38:14 CST 2014
10 Unhandled event loop exception
11 
12 java.lang.NoClassDefFoundError: com/android/sdklib/repository/descriptors/IdDisplay
13     at com.android.sdkuilib.internal.widgets.AvdCreationDialog.createAvd(AvdCreationDialog.java:1180)
14     at com.android.sdkuilib.internal.widgets.AvdCreationDialog.okPressed(AvdCreationDialog.java:972)
15     at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
16     at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
17     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
18     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
19     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
20     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
21     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
22     at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
23     at org.eclipse.jface.window.Window.open(Window.java:801)
24     at com.android.sdkuilib.internal.widgets.AvdSelector.onNew(AvdSelector.java:898)
25     at com.android.sdkuilib.internal.widgets.AvdSelector.access$100(AvdSelector.java:84)
26     at com.android.sdkuilib.internal.widgets.AvdSelector$2.widgetSelected(AvdSelector.java:272)
27     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
28     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
29     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
30     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
31     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
32     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
33     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
34     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
35     at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
36     at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
37     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
38     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
39     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
40     at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
41     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
42     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
43     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
44     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
45     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
46     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
47     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
48     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
49     at java.lang.reflect.Method.invoke(Method.java:601)
50     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
51     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
52     at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
53 Caused by: java.lang.ClassNotFoundException: com.android.sdklib.repository.descriptors.IdDisplay
54     at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
55     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
56     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
57     at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
58     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
59     ... 40 more
LOG

 额,在ADT中不能创建AVD,但是通过cmd命令却可以创建出AVD。。。

http://stackoverflow.com/questions/22250428/can-not-create-new-avd-in-eclipse

https://code.google.com/p/android/issues/detail?id=66661

 

额,不懂啊。。。嗯,要去吃饭了!!!

    网友 2014/8/15 15:56:15 发表

    重新安装Androied SDK

发表评论
用户名: 匿名