Solved

android sdk manager exe does not work

Posted on 2014-09-14
5
1,151 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sp_configure 'external scripts enabled', 1; 7 78
What is Ransomware? 16 86
Object Oriented Programming, C#, referencing, scoping. 13 69
Moving files from folder to folder 8 41
Let’s list some of the technologies that enable smooth teleworking. 
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

809 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