Dovberman
asked on
Android SDK Manager Failed to Execute
I installed Eclipse and Android Studio.
Now I am installing the SDK Tools. I have both the SDK Manager.exe and AVD Manager.exe on the desktop as shortcuts.
When I clicked on the shortcut I get the message:
Failed to execute tools\android.bat:, error 2
The system cannot find the file specified.
It is looking for android.bat.
How can I fix this?
Thanks
Now I am installing the SDK Tools. I have both the SDK Manager.exe and AVD Manager.exe on the desktop as shortcuts.
When I clicked on the shortcut I get the message:
Failed to execute tools\android.bat:, error 2
The system cannot find the file specified.
It is looking for android.bat.
How can I fix this?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Please explain how. Do you mean setting the environment variables from
Control Panel->System and Security->System-> Advanced system settings ?
Control Panel->System and Security->System-> Advanced system settings ?
Yes. Look in Windows Help for your version of Windows under 'Environment Variable'
ASKER
I know where the environment variable dialog is.
What are the settings I need?
Currently these are:
User variables for ComputerName
Variable Name: JAVA_HOME
Variable value: C:\Program Files\Android\android-sdk\ tools
System variables
Path: C:\Program Files\Android\android-sdk\ tools
Or are you referring to the SDK Manager Shortcut properties:
Target Location: android-sdk
Target: "C:\Program Files\Android\android-sdk\ SDK Manager.exe"
Start in: "C:\Program Files\Android\android-sdk"
Thanks,
What are the settings I need?
Currently these are:
User variables for ComputerName
Variable Name: JAVA_HOME
Variable value: C:\Program Files\Android\android-sdk\
System variables
Path: C:\Program Files\Android\android-sdk\
Or are you referring to the SDK Manager Shortcut properties:
Target Location: android-sdk
Target: "C:\Program Files\Android\android-sdk\
Start in: "C:\Program Files\Android\android-sdk"
Thanks,
System variablesThat can't be PATH. That would contain several other things
Path: C:\Program Files\Android\android-sdk\tools
ASKER
<<You need to ensure that the directory containing that batch file is included in your PATH>>
Can you tell me the steps or give me a link that describes how to do this?
Thanks,
EnvironVars.jpg
Can you tell me the steps or give me a link that describes how to do this?
Thanks,
EnvironVars.jpg
Actually it looks like you have it now. Make sure you open a new command window (cmd.exe) once it's set
ASKER
I run the app from Eclipse. What do I run in the command window?
OK, forget that last comment in that case
ASKER
I've requested that this question be deleted for the following reason:
None of the suggested solutions were workable.
None of the suggested solutions were workable.
None of the suggested solutions were workable.
Sorry - you need to explain that, along with stating the current problem
ASKER
I've requested that this question be deleted for the following reason:
suggested solutions did not work.
suggested solutions did not work.
Not an acceptable explanation i'm afraid
ASKER
I asked for details describing the steps to take to implement the suggestions. Details or specific references were not given.
On the contrary - you have posted a picture that actually shows you followed the advice i gave HERE
Please give your recommendation for closing the question stating why and with references to comments along with how this would benefit the PAQ by keeping it.
Sure. I'm not over-bothered about points, but the comment to which i just linked ( https://www.experts-exchange.com/questions/28377754/Android-SDK-Manager-Failed-to-Execute.html?anchorAnswerId=39897399#a39897399 )
could be accepted. It's a generic solution to setting the PATH to extra dev tools. In this case, it's Android, but it could be anything. Therefore it's worth keeping
I've requested that this question be deleted for the following reason:
As requested by Dovberman and no solution found
As requested by Dovberman and no solution found
a. i took valuable time answering the question, and as i mentioned there's evidence that advice was followed
b. i took valuable time following your ( eenookami ) instructions regarding closing recommendations, which for some reason, you're now ignoring. I shall not bother next time
b. i took valuable time following your ( eenookami ) instructions regarding closing recommendations, which for some reason, you're now ignoring. I shall not bother next time
Look at it from someone coming across it in the PAQ looking for a solution.That's what i was doing - hence my closing comments.
The problem is probably down to the OP not putting in the correct path (it's not fully visible in the image shown BUT that image proves my advice was at least attempted) but the solution is generic and useful
ASKER
I followed the advice that was given. The original issue was unsolved.
I've requested that this question be deleted for the following reason:
As indicated, the experts comments were helpful but have not solved the authors issue
As indicated, the experts comments were helpful but have not solved the authors issue
I followed the advice that was given. The original issue was unsolved.
So what PATH have you got? Please post the output of
echo %PATH%
at the command line
ASKER
CEHJ:
Your suggestion >>You need to ensure that the directory containing that batch file is included in your PATH<< in ambiguous. PATH has several meanings. I attempted to solicit something specific that I could try. No specific steps were offered.
You recent comment ,echo %Path%, applies to a UNIX or LINUX environment.
http://geekswithblogs.net/AskPaula/archive/2008/12/18/128035.aspx
You made many attempts which are appreciated, but did not resolve the issue.
Your suggestion >>You need to ensure that the directory containing that batch file is included in your PATH<< in ambiguous. PATH has several meanings. I attempted to solicit something specific that I could try. No specific steps were offered.
You recent comment ,echo %Path%, applies to a UNIX or LINUX environment.
http://geekswithblogs.net/AskPaula/archive/2008/12/18/128035.aspx
You made many attempts which are appreciated, but did not resolve the issue.
PATH has several meanings.No, not spelled like that it doesn't. It has one meaning
You recent comment ,echo %Path%, applies to a UNIX or LINUX environment.No, it applies to a Windows environment only - which of course is plain to see is your environment
As for the link you just posted, you appear not to have read the title of the article:
How do I view/see the PATH in a windows environment?
CEHJ,
There is a related question regarding the setup of android for development.https://www.experts-exchange.com/questions/28371575/Install-Android-SDK-Manager-for-Windows-8-0.html
Dovberman,
I have a feeling you've downloaded all the components separately? Or did you download the bundle (http://developer.android.com/sdk/installing/bundle.html)? I ask, because if you've downloaded the bundle then you just use the Eclipse plugin to install the SDK. It has everything to get your started.
If you've downloaded everything separately then you're going to have to do all these bits and pieces, configuring everything when essentially it's done for you in the bundle.
Rob
There is a related question regarding the setup of android for development.https://www.experts-exchange.com/questions/28371575/Install-Android-SDK-Manager-for-Windows-8-0.html
Dovberman,
I have a feeling you've downloaded all the components separately? Or did you download the bundle (http://developer.android.com/sdk/installing/bundle.html)? I ask, because if you've downloaded the bundle then you just use the Eclipse plugin to install the SDK. It has everything to get your started.
If you've downloaded everything separately then you're going to have to do all these bits and pieces, configuring everything when essentially it's done for you in the bundle.
Rob
The android site has very good steps in setting all this up. Take the time to read it thoroughly. http://developer.android.com/sdk/installing/bundle.html
ASKER
I have done all this.
And still nothing? Did you install the tools from within Eclipse because you've given every indication that you didn't
ASKER
Just give him the points. I spent over 20 hours on this issue.
I don't want the points - I'm more interested in getting you an answer. If you haven't got one and have given up or gone down a different path then request to delete the question.
I'm pursuing this as I've just recently done exactly the same thing and it's working for me.
I'm pursuing this as I've just recently done exactly the same thing and it's working for me.
ASKER
Did not work for me. My research shows that it has worked for a few people.
ASKER
Thank you
:)
ASKER
Control Panel\System and Security\System ?