Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to execute tools\android.bat: solution

Tags:

android

When I try to open up the SDK Manager in eclipse it says opening shortly, but never opens. I've tried to open the exe file but it displays an error message saying:

Failed to execute tools\android:bat the system cannot find the file specified

My path environment variable leads it to the tools folder.

This is the path:

C:\Users\Shan\Documents\Computer Science - YEAR 2\Android App Development\adt-bundle-windows-x86-20130917\sdk\tools
like image 422
user1156596 Avatar asked Sep 25 '13 21:09

user1156596


2 Answers

In my case the Tools directory just disappear.

..\sdk\tools

To solve it:

1) Just go to SDK zip -> adt-bundle-windows-x86_64-20131030.zip

2) Unzip the Tools Directory only.

3) copy it under ../sdk/

like image 185
Gilco Avatar answered Nov 20 '22 06:11

Gilco


I had a similar problem today. Press the Windows button and Search for android.bat(in the search programs and files text field)

Then copy the file to your android SDK folder (C:\Users\Shan\Documents\Computer Science - YEAR 2\Android App Development\adt-bundle-windows-x86-20130917\sdk\tools\).

After that don't run SDK manager but run the android.bat file.

Hope this helps

-Zaniar

like image 15
HyperParameter Avatar answered Nov 20 '22 08:11

HyperParameter