Reputation: 41
I installed the Android Studio
When I click on the SDK Manager or AVD Manager button in toolbar it cannot opens any thing . And when I open AVD or SDK Manager from the folder C:\Program Files\Android\android-studio\sdk\tools\lib
it gives the error that " Failed to execute tools/android.bat . the system cannot find the file specified".
How can I solve this problem?
Upvotes: 2
Views: 14360
Reputation: 11
This is what i did to solve the problem;
NOTE: I only replaced the SDK Manager.exe only. Hope this helps someone.
Upvotes: 1
Reputation: 11
This isn't sufficient because SDK Manager fails to update files because android.bat has control of the folder that needs to be update. Basically it doesn't work correctly on Win8 because the files need to be in an Program Data folder instead of the Program Files folder.
Upvotes: 1
Reputation: 48592
SDK Manager not launching from Android Studio
because you have to start the AndroidStudio
as Run as administrator
privileges.
Failed to execute tools/android.bat
Run the android.bat
which is in tools directory of the sdk. Ex [C:\Program Files (x86)\Android\android-studio\sdk\tools]
It will start the SDK Manager.
Upvotes: 2