cant install SDK


Last Updated:

  1. system32

    system32 New Member This Topic's Starter

    Joined:
    Nov 17, 2010
    Messages:
    4
    Likes Received:
    0
    I downloaded the Android SDK and when I run SDK Manager a command prompt windows shows up then goes away really fast. Why is this? I am running windows 7 x64.

    Thanks:)
     

    Advertisement
  2. paulscode

    paulscode Well-Known Member

    Joined:
    Mar 18, 2010
    Messages:
    86
    Likes Received:
    14
    If you run the program from the command prompt rather than through the Windows Explorer, does it give you any more useful messages?
     
  3. system32

    system32 New Member This Topic's Starter

    Joined:
    Nov 17, 2010
    Messages:
    4
    Likes Received:
    0
    This is what I get:

     
  4. mohitjaitly

    mohitjaitly Active Member

    Joined:
    Oct 18, 2010
    Messages:
    34
    Likes Received:
    0
    add path of 'tools' folder under android sdk to environment PATH variable
     
  5. system32

    system32 New Member This Topic's Starter

    Joined:
    Nov 17, 2010
    Messages:
    4
    Likes Received:
    0
    I have tried this but still nothing:(
     
  6. vinay1497

    vinay1497 Member

    Joined:
    Jun 8, 2010
    Messages:
    6
    Likes Received:
    2
    Hello,

    You can directly Execute the android (sdk setup.exe) to simply run the pre-defined applications.

    If u want to develop your own applications and run on the emulator you may take the help of eclipse, where they have given a excellent environment setup.

    So better setup the environment for Android Applications using Eclipse with Android SDK.

    Here is my blog where i have written a procedure to setup environment for Android
    Just In Time: Android Environment setup with Eclispe3.5 Galileo

    Let me know if any issues


    Thanks
    Vinay Guntaka
     
  7. kingram

    kingram New Member

    Joined:
    Feb 9, 2011
    Messages:
    2
    Likes Received:
    0
    I am having the error as stated above.
    I have Eclipse but I can't use anything until the SDK is updated, which I can't do.
    No matter how many times and different ways I set the ANDROID_SWT path, I get the path error.
     
  8. kingram

    kingram New Member

    Joined:
    Feb 9, 2011
    Messages:
    2
    Likes Received:
    0
    During initial installation, the SDK Manager will not open.
    After attempting a command line start with android.bat update sdk, I found a path error.

    My Android SDK is in C:\Applications\Software Development\android-sdk\

    I have the following path set:
    ANDROID_SWT=C:\Applications\Software Development\android-sdk\tools\lib\x86_64

    I also tried
    ANDROID_SWT=C:\Applications\Software Development\android-sdk\tools\

    But I still get this error:

    Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/archquery/Main (Unsupported major.minor versio
    n 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    [INFO] Starting Android SDK and AVD Manager
    Invalid path
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    ERROR: SWT folder 'C:\Applications\Software Development\android-sdk\tools\lib\x86_64' does not exist.
    Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
     
  9. pavan.pvj

    pavan.pvj New Member

    Joined:
    May 2, 2011
    Messages:
    1
    Likes Received:
    0
    Hi kingram,

    This is the issue with you JDK although the error message seems to be something else. Its very deceptive.

    Ensure you have min of JDK 5.0 and put this JAVA_HOME/bin in the PATH in front eg:

    set PATH = %JDK_HOME%\bin;%PATH%

    and then you can get SDK Manager up and running.

    Regards
    Pavan
     
  10. ram3881

    ram3881 New Member

    Joined:
    Jun 6, 2011
    Messages:
    2
    Likes Received:
    0
    Can you explain what you are trying to say in detail! I'm also getting the same error!
     
  11. Jawer

    Jawer New Member

    Joined:
    Jan 2, 2012
    Messages:
    1
    Likes Received:
    0
    Just remove any references to old java version in your PATH environment, or set first for new version to the begining.
    For ex. if you have Oracle 9i installed, you can have reference to JDK 1.3 for oracle installer.
     

Share This Page

Loading...