Android SDK 需要 android developer toolkit 17.0.0 或以上版本

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10074532/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 02:24:32  来源:igfitidea点击:

Android SDK requires android developer toolkit version 17.0.0 or above

androideclipsesdkadt

提问by sdfwer

I am having this weird issue when I was trying to merge my projects from eclipse to netbeans. Now when trying to rerun eclipse I get this error

当我试图将我的项目从 eclipse 合并到 netbeans 时,我遇到了这个奇怪的问题。现在尝试重新运行 eclipse 时出现此错误

"Android SDK requires android developer toolkit version 17.0.0 or above"

“Android SDK 需要 android developer toolkit 17.0.0 或更高版本”

What I have tried to do to resolve the issue was try and update the SDK and toolkit inside of it.

我试图解决该问题的方法是尝试更新其中的 SDK 和工具包。

So far everything is updated and now I am clueless.

到目前为止,一切都已更新,现在我一无所知。

Error message when starting up eclipse

启动eclipse时的错误信息

采纳答案by Ted Hopp

Run software updates in Eclipse (Help > Check for Updates) and update the ADT.

在 Eclipse 中运行软件更新(帮助 > 检查更新)并更新 ADT。

回答by L.Q

Go to your eclipse, click on Help -> install new software -> Add... -> type in 'ADT plugin' for name, type in 'https://dl-ssl.google.com/android/eclipse/' for URL, then a couple selections including ADT will show up in the window, click on the things you want to update then click okay, and you will be able to update your ADT.

转到您的 Eclipse,单击“帮助”->“安装新软件”->“添加...”-> 输入“ADT 插件”作为名称,输入“ https://dl-ssl.google.com/android/eclipse/”对于 URL,然后窗口中将显示包括 ADT 在内的几个选项,单击您要更新的内容,然后单击确定,您将能够更新您的 ADT。

回答by Naveen

  1. In Eclipse go to Help.
  2. Install New Software ---> Add inside Add Repository write the Name: ADT and Location: https://dl-ssl.google.com/android/eclipse/
  3. after loading you will get Developer Tools and NDK Plugins
  4. check both if you want or check Developer Tools.
  5. click Next
  6. finish
  1. 在 Eclipse 中,转到帮助。
  2. 安装新软件 ---> 在 Add Repository 中添加写入名称:ADT 和位置:https: //dl-ssl.google.com/android/eclipse/
  3. 加载后你会得到开发者工具和 NDK 插件
  4. 如果需要,请检查两者或检查开发人员工具。
  5. 点击下一步
  6. 结束

回答by azizbekian

Had the same problem. Tried to update through Help > Check for Updates, but was getting an alert message like this:

有同样的问题。尝试通过“帮助”>“检查更新”进行更新,但收到如下警告消息:

Contacting software sites has encountered a problem

联系软件站点遇到问题

And after that the update process failed. Googled and found the solution.

之后更新过程失败。谷歌搜索并找到了解决方案。

You just need to add one line in eclipse.ini, which is located in Eclipse folder. Add this line to the end of the file:

您只需要在位于 Eclipse 文件夹中的 eclipse.ini 中添加一行。将此行添加到文件末尾:

-Djava.net.preferIPv4Stack=true

And after that the update process went normally.

之后,更新过程正常进行。

The problem lies in the fact that the upload process goes through IPv6, but the internet service provider supports IPv4.

问题在于上传过程通过IPv6,但互联网服务提供商支持IPv4。

Source (russian)

来源(俄语)

回答by m0skit0

Just update your Android Developer Toolkit. It's automatically done through the included GUI updater/manager.

只需更新您的 Android Developer Toolkit。它是通过包含的 GUI 更新程序/管理器自动完成的。

回答by Aaqib

First update your Android SDK (it looks like you already did this) Then perform update Eclipse

首先更新您的Android SDK(看起来您已经这样做了)然后执行更新Eclipse

After the Eclipse is updated, make sure you have the latest Android plugins for Eclipse installed.

更新 Eclipse 后,请确保为 Eclipse 安装了最新的 Android 插件。

Last, in the Android SDK Manager plugin make sure your path to the updated Android SDK is correct.

最后,在 Android SDK Manager 插件中,确保更新的 Android SDK 的路径是正确的。

回答by vipin

After I add the repository I see this message: Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml. Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

添加存储库后,我看到此消息:无法在https://dl-ssl.google.com/android/eclipse/content.xml读取存储库。无法在https://dl-ssl.google.com/android/eclipse/content.xml读取存储库。sun.security.validator.ValidatorException:PKIX 路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求目标的有效认证路径