1. Check out our companion app, Forums for Android! Download from Google Play

problem with sdk installation

Discussion in 'Application Development' started by mrqs, Nov 24, 2009.

  1. mrqs

    mrqs Well-Known Member
    Thread Starter
    128

    running the sdk setup does absolutely nothing

    my path variable has this:
    using win 7 x64, installed java_ee_sdk-5_08-jdk-6u17-windows


    so where's my problem?
     

    Advertisement

    saravana likes this.
  2. verakot

    verakot Member
    5

    Nov 30, 2009
    6
    0
    5
    I got the same issue running "SDK Setup.exe" from \tools folder. This app just quits without any message or UI. When I run android.bat from the same folder, it gives me :

    SWT folder '' does not exist.
    Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
    rm.


    I use Windows XP SP3, Eclipse Galileo, JAVA SDK 1.7.
     
  3. mrqs

    mrqs Well-Known Member
    Thread Starter
    128

    i thought i already edited my post with this, but i did get it working... sort of

    the sdk setup nor android.bat still don't do anything, but the "android sdk and avd manager" started when launched from eclipse and i was able to add my targets there as well as create and build a project (hello world) in eclipse :)
     
  4. verakot

    verakot Member
    5

    Nov 30, 2009
    6
    0
    5
    I tried Eclipse however when you create a new Android project, it requires a target which is not setup dues not a problem running the android command:

    android create avd --target 2 --name my_avd

    How did you resolve it


    PS Here is what I get exactly when running the command:

    C:\Android\tools>android create avd --target 2 --name my_avd
    Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/a
    rchquery/Main (Unsupported major.minor version 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)
    SWT folder '' does not exist.
    Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
    rm.
     
  5. mrqs

    mrqs Well-Known Member
    Thread Starter
    128

    don't create a new project, go to window -> android sdk and avd manager

    from available packages, grab what you need; they'll appear in installed packages at some point

    in virtual devices create a new virtual device (emulator). be sure to use a sd card size large enough to make sense, but small enough that your computer has enough ram to run it (took me a while of head scratching after setting the sd card size @ 8 gigs with only 4 gigs of ram on my comp :) )

    now you should be able to create a project (might need to restart eclipse / comp)
     
  6. verakot

    verakot Member
    5

    Nov 30, 2009
    6
    0
    5
    Got is working this way, thanks!
     
  7. Davest

    Davest Member
    5

    Dec 30, 2009
    5
    0
    5
    I'm having the same problem described above. I'm not currently developing for Android, I'm just trying to find a way to install the USB drivers that are compatible with the Droid. I've downloaded and extracted the sdk, but the USB drivers aren't included with it as they were in previous versions. Everything I can find says that I need to run the android.bat file to start the update tool that will let me download the drivers, but when I do so I'm getting the error above. Any help would be appreciated!
     
  8. verakot

    verakot Member
    5

    Nov 30, 2009
    6
    0
    5
    If you use Eclipse, you do not need to run android.bat since Eclipse has internal mechanism to load updates and USB drivers. Try it and let us know if this worked for you.
     
  9. emilianm

    emilianm Active Member
    15

    Dec 16, 2009
    32
    0
    15
    Hello ,
    I have problem installing Android SDK 2.0 on Windows behind proxy requiring authentication because "Android SDK and AVM Manager" is not letting me to specify the user and the password for the company proxy server.

    The problem is similar with Joko Sastriawan: Workaround on installing Android SDK 2.0 behind proxy requiring authentication

    Can you help me ?I have to mention that I was not able to find a proxy server for windows to use the workaround proposed for ubuntu.
    Thanks!
     
  10. bolhoso

    bolhoso New Member
    5

    Jan 12, 2010
    1
    0
    5
    Guys (and emilianm),

    For those who are having trouble installing google Android SDK under Windows and networks which require authentication through a proxy server, here is a trick.

    Following Joko Sastriawan tips, we can also install squid under windows from the site Acme Consulting -Societ
     
  11. emilianm

    emilianm Active Member
    15

    Dec 16, 2009
    32
    0
    15
     
  12. saravana

    saravana New Member
    5

    Feb 19, 2010
    2
    0
    5
    Thanks mate
    its working
     
  13. murky024

    murky024 Member
    15

    Nov 9, 2009
    14
    0
    15
    When I try to install the ADK plug-in's to Eclipse I get the following error:
    Cannot complete the install because one or more required items could not be found.
    Software being installed: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404)
    Missing requirement: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404) requires 'org.eclipse.gef 0.0.0' but it could not be found

    Is this a problem on my computer or something broke on the download site?

    Edit:
    I might add I have tried installing from the ADT9.5 zip as well but I get the same error.
     
  14. murky024

    murky024 Member
    15

    Nov 9, 2009
    14
    0
    15
    I got it fixed. The issue ended up being Java Console problems.
     
  15. Gobain

    Gobain New Member
    5

    Aug 6, 2010
    1
    0
    5
    Java Developer
    Curitiba - Brazil
    I know this is kind of old, but I got here from google searching for problems installing the sdk under windows xp.
    My problem was when I tried to run 'SDK Setup.exe' nothing happend. Console window would popup and vanquish without a message.
    What I did to solve it was to manually create the folders 'add-ons' and 'platforms' under android-sdk root, and then 'SDK Setup.exe' worked just fine.
    Cheers!
     
  16. carlosk

    carlosk New Member
    5

    Aug 11, 2010
    1
    0
    5
  17. vikassharma121

    vikassharma121 New Member
    5

    Oct 25, 2010
    1
    0
    5
    Hi Gobian,

    I am still having the issue. I have 'add-ons' and 'platforms' already under android-sdk root. But my SDK Setup.exe keeps disappearing. I am having windows 7 . Do any one know whats the issue.

    Thanks,
    Vikas
     
  18. petyusz

    petyusz New Member
    5

    Jan 24, 2011
    1
    0
    5
    Tatabanya, Hungary
    Hi,

    What worked for me: check java version in the command line (java -version). Mine was showing 1.3 as an old Oracle 9.2 entry was also in the path (with its own jre folder). After checking the entire path variable, and deleting those old references leaving just the newly installed jdk1.6.0_23 there, the SDK Manager now works.

    P
     
  19. moprama

    moprama New Member
    5

    Mar 3, 2011
    1
    0
    5
    Hi
    many thanks to bolhoso for his post.
     
  20. sunil_511

    sunil_511 New Member
    5

    Apr 7, 2011
    2
    0
    5

    I Tried the Squid as you advised.. for me in the AVD manager it keeps on loading...I've also tried the "test connection" option and it says it is available but cannot use on dowloading the contents. Is there any way i could get the platform-tools offline ?
     
  21. juanv01

    juanv01 New Member
    5

    Aug 3, 2011
    1
    0
    5
    Monterrey
    muchas gracias bolhoso... trate de instalarlo y no lo lograba,
    no sabia como configurar el login

    debe de quedar asi,

    cache_peer PROXY parent PORT 0 no-query default login=MYUSER:MY PASS

    y despu
     

Share This Page

Loading...