Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 1 | page.title=Android SDK |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 2 | sdk.redirect=0 |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 3 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 4 | sdk.win_download=android-sdk_r06-windows.zip |
Dirk Dougherty | d1e9d59 | 2010-05-14 18:14:42 -0700 | [diff] [blame^] | 5 | sdk.win_bytes=23293160 |
| 6 | sdk.win_checksum=7c7fcec3c6b5c7c3df6ae654b27effb5 |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 7 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 8 | sdk.mac_download=android-sdk_r06-mac_86.zip |
Dirk Dougherty | d1e9d59 | 2010-05-14 18:14:42 -0700 | [diff] [blame^] | 9 | sdk.mac_bytes=19108077 |
| 10 | sdk.mac_checksum=c92abf66a82c7a3f2b8493ebe025dd22 |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 11 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 12 | sdk.linux_download=android-sdk_r06-linux_86.tgz |
Dirk Dougherty | d1e9d59 | 2010-05-14 18:14:42 -0700 | [diff] [blame^] | 13 | sdk.linux_bytes=16971139 |
| 14 | sdk.linux_checksum=848371e4bf068dbb582b709f4e56d903 |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 15 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 16 | @jd:body |
| 17 | |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 18 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 19 | <h2 id="quickstart">Quick Start</h2> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 20 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 21 | <p>The steps below provide an overview of how to get started with the Android |
| 22 | SDK. For detailed instructions, start with the <a |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 23 | href="{@docRoot}sdk/installing.html">Installing the SDK</a> guide. </p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 24 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 25 | <p><strong>1. Prepare your development computer</strong></p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 26 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 27 | <p>Read the <a href="{@docRoot}sdk/requirements.html">System Requirements</a> |
| 28 | document and make sure that your development computer meets the hardware and |
| 29 | software requirements for the Android SDK. Install any additional software |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 30 | needed before downloading the Android SDK. In particular, you may need to |
| 31 | install the <a href="http://java.sun.com/javase/downloads/index.jsp">JDK</a> |
| 32 | (version 5 or 6 required) and <a href="http://www.eclipse.org/downloads/">Eclipse</a> |
| 33 | (version 3.4 or 3.5, needed only if you want develop using the ADT Plugin). |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 34 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 35 | <p><strong>2. Download and install the SDK starter package</strong></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 36 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 37 | <p>Select a starter package from the table at the top of this page and download |
| 38 | it to your development computer. To install the SDK, simply unpack the starter |
| 39 | package to a safe location and then add the location to your PATH. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 40 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 41 | <p><strong>3. Install the ADT Plugin for Eclipse</strong></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 42 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 43 | <p>If you are developing in Eclipse, set up a remote update site at |
| 44 | <code>https://dl-ssl.google.com/android/eclipse/</code>. Install the Android |
| 45 | Development Tools (ADT) Plugin, restart Eclipse, and set the "Android" |
| 46 | preferences in Eclipse to point to the SDK install location. For detailed |
| 47 | instructions, see <a href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin |
| 48 | for Eclipse</a>.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 49 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 50 | <p><strong>4. Add Android platforms and other components to your SDK</strong></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 51 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 52 | <p>Use the Android SDK and AVD Manager, included in the SDK starter package, to |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 53 | add one or more Android platforms (for example, Android 1.6 or Android 2.0) and |
| 54 | other components to your SDK. If you aren't sure what to add, see <a |
| 55 | href="installing.html#which">Which components do I need?</a></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 56 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 57 | <p>To launch the Android SDK and AVD Manager on Windows, execute <code>SDK |
| 58 | Setup.exe</code>, at the root of the SDK directory. On Mac OS X or Linux, |
| 59 | execute the <code>android</code> tool in the <code><sdk>/tools/</code> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 60 | folder. For detailed instructions, see <a |
| 61 | href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 62 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 63 | <p><strong>Done!</strong></p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 64 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 65 | <p>If you are new to Android, you can use the <a |
Dirk Dougherty | 22558d0 | 2009-12-10 16:25:06 -0800 | [diff] [blame] | 66 | href="{@docRoot}resources/tutorials/hello-world.html">Hello World</a> tutorial to |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 67 | get started quickly. <a href="{@docRoot}sdk/installing.html#NextSteps">Next |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 68 | Steps</a> offers other suggestions of how to begin.</p> |
| 69 | |
| 70 | <p>For a more detailed guide to installing and setting up the SDK, read <a |
| 71 | href="installing.html">Installing the SDK</a>.</p> |