How to install and setup Android SDK Development Environment? That’s the question that I ask right now after being using Android phone for 2 years. My Android HTC HD2 and Samsung Galaxy S II do not require me to have Android SDK development environment on my PC. I can do all the thing that I want with other 3rd party tools. However, Kindle Fire does not. And it forces me to install and setup Android SDK development environment in order to do the required tasks. So here is the guide to install & setup Android SDK development environment on Microsoft Windows. By the way, you can also follow guide at Google (link) to install it other platforms like Mac OS X and Linux.
Prerequisites
- JDK (Java Development Kit)
First of all, you need to have JDK (Java Development Kit) installed on Windows. Download JDK (Java Development Kit) here. Note – install Windows x86 version even you are on Windows 64 bits.
Step by Step Guide
- Download Android SDK Tools here. (exe version is recommended)
- Run the downloaded installer.
- Follow the on screen instructions to install.
- Android SDK Manager will be launched at the end.
- Make sure that you have all the packages like screenshot below installed. (Android SDK Tools, Android SDK Platform-tools, Android API and Google USB Driver package)
- Note – do select Accept during Google USB Driver package installation.
- That’s all.
Lastly, not a must but recommended to do so ~ add Android SDK tools and platform-tools to your PATH environment variable. It will provide easy access to the tools.
- C:\Program Files (x86)\Android\android-sdk\platform-tools;
- C:\Program Files (x86)\Android\android-sdk\tools;
On Windows, right-click on My Computer. Then select Properties. At Advanced tab, click on Environment Variables button. Then double-click on Path (under System Variables). Add above 2 full path directories to the path. That’s all. Note – the directory paths are taken from Windows 64 bits. There are different on 32 bits Windows.
Got this working too, thanks again. I downloaded and installed both AP14 and AP15 btw, to be on the safe side.
thanks again . its a huge help!
when i try to open SDK MAN it just close…why the fxx is this happin’ ?i tryed everything :S
Sorry, no idea. Please consult Google Support on SDK issue.
Yes I have the same on two PC. First time SDK is open when finish install bat second time now. All is isntall fine. Did you resolve this problem please?
What problem?
Hi Jayce, I am your silent reader so far, and your blog is veryvery helpful
Now about Android SDK manager, none indicates Android 2.3.6. So, which one I should choose? My s2 i9100 originally was android 2.3.3 DXKI2 now KIESed 2.3.6 DXKL3 and further cfrooted DXKL3. Should I choose Android 3.0 (API11 )?
Why do yo need to use Android SDK?
Jayce, thanks for very fast response. I consider to install, experiment ubuntu on my sgs2, which may need java SDK (PC-side) and android SDK ? fyi I tried a bit running util ‘called’ ‘install linux’ which available on the ‘Market’. Wonder also if it is possible to dual boot?
Thanks again
I think you can use Android 2.3.3 (API10). No idea about dual boot…
Thanks for advice.
Hi I keep trying to download the files using the SDK manager but I keep getting the Android SDK Manager Log saying: Downloading Sources for Android SDK, API 15, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r01.zip (Access is denied)
any ideas?
Do you have admin right?
Try right clicking on SDK when you go to open it and choose “Run as Administrator”. I had the same problem and this difference made it work for me.
Thank you for this lol Same problem happened for me. glad I read all the comments before getting frustrated over something small
In my attempt to add Android SDK tools and platform-tools to my PATH environment variable I deleted the original variable value. What was it? Do I need to fix this?
Each system has different path values. Not sure what are yours.
i have A 32 bit Windows. do you what i have to type in PATH ? or a link that can help?
Try to Google for guide. I got it from Microsoft website.
Just a heads up. New API is out(4.0.3) I think it breaks kindle root. Will let you know after I get 4.0 api installed.
I don’t understand… how am I supposed to add both of those variables to Path? How do I have both of them?
Please Google for Microsoft guide if still don’t understand.
the problem is my SDK manager doesn’t show as the picture above but only the Tool and Extars without anything to download
Remove and reinstall Android SDK Tools see.
I have removed and reinstall many times but still the same, I was tried in another computer but .. still the same
Please consult Google Support in this case.
Resolved, there is the HTTP Proxy Server
Fill in the proxy server and port will resolve the problem :”)
Opps. I deleted the original variable value when I edited the system variables. And I can’t remember what it said. is there any way to get that line that needs to go back in. I currently have just the two that you gave, in the value. Thanks.
Hi John, you can try to consult Microsoft Support to get the default values back.
For those that would like to know how to add multiple variables with the name “Path” just simply edit the existing “Path” variable and add the two Android paths required for this task. Don’t forget to seperate them with a semi-colin. I am running Win7 btw and this worked for me.
This info doesn’t have to be so arcane, who has time to fart around with tech support, manuals, guides, Magic 8-Balls, etc….
Nick Burns the Computer guy on Saturday Night Live is who you remind me of with your answer on here Jayce. Not everyone is a computer geek and if you post information to help and someone is not a geek, have a little patience in your response instead of “call someone else if you dont understand”..
Have installed SDK deveopment kit (now version 9) but Android SDK Manager does not show and I can’t locate it – am new to this so would very much appreciate ANY help as I cannot install my kindle fire.
Many Thanks
Jenny
What SDK deveopment kit (now version 9)? I don’t get it.
launch bat script sdk\tools\android
Have to agree with some of the previous comments – contact Microsoft- WHAT A COP OUT !
I have a 32bit machine so the Path is completely different and although i know i have entered the correct path nothing shows in the cmd section as it’s not recognized?
Also a warning that it’s very easy to delete the original path setting would have been handy as i also deleted the previous path as i went to type the new ones.
Still can’t get ADB to go online and have wasted another 2 hours following this useless guide and installing god knows what onto my system
If you deleted your path variable,
just use “C:WINDOWS; C:windowssystem;”
that’s the basic needed..
If sometime happened that the system say:
“Can’t find xxxxx.exe”
google for this file, and, if not a virus,
find it with search tool, and add the directory of the file to the path variable.
It means: windows (or a software) is looking for the file directly, without specifying the path, and can’t find. So add the directory to the path var, and windows will find it.
No google or microsoft support needed for this shit. Just think.