Solved

android sdk manager exe does not work

Posted on 2014-09-14
5
1,118 Views
Last Modified: 2014-09-16
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
0
Comment
Question by:smcsmc1
  • 3
  • 2
5 Comments
 

Author Comment

by:smcsmc1
ID: 40321887
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
0
 
LVL 11

Assisted Solution

by:Radek Baranowski
Radek Baranowski earned 500 total points
ID: 40321950
Download whole ADT bundle from here:

http://developer.android.com/sdk/index.html (Download Eclipse ADT)

it will install as a separate Eclipse install, and to be honset it's better to keep it that way.

you will probably be instructed to install all necessary plugins and desired Android version compatibility packages, but from this install you shoould get youe IDE running in no time.

If you want to struggle and install Android SDK tools to your existing Eclipse, try to proceed along GET THE SDK FOR AN EXISTING IDE option on above linked page.

To develop Andriod apps you need all the tools, not only the SDK Manager. SDK Manager is just a part responsible for obtaining handle to tools installation.

List of all bundles you can find under VIEW ALL DOWNLOADS AND SIZES, pick appropriate pack for your system and DO MIND the bitness of your system (32/64bit)
0
 

Author Comment

by:smcsmc1
ID: 40323685
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....
0
 

Author Comment

by:smcsmc1
ID: 40323714
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
0
 
LVL 11

Accepted Solution

by:
Radek Baranowski earned 500 total points
ID: 40324090
Did you really install the whole bundle ?

This should pput all necessary stuff in the place they should be.

Try to install everything in a path not containing spaces or any spec chars.

Also, make sure you grab appropriate bitness (32/64 bit) as this has strong influence on Java and how the classes are seen.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is about my first experience with programming Arduino.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now