Pregunta

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?

¿Fue útil?

Solución

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

Otros consejos

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

Source

Thanx to doydoy. It works in two ways: 1) Running SDK manager as admin 2) Command line works when CMD window with admin priveleges is used (aka elevated permissions)

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top