Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Manager fails to update SDK build tools revision 18.1.1

Below is the command line result (the GUI one is very similar):

C:\Program Files (x86)\Android\android-sdk\tools>android update sdk -u -a -t 3

.... licensing stuff

Installing Archives:
  Preparing to install archives
  Downloading Android SDK Build-tools, revision 18.1.1
  URL not found: C:\Program Files (x86)\Android\android-sdk\temp\build-tools_r18.1.1-windows.zip (Access is denied)
  Done. Nothing was installed.

I didn't find anything on the web that could help. What could be the problem?

like image 549
dzilbers Avatar asked Oct 28 '13 17:10

dzilbers


People also ask

How do you fix installed build tools revision 31.0 0 is corrupted remove and install again using the SDK Manager?

SDK Manager → SDK Tools → check "Show package details", uncheck 31.0. 0, and click "Apply" → Uninstall 31.0. 0 → check 31.0. 0 and reinstall it.

How do I fix Android SDK is missing or corrupted?

Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete).

How do you update build tools?

If you want to change the Build Tools version in your project, that is specified in project's build. gradle file (in the 'app' module). Open the file and either add or update the Build Tools version you want to use by adding/updating the following property in the 'android' section: android { buildToolsVersion "27.0.


2 Answers

open the android Sdk folder right click on sdk manager run as administrator. select update/new install.

like image 194
Ravv Avatar answered Oct 02 '22 17:10

Ravv


Open command prompt as an administrator. Elevated permissions should resolve this issue.

Source

like image 30
doydoy Avatar answered Oct 02 '22 16:10

doydoy