SDK Manager won't start Windows 7 64-bit?

40,606

Solution 1

Ok, one on Windows 7 64bit machine the JAVA_HOME trick did work: i.e. set JAVA_HOME = your jdk bin directory. Also add the jdk bin directory to your path.

On my other Windows 7 64bit machine I had more problems. I tried downloading a different find_java.bat - it didn't help. I tried setting ANDROID_SWT=lib\x86_64 - that helped a bit.

Eventually I stuck with the JAVA_HOME and path changes, then skipped installing the android sdk, installed the ADT Plugin into eclipse. From there, after you reboot, you should see SDK Manager available in the eclipse Help menu. I ran it from there and it was all smooth sailing.

Solution 2

I was getting the cmd screen showing up briefly then disappearing, added pointer for Java to the path as it was addressed earlier in one of these posts, it did not solve the problem. Then I installed Java SDK, it did not solve the problem. Then I added the Java_HOME variable but it did not solve the problem.

I started navigating via the directory files where the sdk files are installed on the c: drive, it is called "sdk".

  • I found "andoroid" file under "tools" with the file type Windows Batch File.
  • Clicked on it and it opened the sdk manager.
Share:
40,606
thewhistler
Author by

thewhistler

Updated on April 12, 2020

Comments

  • thewhistler
    thewhistler about 4 years

    I know this problem has been addressed before several times, but rather than comment on an old question I decided to make a new one with (hopefully) updated information.

    As the title says, no matter what I do I cannot get the SDK Manager to run. I have tried installing both the 32- and 64-bit versions of jdk1.7.0 but no luck.

    Currently I have both the jdk (32-bit) and the sdk installed in the C:\ directory. As many have said I changed the environment variable below to reflect the locations. Namely:

    Variable name: PATH
    Variable value:

    C:\Android\android-sdk\tools;C:\Java\jdk1.7.0\; C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\

    (Obviously I only added the first two values)

    Somebody out there must have had the same difficulty setting this up who can help me out here. I had no problem installing everything on my 32-bit Win7 machine, but the 64-bit is my main computer and I really need to have the SDK with me if I am going to learn how to use it.

    (EDIT: Solved!)

    The problem I was having was that a command prompt window would pop up then the SDK Manager would start to load then instantly crash.

    Strangely, someone else with a very similar computer to mine just installed with no problems whatsoever. Weird.

    I finally added another environment variable:

    Variable name: JAVA_HOME

    Variable value: C:\Java\jdk1.7.0\

    and it worked!

    Thanks for all the help everyone. I hope this can help someone else who might have the same problem.