“This verison of ADT requires Android SDK Tools in revision 17 or above.” I can't get this error to go away.

北慕城南 提交于 2019-12-13 05:49:08

问题


The full text is:

This verison of ADT requires Android SDK Tools in revision 17 or above.
Current revision is 15.
Please update your SDK Tools to the latest version

When I get this error, it prompts me to open up the SDK Manager.

Then I select the newest version, and try to install it, but then I receive the error message:

-= Warning! =-
A folder failed to be moved. On Windows, this typically means 
that a program is using that folder...

So, I close Eclipse, and click 'Yes' to try again, but I keep getting the same error message.

Any idea on what to do?


回答1:


I solved this problem on my mac by modifying the plugin.prop file:

for mac /Users/admin/Desktop/android-sdk-macosx/tools/lib/plugin.prop

for ubuntu ......./android-sdk-linux/tools/lib/plugin.prop Change the line from

plugin.version=17.0.0

to

plugin.version=16.0.1.v201112150204-238534

And reload eclipse.. and it no longer warns about anything.




回答2:


In order to run updates in the Android SDK on Windows, you need to run it as an Administrator. If you aren't an administrator, most upgrade operations will fail with permissions errors (they're not always reported as permissions errors, but that's what they are).

Right click on the SDK manager tool icon in your start menu, and select the "Run as Administrator" option.

You will then be able to run your upgrades.



来源:https://stackoverflow.com/questions/10183362/this-verison-of-adt-requires-android-sdk-tools-in-revision-17-or-above-i-can

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!