2

Hi guys I have the same problem of this question: 3.2 sdk platform install problem. "Done. Nothing was installed"

But all similar problems have been solved with -> right click / Run as Administrator. Well when I try to do this, Windows keep me a cmd window that said:

"Failed to execute tools\android.bat:, error 2 Impossible find that file"

and a popup window with the same message

How can I solve?

Community
  • 1
  • 1
Pierpaolo Ercoli
  • 880
  • 1
  • 9
  • 27

6 Answers6

7

You need to run the SDK Manager as a Administrator, the problem was is it is failing to create an folder due to lack of permissions.

dgrawns
  • 71
  • 1
  • 1
2

Ok guys I solved going into path of SDK and double click on android.bat file that SDK Manager didn't find.

Pierpaolo Ercoli
  • 880
  • 1
  • 9
  • 27
1

You can see File-Project Structure-SDK Location, check Android SDK Location, set it to directory of your SDK.

PageNotFound
  • 2,252
  • 2
  • 19
  • 34
  • Ok, all is set but it still the same. I also tried, like people said in the question I linked in my own question, to start the "SDK Manager" with Admin permissions but it doesn't work. It seems like I don't have permission but I'm an Admin on this PC.. – Pierpaolo Ercoli Sep 17 '14 at 08:15
  • Did you add SDK path into PATH? – PageNotFound Sep 17 '14 at 08:17
  • Solved with a simple double click on the android.bat file that the SDK Manager didn't find. I don't know why but it didn't find ... Thank you the same ! – Pierpaolo Ercoli Sep 17 '14 at 08:29
1

It's probably a network issue. When you open SDK manager , in the top left extreme you will find tools options,then choose options from a drop down. Screenshot below:

It gives you a proxy settings option.Enter the HTTP Proxy Server and port number. It worked for me!

1

I Solved It By setting permission to full control for the current user on the android-sdk folder

0

My solution (which is a clarification of what @amr-darweesh suggests):

  • Go to C:\Program Files\Android\Android Studio
  • Select Properties for the plugins folder.
  • Select the Security tab
  • Click Edit (about half way down the window)
  • Select Users in the top box
  • Check Full Control is enabled in the bottom box
  • Click Apply
  • Click OK

Then, go to where the SDK is stored. When you run an SDK update, it will tell you this in the same line. Do the same thing for that folder.

Neil Townsend
  • 5,784
  • 5
  • 32
  • 50