blob: 2e59801c1b36083c326540a81132dcbc406445e2 [file] [log] [blame]
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001page.title=Android SDK
Scott Mainefd83af2009-10-14 09:11:41 -07002sdk.redirect=0
Scott Mainefd83af2009-10-14 09:11:41 -07003
Scott Main06cf15e2010-10-28 00:02:31 -07004sdk.win_installer=installer_r08-windows.exe
5sdk.win_installer_bytes=TODO
6sdk.win_installer_checksum=TODO
Scott Mainefd83af2009-10-14 09:11:41 -07007
Scott Main06cf15e2010-10-28 00:02:31 -07008sdk.win_download=android-sdk_r08-windows.zip
9sdk.win_bytes=TODO
10sdk.win_checksum=TODO
Scott Mainefd83af2009-10-14 09:11:41 -070011
Scott Main06cf15e2010-10-28 00:02:31 -070012sdk.mac_download=android-sdk_r08-mac_x86.zip
13sdk.mac_bytes=TODO
14sdk.mac_checksum=TODO
15
16sdk.linux_download=android-sdk_r08-linux_x86.tgz
17sdk.linux_bytes=TODO
18sdk.linux_checksum=TODO
Scott Mainefd83af2009-10-14 09:11:41 -070019
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080020@jd:body
21
Scott Mainefd83af2009-10-14 09:11:41 -070022
Dirk Doughertybf15ce62009-10-23 19:17:12 -070023<h2 id="quickstart">Quick Start</h2>
Scott Mainefd83af2009-10-14 09:11:41 -070024
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070025<p><strong>1. Prepare your development computer</strong></p>
Scott Mainefd83af2009-10-14 09:11:41 -070026
Dirk Doughertybf15ce62009-10-23 19:17:12 -070027<p>Read the <a href="{@docRoot}sdk/requirements.html">System Requirements</a>
28document and make sure that your development computer meets the hardware and
29software requirements for the Android SDK. Install any additional software
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070030needed before downloading the Android SDK. In particular, you may need to
31install 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 Doughertyee58d1b2009-10-16 15:25:15 -070034
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070035<p><strong>2. Download and install the SDK starter package</strong></p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070036
Scott Main06cf15e2010-10-28 00:02:31 -070037<p>Download a starter package from the table above onto your development computer.
38If you're using Windows, we recommend that you download the installer (the {@code .exe} file),
39which will launch a Wizard to guide you through the installation and check your computer for
40required software. Otherwise, download the SDK starter package ({@code .zip} or {@code .tgz})
41appropriate for your system, unpack it to a safe location, then add the location to your PATH
42environment variable. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070043
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070044<p><strong>3. Install the ADT Plugin for Eclipse</strong></p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070045
Scott Main06cf15e2010-10-28 00:02:31 -070046<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
48Development Tools (ADT) Plugin from that site, restart Eclipse, and set the "Android"
49preferences in Eclipse to point to the Android SDK directory (installed in the previous step). For
50detailed instructions to setup Eclipse, see <a href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070051for Eclipse</a>.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070052
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070053<p><strong>4. Add Android platforms and other components to your SDK</strong></p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070054
Scott Main06cf15e2010-10-28 00:02:31 -070055<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
57installer, 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
59you aren't sure what to add, see <a
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070060href="installing.html#which">Which components do I need?</a></p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070061
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070062<p><strong>Done!</strong></p>
Scott Mainefd83af2009-10-14 09:11:41 -070063
Scott Main06cf15e2010-10-28 00:02:31 -070064<p>To write your first Android application, see the <a
65href="{@docRoot}resources/tutorials/hello-world.html">Hello World</a> tutorial. Also see <a
66href="{@docRoot}sdk/installing.html#NextSteps">Next
67Steps</a> for other suggestions about how to get started.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070068
Scott Main06cf15e2010-10-28 00:02:31 -070069<p>For a more detailed guide to installing and setting up the SDK, read <a
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070070href="installing.html">Installing the SDK</a>.</p>