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 |
| 3 | sdk.version=2.0 |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 4 | sdk.date=October 2009 |
| 5 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 6 | sdk.win_download=android-sdk-windows_r1.zip |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 7 | sdk.win_bytes= |
| 8 | sdk.win_checksum= |
| 9 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 10 | sdk.mac_download=android-sdk-mac_x86_r1.zip |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 11 | sdk.mac_bytes= |
| 12 | sdk.mac_checksum= |
| 13 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 14 | sdk.linux_download=android-sdk-linux_x86_r1.tgz |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 15 | sdk.linux_bytes= |
| 16 | sdk.linux_checksum= |
| 17 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 18 | @jd:body |
| 19 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 20 | <p>For important information about this SDK release, please review the |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 21 | <a href="{@docRoot}sdk/RELEASENOTES.html">Release Notes</a>.</p> |
| 22 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 23 | <div class="special"> |
| 24 | <p>The Android SDK has changed! If you've worked with the Android SDK before, you will notice several important differences:</p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 25 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 26 | <ul> |
| 27 | <li style="margin-top:.5em">The SDK downloadable package includes <em>only</em> the latest version of the Android SDK Tools.</li> |
| 28 | <li>Once you've installed the SDK, you now use the Android SDK and AVD Manager to download all of the SDK components that you need, such as Android platforms, SDK add-ons, tools, and documentation. </li> |
| 29 | <li>The new approach is modular — you can install only the components you need and update any or all components without affecting your development environment.</li> |
| 30 | <li>In short, once you've installed the new SDK, you will not need to download an SDK package again. Instead, you will use the Android SDK and AVD Manager to keep your development environment up-to-date. </li> |
| 31 | </ul> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 32 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 33 | <p>If you are currently using the Android 1.6 SDK, you do not need to install the new SDK, since your existing SDK incudes the Android SDK and AVD Manager tool. To develop against Android 2.0, for example, you could just download the updated SDK Tools (Revision 3) and the Android 2.0 platform into your existing SDK. </p> |
| 34 | </div> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 35 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 36 | <h2>Quick Start</h2> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 37 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 38 | <p class="xnote">The steps below provide an overview of how to get started with the Android SDK. For detailed instructions, start with the <a href="{@docRoot}sdk/installing.html">Installing</a> guide. </p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 39 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 40 | <p><strong>0. Prepare your development computer</strong></p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 41 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 42 | <p>Read the <a href="{@docRoot}sdk/requirements.html">System Requirements</a> document and make sure that your development computer meets the hardware and software requirements for the Android SDK. Install any additional software needed before downloading the Android SDK. In particular, if you plan to develop Android applications in the Eclipse IDE using the ADT Plugin (see below), make sure that you have the correct version of Eclipse installed. |
| 43 | |
| 44 | <p><strong>1. Download and install the SDK starter package</strong></p> |
| 45 | |
| 46 | <p>Select a starter package from the table at the top of this page and download it to your development computer. To install the SDK, simply unpack the starter package to a safe location and then add the location to your PATH. </p> |
| 47 | |
| 48 | <p><strong>2. Install the ADT Plugin for Eclipse</strong></p> |
| 49 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 50 | <p>If you are developing in Eclipse, set up a remote update site and install the Android Development Tools (ADT) plugin.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 51 | |
| 52 | <p>For detailed instructions, see <a href="{@docRoot}sdk/eclipse-adt.html">Installing and Updating ADT</a>.</p> |
| 53 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 54 | <p><strong>3. Add Android platforms to your SDK</strong></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 55 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 56 | <p>Use the Android SDK and AVD Manager, included in the SDK starter package, to add one or more Android platforms (for example, Android 1.6 or Android 2.0) to your SDK. In most cases, you will want to download multiple platforms, so that you can build your application on the lowest version you want to support, but test against higher versions that you intend the application to run on. Information about each platform is available at left, under "Downloadable SDK Components."</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 57 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 58 | <p>For more information about how to add platforms and other SDK components, see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 59 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 60 | <p><strong>4. Get the latest documentation</strong></p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 61 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 62 | <p>If you develop while offline, use the Android SDK and AVD Manager to download the latest documentation package. The documentation covers all versions of the API and lets you filter out those versions that your application won't support. Once installed, the documentation is also available to you directly from the Eclipse IDE. </p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 63 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 64 | <p><strong>5. Download other SDK components</strong></p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 65 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 66 | <p>You can use the Android SDK and AVD Manager to download other SDK components, such as the SDK add-ons. An SDK add-on provides a development environment for an Android external library or a customized Android system image. For example, the Google APIs Add-On lets you develop an application that takes advantage of the Google Maps external library. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 67 | |
Dirk Dougherty | eeb0b25 | 2009-10-22 16:08:32 -0700 | [diff] [blame] | 68 | <p><strong>6. Get started with an application project</strong></p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 69 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 70 | <p>Once you've set up your SDK, the next step is to start a new application project or move existing applications into the new SDK.</p> |
Scott Main | efd83af | 2009-10-14 09:11:41 -0700 | [diff] [blame] | 71 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 72 | <p>If you are new to Android, you can use the <a href="{@docRoot}guide/tutorials/hello-world.html">Hello World</a> tutorial to get started quickly. Welcome!</p> |