Running XP sp3 when i click SDK Setup.exe command line promt comes up and goes away fast and nothing else happens is there a fix for this ?
-
Run it from an open command window and see what comes up. – Shog9 Feb 07 '10 at 16:55
-
same thing from cmd line it just flashes something really quick and goes aways any other suggestions thank you ppl for you help – sue Feb 07 '10 at 16:58
-
If nothing prints to the command window, then check the event logs. – Shog9 Feb 07 '10 at 16:59
-
What is the download link you downloaded from? It seems that the *setup.exe* you are selecting, might be used elsewhere in another executable and isn't the setup executable you need to run. – Anthony Forloney Feb 07 '10 at 16:59
-
got the latest android sdk kit from the android site: http://developer.android.com/sdk/index.html and the .zip file : android-sdk_r04-windows.zip – sue Feb 07 '10 at 17:02
-
ok cleared the event viewer and clicked on the SDK Setup.exe nothing came up under the event viewer still blank from when i cleared it – sue Feb 07 '10 at 17:08
-
"same thing from cmd line it just flashes something really quick and goes away" sure doesn't sound like you are really running it from the command prompt. – Mark B Feb 07 '10 at 19:29
-
a walk threw of what im getting from the start start button, run, cmd, C:\Documents and Settings\computernamexxx> cd C:\android-sdk-windows, C:\android-sdk-windows> start SDK Setup.exe then just a quick flash and nothing – sue Feb 07 '10 at 19:40
-
Could it be a permissions thing? Is your anti virus software not allowing you run to executables or something? – Anthony Forloney Feb 07 '10 at 19:44
-
nope running as admin no anti virus software – sue Feb 07 '10 at 20:09
-
not sure if this has anything to do with it but also when i went into the cmd promt going to cd C:\android-sdk-windows\tools> android.bat and i get the following: 'java' is not recognized as an internal or external command, operable program or batch file startinf Android SDK Updater "xcopy' is not recognized as an internal or external command, operable program or batcg file. SWT fold '' does not exist Please set ANDROID_SWT to point to the folder containing swt.jar for your platform. – sue Feb 07 '10 at 20:15
-
That is extremely odd, not to question integrity but when you run *SDK Setup.exe*, when you hit **alt+tab** there are no open windows showing a setup dialog? – Anthony Forloney Feb 07 '10 at 20:15
-
Do you have java runtime environment and/or the java sdk installed? – Anthony Forloney Feb 07 '10 at 20:16
-
correct nothing under alt+tab – sue Feb 07 '10 at 20:17
-
yes have java went to the site (http://www.java.com/en/download/chrome.jsp?locale=en&host=www.java.com:80) and got the latest Download Java 6 Update 18 – sue Feb 07 '10 at 20:20
-
Do you have JRE? I just performed the same steps you did, located my *tools* folder and ran `android.bat` just fine. – Anthony Forloney Feb 07 '10 at 20:22
-
alright try again 2mrow going out to watch the game thank you though all for your help ill be back again 2mrow – sue Feb 07 '10 at 20:23
-
ya i have the java icon running in the bottom right conner – sue Feb 07 '10 at 20:26
-
This is probably more suited to SuperUser due to it being to do with software issues. – Jamie Keeling Feb 07 '10 at 20:31
4 Answers
try making empty folders named 'platforms' and 'add-ons' without quotations in your android-sdk-windows folder and then running sdk setup.exe worked for me just now

- 41
- 3
I just download the .zip file, opened the file and double-clicked the SDK Setup.exe and it loaded fine. A setup window popped up in the background, that does not happen to you at all?
EDIT:
Take a look into Installing the Android SDK and look over the System Requirements and make sure you have both JDK 5 or JDK 6 (which you do) and JRE 6

- 1
- 1

- 90,123
- 14
- 117
- 115
-
nope i do not get the setup window just goes blanks after a quick flash of something – sue Feb 07 '10 at 17:13
-
i erased it re-download the android-sdk_r04-windows.zip unzipped it clicked the SDK Setup.exe still same thing nothing but the quick flash and nothing – sue Feb 07 '10 at 17:34
-
also tryied putting in c:\windows\temp and tryed to run from that also still nothing that way as well just the quick flash and nothing – sue Feb 07 '10 at 17:41
-
Did a good ole restart work? Something doesn't seem right, it should load fine. – Anthony Forloney Feb 07 '10 at 19:28
-
Run it from the System command prompt not the User command prompt, not sure if thats really what its called, but there are 2 separate command prompts. You want the one that has higher privelages.
UPDATE
Is your computer able to connect to https? That was an issue that was holding me back from installing android at first, however it is appropriate for the command prompt to disappear immediately.

- 23,987
- 16
- 94
- 151
-
i also tried that right click on the SDK Setup.exe icon run as admin. still same thing just a quick flash of something then blank again – sue Feb 07 '10 at 18:11
Ok here is my own fix and recommending it to others save SDK kit unzip to C:\ then 1.) download the latest java currently java 6.0.18 from --> java web site save and run (I used c:\ for file locations to save and run from) 2.) download the latest "Eclipse IDE for Java Developers" from --> eclipse org downloads site 3.) go to my computer c:\ --> C:\Program Files\Java copy the jre6 folder or jre...what ever version you may have paste the folder into the folder name C:\eclipse rename the folder from jre6 to just "jre" this will allow eclipse to run, in eclipse click on the help tab click install new software add location http://dl-ssl.google.com/android/eclipse/ ok do restart go back into eclipse go to window tab preferences, expand android, browse c:\android-sdk-windows ok, window tab Android SDK and AVD manager, Available packages, select all, update, in same area go to virtual devices, new, name: Hi target: android 2.1, create AVD, Select and start, now you will have android 2.1 emulator working

- 11
- 1
- 4
-
just searching around and found this how to instructions http://www.anddev.org/viewtopic.php?p=34021 up to date on how to and pic by pic instruction also if you click at the bottom of the page on how to install android 2.1 and eclipse – sue Feb 09 '10 at 02:45
-
http://androidcodemonkey.blogspot.com/2010/01/how-to-setup-android-development_23.html -- pic by pic instructions kudos to the person who made these (although they did not show the moving of the jre6 folder and renaming to jre for the java and eclipse program to run correctly – sue Feb 09 '10 at 22:15