How to install Android SDK v1.0 - Step by Step - Android Community Forums
Register Members List Social Groups Calendar Search Today's Posts Mark Forums Read


Go Back   Android Community Forums > Android Discussions > General Dev Discussions, How to, Guides and FAQ


General Dev Discussions, How to, Guides and FAQ Discuss Android Development How to and Guides here. No commercial posts please!

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2008, 03:53 AM
Jorsher's Avatar
Jorsher Jorsher is offline
Jorsher is stealthy
Reached higher ground
 
Join Date: Sep 2008
Posts: 931
Jorsher is on a distinguished road

Former Staff Hall of Fame 
Total Awards: 1

Send a message via AIM to Jorsher Send a message via MSN to Jorsher Send a message via Yahoo to Jorsher
Default How to install Android SDK v1.0 - Step by Step

I felt Google's installation instructions were a bit convoluted, and there weren't any pictures (which we all love), so decided to write an updated one. Also, the URL they have listed on the site does not seem to work with the latest version of Eclipse. Here's a simple step-by-step guide to getting Android SDK installed and running:

1. Choose a location to put all of your Android development files. I chose "D:\Android\" to keep all my files in a centralized location. You can skip this step, but it will be a place for you to extract your Android SDK, Eclipse IDE, and keep your projects in one organized place. Add a folder named "workspace" by right-clicking and choosing "New," then "Folder." This is where you will save your projects.

2. You will need to download and install the Java Development Kit (JDK). Even if you have a 64-bit computer and operating system -- download the 32-bit version. The Eclipse IDE does not seem to work with the 64-bit JDK, possibly because it's a 32-bit IDE. Java SE Development Kit 6 Update 10 can be downloaded here:

http://java.sun.com/javase/downloads/index.jsp

3. Download the Eclipse IDE, then extract it to wherever you please. I chose to extract it into my "D:\Android\" directory to keep everything organized. Eclipse 3.4.1 Classic can be downloaded here:

http://www.eclipse.org/downloads/

4. Open the "eclipse" folder where it was extracted, right click "eclipse.exe," choose "Send To," and then "Desktop (create shortcut)." This will, obviously, create an icon on the desktop so you can easily get to the development environment.

5. Download the Android SDK, and extract it to wherever you want. Be sure to take note down the location. Again, I chose "D:\Android\SDK\" to keep things organized. It can downloaded found here:

http://code.google.com/android/download.html



6. The next step is different depending on your operating system:
  • Windows XP: Right-click on "My Computer," choose properties, and go to the Advanced tab.
  • Windows Vista: Right-click on "My Computer," choose properties, click "Advanced system settings," then the Advanced tab.


7. Click the button "Environment Variables."



8. Under system variables, scroll down and double-click "Path."



9. Edit the path and append the location of your Tools directory. This will help Windows know where to find the SDK tools. In my case, I added ";D:\Android\SDK" which is where I extracted the SDK in step 5.



10. Open Eclipse. If you copied the shortcut to the Desktop, it will be easy to find. It will ask you where to save your workspace the first time you open it. I chose "D:\Android\workspace\" which was created in step 1. You can also check-mark "Use this as the default and do not ask again" so you don't get bothered by this any more.



11. With Eclipse IDE open, go to Help > Software Updates and choose the "Available Software" tab.



12. Click the "Add Site..." button and paste the following URL:



13. You should see a new item appear on the list of available software with the URL above. Click the check-box beside it, then click install. When the installation window opens, click next, accept the agreement, and click "Finish" to install ADT.



14. Your SDK is completely set up! In the future, I will have various tutorials on different aspects of Android development.
Attached Images
File Type: jpg img1.jpg (84.2 KB, 267 views)
File Type: jpg img2.jpg (60.6 KB, 251 views)
File Type: jpg img3.jpg (54.7 KB, 248 views)
File Type: jpg img4.jpg (50.7 KB, 250 views)
File Type: jpg img5.jpg (17.9 KB, 254 views)
File Type: jpg img6.jpg (35.6 KB, 254 views)
File Type: jpg img7.jpg (69.3 KB, 250 views)
File Type: jpg img8.jpg (19.4 KB, 253 views)
File Type: jpg img9.jpg (87.8 KB, 257 views)
Reply With Quote
Ads
  #2  
Old 10-31-2008, 11:16 AM
KanedaSyndrome KanedaSyndrome is offline
KanedaSyndrome has no status.
Smoke signaler
 
Join Date: Sep 2008
Posts: 32
KanedaSyndrome is on a distinguished road
Default Re: How to install Android SDK v1.0 - Step by Step

I think you made it a bit complicated.

What I did was:

#1: Download The newest Eclipse IDE 3.4.1. Ganymedes.

#2: Download the Android SDK as provided by google.

You need to unzip both Eclipse and the Android SDK when you download them

#3: Run Eclipse, go to updates, select add site, input:

"https://dl-ssl.google.com/android/eclipse/"

It will then find the plugin and you simply select all the android updates that pops up and you select install.

Next what you need to do is to go to window menu I think it is, select preferences, go to Android and here you input in the empty path field the path for where you downloaded and unzipped the Android SDK.

Now it should be working.

Last edited by KanedaSyndrome; 10-31-2008 at 11:18 AM.
Reply With Quote
  #3  
Old 10-31-2008, 12:59 PM
Jorsher's Avatar
Jorsher Jorsher is offline
Jorsher is stealthy
Reached higher ground
 
Join Date: Sep 2008
Posts: 931
Jorsher is on a distinguished road

Former Staff Hall of Fame 
Total Awards: 1

Send a message via AIM to Jorsher Send a message via MSN to Jorsher Send a message via Yahoo to Jorsher
Default Re: How to install Android SDK v1.0 - Step by Step

Quote:
Originally Posted by KanedaSyndrome View Post
I think you made it a bit complicated.

What I did was:

#1: Download The newest Eclipse IDE 3.4.1. Ganymedes.

#2: Download the Android SDK as provided by google.

You need to unzip both Eclipse and the Android SDK when you download them

#3: Run Eclipse, go to updates, select add site, input:

"https://dl-ssl.google.com/android/eclipse/"

It will then find the plugin and you simply select all the android updates that pops up and you select install.

Next what you need to do is to go to window menu I think it is, select preferences, go to Android and here you input in the empty path field the path for where you downloaded and unzipped the Android SDK.

Now it should be working.
Yeah, I guess mine would be shorter if I didn't include the links on where to find the software, and skipped the entire installation of JDK (which IS important).

I could sum it up even more: Download the JDK, Eclipse IDE, Android SDK, and install it.

Or even:
Google "install Android SDK"

But thanks for the advice

Please point out which instruction is complicated and I will simplify it for you and others!
Reply With Quote
  #4  
Old 10-31-2008, 08:08 PM
FlashGameMaker FlashGameMaker is offline
FlashGameMaker has no status.
Smoke signaler
 
Join Date: Oct 2008
Posts: 11
FlashGameMaker is on a distinguished road
Default Re: How to install Android SDK v1.0 - Step by Step

Hi,
noob question here, do I download the JEE version of eclipse? or just the java version?
Reply With Quote
  #5  
Old 10-31-2008, 09:26 PM
Jorsher's Avatar
Jorsher Jorsher is offline
Jorsher is stealthy
Reached higher ground
 
Join Date: Sep 2008
Posts: 931
Jorsher is on a distinguished road

Former Staff Hall of Fame 
Total Awards: 1

Send a message via AIM to Jorsher Send a message via MSN to Jorsher Send a message via Yahoo to Jorsher
Default Re: How to install Android SDK v1.0 - Step by Step

Quote:
Originally Posted by FlashGameMaker View Post
Hi,
noob question here, do I download the JEE version of eclipse? or just the java version?
Neither

You want Eclipse 3.4.1 Classic at the bottom.
Reply With Quote
  #6  
Old 11-01-2008, 01:50 AM
FlashGameMaker FlashGameMaker is offline
FlashGameMaker has no status.
Smoke signaler
 
Join Date: Oct 2008
Posts: 11
FlashGameMaker is on a distinguished road
Default Re: How to install Android SDK v1.0 - Step by Step

Quote:
Originally Posted by Jorsher View Post
Neither

You want Eclipse 3.4.1 Classic at the bottom.
oh ok, I've downloaded/installed the latest version of the java one, someone else on the forums said the newer ones are usually better. Why the classic?
Reply With Quote
  #7  
Old 11-02-2008, 11:58 PM
Jorsher's Avatar
Jorsher Jorsher is offline
Jorsher is stealthy
Reached higher ground
 
Join Date: Sep 2008
Posts: 931
Jorsher is on a distinguished road

Former Staff Hall of Fame 
Total Awards: 1

Send a message via AIM to Jorsher Send a message via MSN to Jorsher Send a message via Yahoo to Jorsher
Default Re: How to install Android SDK v1.0 - Step by Step

Quote:
Originally Posted by FlashGameMaker View Post
oh ok, I've downloaded/installed the latest version of the java one, someone else on the forums said the newer ones are usually better. Why the classic?
I guess "Classic" is a bit misleading, but it's the newest version. It just means, the typical version. Like, Classic Coke is the "normal" Coca Cola.

It is the newest version, but doesn't include extra stuff you won't need.
Reply With Quote
  #8  
Old 11-01-2008, 02:21 AM
mikeyrokschicago's Avatar
mikeyrokschicago mikeyrokschicago is offline
mikeyrokschicago is Moto Cliq'n!
Android I/O - Staff Android
 
Join Date: Oct 2008
Location: Chicago
Posts: 632
mikeyrokschicago is on a distinguished road

Android Community Staff Award 
Total Awards: 1

Send a message via AIM to mikeyrokschicago Send a message via Yahoo to mikeyrokschicago
Default Re: How to install Android SDK v1.0 - Step by Step

>>Sidenote:

Nice PC specs!
__________________
VERY Early Adopter! Since 10-16-2008
Search Button FTW!!
10-10-09 finally got my hero!!
Reply With Quote
  #9  
Old 11-03-2008, 12:00 AM
Jorsher's Avatar
Jorsher Jorsher is offline
Jorsher is stealthy
Reached higher ground
 
Join Date: Sep 2008
Posts: 931
Jorsher is on a distinguished road

Former Staff Hall of Fame 
Total Awards: 1

Send a message via AIM to Jorsher Send a message via MSN to Jorsher Send a message via Yahoo to Jorsher
Default Re: How to install Android SDK v1.0 - Step by Step

Quote:
Originally Posted by mikeyrokschicago View Post
>>Sidenote:

Nice PC specs!
Thanks Refreshed the Vista Experience score and got a 5.9 rating after overclocking the q6600. Great processors for the price, especially when overclocked.

2 more DIMMs of 2gb gskill 4-4-4-12 ram coming soon

Oh, and the PC I had a month ago was a 2gb ram, overclocked AMD 2400+, and a Radeon 9550.

BIG jump from that
Reply With Quote
  #10  
Old 11-01-2008, 09:06 AM
KanedaSyndrome KanedaSyndrome is offline
KanedaSyndrome has no status.
Smoke signaler
 
Join Date: Sep 2008
Posts: 32
KanedaSyndrome is on a distinguished road
Default Re: How to install Android SDK v1.0 - Step by Step

Hehe good question about which IDE, I just took the biggest one lol, the one on 168mb, I guess anyone can be used? I had no problem using the one in the top, but am going to give the classic one a try as well today.

And the OP about which can be complicated, it's mostly the environmental variables thing you alter, I haven't found a need to do so yet.

Last edited by KanedaSyndrome; 11-01-2008 at 09:10 AM.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Ads

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Android SDK Mr Android General Dev Discussions, How to, Guides and FAQ 4 10-25-2009 05:45 AM
Enabled Flash to get Android one step ahead of everyone else... endmp25 New Application Ideas 6 06-04-2009 10:16 PM
How to install android SDK? KanedaSyndrome General Dev Discussions, How to, Guides and FAQ 4 10-31-2008 10:56 AM
Install Android Ujjwol Android-powered Hardware discussions 11 10-23-2008 01:01 PM
unfortunate shipment question (tmo employees / gurus step right in) implosive_disgorgence HTC Handsets 5 10-11-2008 01:08 AM


All times are GMT -5. The time now is 11:50 AM.



Copyright © 2008-2009 Android Community / R3 Media LLC, All Rights Reserved.