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 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 4 | sdk.win_installer=installer_r08-windows.exe |
| 5 | sdk.win_installer_bytes=TODO |
| 6 | sdk.win_installer_checksum=TODO |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 7 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 8 | sdk.win_download=android-sdk_r08-windows.zip |
| 9 | sdk.win_bytes=TODO |
| 10 | sdk.win_checksum=TODO |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 11 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 12 | sdk.mac_download=android-sdk_r08-mac_x86.zip |
| 13 | sdk.mac_bytes=TODO |
| 14 | sdk.mac_checksum=TODO |
| 15 | |
| 16 | sdk.linux_download=android-sdk_r08-linux_x86.tgz |
| 17 | sdk.linux_bytes=TODO |
| 18 | sdk.linux_checksum=TODO |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 19 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 20 | @jd:body |
| 21 | |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 22 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 23 | <h2 id="quickstart">Quick Start</h2> |
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 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 37 | <p>Download a starter package from the table above onto your development computer. |
| 38 | If you're using Windows, we recommend that you download the installer (the {@code .exe} file), |
| 39 | which will launch a Wizard to guide you through the installation and check your computer for |
| 40 | required software. Otherwise, download the SDK starter package ({@code .zip} or {@code .tgz}) |
| 41 | appropriate for your system, unpack it to a safe location, then add the location to your PATH |
| 42 | environment variable. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 43 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 44 | <p><strong>3. Install the ADT Plugin for Eclipse</strong></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 45 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 46 | <p>If you are developing in Eclipse, add a new remote update site with the URL |
| 47 | <code>https://dl-ssl.google.com/android/eclipse/</code>. Install the Android |
| 48 | Development Tools (ADT) Plugin from that site, restart Eclipse, and set the "Android" |
| 49 | preferences in Eclipse to point to the Android SDK directory (installed in the previous step). For |
| 50 | detailed instructions to setup Eclipse, see <a href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 51 | for Eclipse</a>.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 52 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 53 | <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] | 54 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 55 | <p>Launch the <em>Android SDK and AVD Manager</em> by executing {@code SDK Manager.exe} (Windows) or |
| 56 | {@code android} (Mac/Linux) from the SDK's {@code tools/} directory (if you used the Windows |
| 57 | installer, this is launched for you when the Wizard is complete). Add some Android platforms |
| 58 | (such as Android 1.6 and Android 2.3) and other components (such as documentation) to your SDK. If |
| 59 | you aren't sure what to add, see <a |
Scott Main | 38dea27 | 2010-11-01 13:03:25 -0700 | [diff] [blame^] | 60 | href="installing.html#which">Recommended Components</a></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 61 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 62 | <p><strong>Done!</strong></p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 63 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 64 | <p>To write your first Android application, see the <a |
| 65 | href="{@docRoot}resources/tutorials/hello-world.html">Hello World</a> tutorial. Also see <a |
| 66 | href="{@docRoot}sdk/installing.html#NextSteps">Next |
| 67 | Steps</a> for other suggestions about how to get started.</p> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 68 | |
Scott Main | 06cf15e | 2010-10-28 00:02:31 -0700 | [diff] [blame] | 69 | <p>For a more detailed guide to installing and setting up the SDK, read <a |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 70 | href="installing.html">Installing the SDK</a>.</p> |