Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

android sdk manager exe does not work

Posted on 2014-09-14
5
Medium Priority
?
1,281 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 12

Assisted Solution

by:Radek Baranowski
Radek Baranowski earned 2000 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 12

Accepted Solution

by:
Radek Baranowski earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

721 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