Solved

android sdk manager exe does not work

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
When i run adoquery my application freezes 26 165
Bulk Reorder File Names 4 67
How to open a .vcf file 11 74
iSeries email authority 6 56
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
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…

776 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