我使用的是 ubuntu 12.04 和 Eclipse Juno。我安装了 ADT 21.0.1 和所有 SDK 包。 但是每次启动Eclipse都会出现如下错误:
eclipse.buildId=M20120914-1800
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
Error
Unable to find Action Set: org.eclipse.mylyn.context.ui.actionSet
Unable to find Action Set: org.eclipse.mylyn.doc.actionSet
Unable to find Action Set: org.eclipse.mylyn.tasks.ui.navigation
Unable to find Action Set: org.eclipse.wb.core.ui.actionset
当我尝试运行我的 sdk 管理器时,它显示错误:
Failed to run the Android SDK Manager. Check the Android Console View for details.
有人可以帮忙吗?
最佳答案
更新到 ADT 21.0.1 后,在 Mac OS 下从 Eclipse 启动 SDK Manager 时,我遇到了类似的问题。我注意到
chmod a+x android
修复了问题,现在管理器可以从 Eclipse 中正确启动。您可能必须以 root 身份执行此操作。这可能是基于 Unix 的发行版更新后出现的错误,但由于我没有使用 Linux,所以我不能确定。
关于android - 运行 Android SDK 管理器失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14086652/