• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android sdk manager path not found - eclipse

Posiedon

Lurker
Jan 10, 2013
5
0
I use windows 8.I am trying to install the android sdk manager and integrate it into eclipse but when i click the sdk manager in eclipse a small pogress window shows but the sdk manager does not open up.The error i get in the console is :

[2013-01-10 16:09:17 - Dex Loader] SecurityException: Unable to find field for dex.jar
[2013-01-10 16:11:45 - SDK Manager] [SDK Manager] 'C:\Program' is not recognized as an internal or external command,
[2013-01-10 16:11:45 - SDK Manager] [SDK Manager] operable program or batch file.
[2013-01-10 16:11:45 - SDK Manager] [SDK Manager] Invalid path
[2013-01-10 16:11:45 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:45 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2013-01-10 16:11:46 - SDK Manager] [SDK Manager] The system cannot find the path specified.

My sdk manager path is "C:\Android\android-sdk" and the path i have kept in preferences for sdk location too is "C:\Android\android-sdk".Still it says that system cannot find the path specified.What do i do???

Thanks in advance.
 
Is "C:\Android\android-sdk;" in your PATH variable?

'C:\Program' is not recognized as an internal or external command,
This looks like someone didn't surround text that includes spaces with quotes ("). Without the quotes, something like "C:\Program Files\and\so\on" will be truncated to "C:\Program" by Windows. And that will cause problems. :)
 
  • Like
Reactions: alostpacket
Upvote 0
problem solved....i just moved the Java directory from C:\Program Files\Java to C:\Java and edited the JAVA_HOME variable accordingly.....ty everyone for your help.
So the "C:\Program" error message that I saw was something parsing the path to the Java binaries improperly?

Glad to hear it's fixed. For future reference, or if moving the Java directory breaks other things, remember that in Windows you can use double-quotes (") to surround a path and/or file name containing spaces to get it to parse properly. You need to put the quotes at the very ends of the entire string, BTW. "C:\Program Files\My Program" is good; C:\"Program Files"\"My Program" can cause problems.

You can also use DOS-compatible notation, renaming "Program Files" to something like "PROGRA~1", which also saves space. Note that in Windows 7 there are at least three directories that start with "PROGRA" (it's the first six characters, a tilde and a number that increments) so you might need to use "PROGRA~2" and so on to get the right directory.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones