Solved

android sdk manager exe does not work

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

751 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