2

Android SDK Manager 未运行,我在控制台中收到以下消息。任何人都可以建议我,如何解决这个问题?

[2013-08-08 20:39:31 - SDK Manager] [SDK Manager] 'xcopy' is not recognized as an internal or external command,
[2013-08-08 20:39:31 - SDK Manager] [SDK Manager] operable program or batch file.
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager] Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:346)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at com.android.sdkmanager.Main.doAction(Main.java:320)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at com.android.sdkmanager.Main.run(Main.java:120)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at com.android.sdkmanager.Main.main(Main.java:103)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager] Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at java.security.AccessController.doPrivileged(Native Method)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[2013-08-08 20:39:32 - SDK Manager] [SDK Manager]   ... 4 more
4

2 回答 2

2

安装jdk后注销并重新登录。然后错误消失。source-arch linux makepkg 警告

于 2016-06-24T16:26:10.690 回答
0

尝试设置您的类路径。这是一个链接

于 2013-08-08T16:06:28.027 回答