Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Windows Failed to execute Android.bat

Tags:

android

The title might sound slightly "nubbish" but i assure you it is not, i am completely aware of 90% of systax commands in cmd i am able to install and uninstall .apk's via adb however this particular nitch keeps setting me back! I have been working on Android SDK for a week or more now and consistently i am presented with the same issue.

http://img43.imageshack.us/img43/4492/wtfmanzm.jpg

Initially i get my first instance of my Android emulator to run by double clicking SDK Manager or AVD Manager where i am able to start my emulator. Everything loads and runs accordingly, then like clockwork the first instance is the only instance i am ever able to open! After this if i close this particular instance of my android emulator and attempt to re-open the above picture is what i am presented with every single time. My PATH certainly isn't the issue, i am able to start and kill server via cmd. However i have at present been unable to close my emulator and re-open it with success. Without creating a restore point just before opening it for the first time then having to restore to allow myself to open my emulator again. SURELY this is not how this is suppose to work i must be missing one little step that fixes this problem does anyone have a clue why this is happening and what i must do to fix this?

like image 825
Psych0-Smil3s Avatar asked Mar 01 '12 08:03

Psych0-Smil3s


2 Answers

Copy the "AVD Manager.exe" and "SDK Manager.exe" from

SDK_ROOT_FOLDER/tools/lib/

into

SDK_ROOT_FOLDER
like image 138
Adam Avatar answered Oct 16 '22 23:10

Adam


Go to your user home folder (like C:\Users\Psych0) and remove the ".android" folder. Now you should be able to launch the AVD Manager again from the Eclipse menu.

like image 36
Arlen Keshabyan Avatar answered Oct 16 '22 21:10

Arlen Keshabyan