Android sdk manager path not found - eclipse

Discussion in 'Computers & IT' started by Posiedon, Jan 10, 2013.

  1. Posiedon

    Posiedon Member
    5

    Jan 10, 2013
    5
    0
    5
    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.
     

    Advertisement
  2. Speed Daemon

    Speed Daemon Well-Known Member
    213

    Jul 12, 2012
    2,033
    557
    213
    Is "C:\Android\android-sdk;" in your PATH variable?

    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. :)
     
    alostpacket likes this.
  3. Posiedon

    Posiedon Member
    5

    Jan 10, 2013
    5
    0
    5
    ty for your reply....i added the 'C:\Android\android-sdk;' to my path variable but i am still getting the exact same error....plz help..
     
  4. palmtree5

    palmtree5 Sunny Vacation Supporter!
    Moderator
    533

    May 2, 2012
    4,426
    2,954
    533
    Male
    Student
    USA
    Did you try to download the ADT bundle? Go here and download that. That gives you everything you should need (including Eclipse and the plugin)
     
  5. Posiedon

    Posiedon Member
    5

    Jan 10, 2013
    5
    0
    5
    ok i'll try that too..will reply soon.
     
  6. Posiedon

    Posiedon Member
    5

    Jan 10, 2013
    5
    0
    5
    I tried the adt bundle but that didnt work too.
     
  7. Posiedon

    Posiedon Member
    5

    Jan 10, 2013
    5
    0
    5
    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.
     
  8. Speed Daemon

    Speed Daemon Well-Known Member
    213

    Jul 12, 2012
    2,033
    557
    213
    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.
     

Share This Page

Loading...