Link to home
Start Free TrialLog in
Avatar of smcsmc1
smcsmc1

asked on

android sdk manager exe does not work

I installed the Eclipse IDE version 4.4.0.

I got errors such that when I looked on how to fix them I found I needed to download and install the "SDK manager". So I downloaded that and SDK Manager is now installed on my machine (Win 7) and is one of programs listed in start button list all programs.

When I dbl click on sdk manager, nothihg seems to happen, so I go directl;y to the command line

at C:\Users\Stephen\AppData\Local\Android\android-sdk

where I see the "SDK Manager.exe" file so I invoke it
and when I do so it appears to do nothing, as if it started to execute, encountered an error and ended.

No error message of any kind seen on the screen.


As I said, I have eclipse Java IDE installed already but it tells me

"The Android sdk requires the new build tools component to be installed

Please open SDK manager and install android sdk build-tools"

so I dont know how to get past this point since I cannot get sdk manager.exe to run.

Thanks
Avatar of smcsmc1
smcsmc1

ASKER

searching on web I found suggestion to do:


tools\android at command line, which produces:


C:\Users\Stephen\AppData\Local\Android\android-sdk>tools\android
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widge
ts/Display
        at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:402)
        at com.android.sdkmanager.Main.doAction(Main.java:390)
        at com.android.sdkmanager.Main.run(Main.java:150)
        at com.android.sdkmanager.Main.main(Main.java:116)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 4 more

C:\Users\Stephen\AppData\Local\Android\android-sdk>


I have the location of java in my path variable or at least I think I do
SOLUTION
Avatar of Radek Baranowski
Radek Baranowski
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smcsmc1

ASKER

I believe this is functionally what I have done previously.  (I have gone through the entire process several times)


I am hoping to be able totake 2 steps fwd. w/o taking any back due to all the time I put in thus far, not to mention I have done it more than once....



I will hopefully see this thread out where I can solve problem by going fwd only....
Avatar of smcsmc1

ASKER

I am thinking it is something along the lines of not having a path variable set correctly but am hoping someone will be able to give me specifics
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial