Android SDK installation errors

Install Android SDK. Got Eclipse Juno (latest version). Some minor installation issues were fixed, but they managed to get past them. But now I have one that I just can't work with. I downloaded the Eclipse ADT plugin. When I restart Eclipse, it gives me this error: "This version of ADT requires Android SDK Tools in version 20.0.0 or higher. The current version is 16.0.0. Update your SDK tools to the latest version." The error dialog gives me a button to open the SDK manager that I accept. He opens the SDK manager and finds the new packages that I need. When I go to install them, I get ANOTHER error. The magazine says:

"Failed to rename directory C:\Program Files (x86)\Android\android-sdk\platform-tools to C:\Program Files (x86)\Android\android-sdk\temp\PlatformToolPackage.old01." 

and a dialog box appears informing you that he cannot rename the folder and that try to make it work. It never works, and I have to undo everything on the way back to Eclipse (which is still puzzled that I don't have the latest stuff).

I tried rebooting and so, but that does not help. I tried running the SDK Manager as an administrator, but when I do this, he thinks that he has all the latest things (weird) and does not want to download anything.

Just FYI, I have Rev. 16 Android SDK Tools (he wants 20) and has Rev. 10 from the Android platform Android SDK (he wants 12).

Thanks for any help!

+4
source share
1 answer

Did you run eclipse as an administrator? If not, try it, sometimes eclipse just installs updates if you are an administrator. If I update the SDK, I first start the SDK-Manager without eclipse to install the updates. After that I do the same in eclipse. Always do this as an administrator.

0
source

Source: https://habr.com/ru/post/1433060/


All Articles