错误消息:此 Android SDK 需要 Android Developer Toolkit 版本 22.6.1 或更高版本
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22513524/
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
Error Message : This Android SDK requires Android Developer Toolkit version 22.6.1 or above
提问by Jacob
Recently I've encountered following error :
最近我遇到了以下错误:
The strangest thing is that I've just updated some package from sdk via working eclipse. There was no information or warning that after this update current adt will crash. I've checked latest updates and can't find new adt even on google's page. Even new adb contain old adt.
最奇怪的是,我刚刚通过工作 eclipse 从 sdk 更新了一些包。没有信息或警告表明此更新后当前的广告会崩溃。我检查了最新的更新,即使在谷歌的页面上也找不到新的广告。即使是新的 adb 也包含旧的 adt。
From http://developer.android.com/tools/sdk/tools-notes.html:
从http://developer.android.com/tools/sdk/tools-notes.html:
Dependencies: Android SDK Platform-tools revision 18 or later. If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 22.6.1 and later. If you haven't already, update your ADT Plugin to 22.6.1.
依赖项:Android SDK 平台工具修订版 18 或更高版本。如果您在 Eclipse 中使用 ADT 进行开发,请注意此版本的 SDK Tools 是为与 ADT 22.6.1 及更高版本一起使用而设计的。如果您还没有,请将您的 ADT 插件更新到 22.6.1。
The only solution is to download new standalone eclipse and external plugin for it? Does the android studio face the same problems?
唯一的解决方案是为它下载新的独立 eclipse 和外部插件?android studio 是否也面临同样的问题?
Environment: linux x64.
环境:linux x64。
回答by Robi Kumar Tomar
Today me and one of my friends faced the same problem, so I have tried many things like restarting eclipse, checking updates, etc. but none was working for me.
今天我和我的一个朋友遇到了同样的问题,所以我尝试了很多事情,比如重新启动 eclipse,检查更新等,但没有一个对我有用。
Then I found a solution from Hereand it's working as a charm for me and also for my friend.
然后我从这里找到了一个解决方案,它对我和我的朋友来说都是一种魅力。
Follow the steps here:
请按照此处的步骤操作:
- Start Eclipse, then select Help > Install New Software.
- Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
Click OK.
- 启动 Eclipse,然后选择帮助 > 安装新软件。
- 单击右上角的添加。
在出现的添加存储库对话框中,为名称输入“ADT 插件”,为位置输入以下 URL:
单击确定。
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
如果您在获取插件时遇到问题,请尝试在位置 URL 中使用“http”,而不是“https”(出于安全原因,首选 https)。
- In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
- In the next window, you'll see a list of the tools to be downloaded. Click Next. Read and accept the license agreements, then click Finish.
- If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
- When the installation completes, restart Eclipse.
- 在“可用软件”对话框中,选中“开发人员工具”旁边的复选框,然后单击“下一步”。
- 在下一个窗口中,您将看到要下载的工具列表。点击下一步。阅读并接受许可协议,然后单击完成。
- 如果您收到安全警告,提示无法确定软件的真实性或有效性,请单击“确定”。
- 安装完成后,重新启动 Eclipse。
回答by sergej shafarenka
回答by sgarcia
The problem is that the default update site in Android ADT is
问题是 Android ADT 中的默认更新站点是
http://dl-ssl.google.com/android/eclipse/
http://dl-ssl.google.com/android/eclipse/
but this site don't update correctly
但是这个网站没有正确更新
And the solution is add a new Install site with protocol https
解决方案是使用协议 https 添加一个新的安装站点
https://dl-ssl.google.com/android/eclipse/
https://dl-ssl.google.com/android/eclipse/
Click in Help->Install New Software->Add
点击帮助->安装新软件->添加
And use this site to update ADT
并使用此站点更新 ADT
Issue : https://code.google.com/p/android/issues/detail?id=67325
问题:https: //code.google.com/p/android/issues/detail?id=67325
回答by Ajay S
To solve this problem, here I have covered steps, surely it will help you.
为了解决这个问题,我在这里介绍了步骤,肯定会对您有所帮助。
Please follow these steps:
请按照以下步骤操作:
Help | Install new software
Select the ADT update site (there are two, one with http:// and one with https:// If one doesn't work, try the other.
Select the developer tools section and press next.
You should see a dialog that says "this software is already installed, an update will be performed instead". Clicking ok will lead to 22.6.1 being installed.
帮助 | 安装新软件
选择 ADT 更新站点(有两个,一个是 http://,一个是 https:// 如果一个不起作用,请尝试另一个。
选择开发人员工具部分,然后按下一步。
您应该会看到一个对话框,提示“此软件已安装,将改为执行更新”。单击确定将导致安装 22.6.1。
Update 27/03/2014
27/03/2014 更新
They released 22.6.2 and fixed this issue so update your ADT to new version.
他们发布了 22.6.2 并修复了这个问题,因此将您的 ADT 更新到新版本。
You can see this thread : Cannot update from ADT 22.3.0. to 22.6.1
您可以看到此线程:无法从 ADT 22.3.0 更新。到 22.6.1
回答by Adnan Abdollah Zaki
You can go to Window->Android SDK Managerand check tha what version you have. In my case it shows I already have toolkit 22.6.1installed but still get the error. Whether you already have it or not, you can do the following to fix.
您可以转到Window->Android SDK Manager并检查您拥有的版本。在我的情况下,它表明我已经有工具包22.6.1安装,但仍然得到错误。无论您是否已经拥有它,您都可以执行以下操作进行修复。
- Go to Help->Install New Software... In the dialog shown below, click on 'Add' button on the top right side.
- Paste "https://dl-ssl.google.com/android/eclipse/"in Location. You can name it anything.
- Click Ok and follow the dialog by clicking Next.
- If prompted with a message sasying you already have it, just agree so that it gets updated (or installed if it wasn't there).
- 转到帮助-> 安装新软件... 在如下所示的对话框中,单击右上角的“添加”按钮。
- 在位置粘贴“ https://dl-ssl.google.com/android/eclipse/”。你可以给它起任何名字。
- 单击“确定”,然后单击“下一步”按照对话框进行操作。
- 如果提示您已经拥有它的消息,只需同意更新(或安装,如果它不存在)。
This should resolve the issue. source : http://codewriterstips.blogspot.nl
这应该可以解决问题。来源:http: //codewriterstips.blogspot.nl
if your android sdk is to old . you must download new android sdk in developer.android.com and , copy past some nececary folder on it .
如果您的 android sdk 太旧。您必须在 developer.android.com 中下载新的 android sdk,然后复制上面的一些需要的文件夹。