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?
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.
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).
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.
open the android Sdk folder right click on sdk manager run as administrator. select update/new install.
Open command prompt as an administrator. Elevated permissions should resolve this issue.
Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With