gpt4 book ai didi

android - 为什么android sdk安装失败?

转载 作者:太空狗 更新时间:2023-10-29 16:24:29 24 4
gpt4 key购买 nike

我正在使用这些说明设置我的 android 开发环境: http://developer.android.com/sdk/installing.html

当我进入第 4 步并输入“android”时,出现以下错误:

/Users/user1/programming/android\ development/android-sdk-linux_x86/tools/android ; exit;
user1-Macbook-Pro:~ user1$ /Users/user1/programming/android\ development/android-sdk-linux_x86/tools/android ; exit;
Starting Android SDK and AVD Manager
No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at com.android.sdkmanager.Main.showMainWindow(Main.java:297)
at com.android.sdkmanager.Main.doAction(Main.java:281)
at com.android.sdkmanager.Main.run(Main.java:99)
at com.android.sdkmanager.Main.main(Main.java:88)
logout

[Process completed]

这就像 android sdk 不知道 ecplise 库。我已经下载并安装了eclipse。任何想法为什么会失败?

最佳答案

你下载错了sdk。确保下载 Mac OS X (intel) SDK。

关于android - 为什么android sdk安装失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5626888/

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