blob: 1db075caea6b6028e5c0fb436d7c5d179cfb9846 [file] [log] [blame]
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001page.title=Android SDK
Scott Mainefd83af2009-10-14 09:11:41 -07002sdk.redirect=0
3sdk.version=2.0
Scott Mainefd83af2009-10-14 09:11:41 -07004sdk.date=October 2009
5
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07006sdk.win_download=android-sdk-windows_r1.zip
Scott Mainefd83af2009-10-14 09:11:41 -07007sdk.win_bytes=
8sdk.win_checksum=
9
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070010sdk.mac_download=android-sdk-mac_x86_r1.zip
Scott Mainefd83af2009-10-14 09:11:41 -070011sdk.mac_bytes=
12sdk.mac_checksum=
13
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070014sdk.linux_download=android-sdk-linux_x86_r1.tgz
Scott Mainefd83af2009-10-14 09:11:41 -070015sdk.linux_bytes=
16sdk.linux_checksum=
17
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080018@jd:body
19
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070020<p>For important information about this SDK release, please review the
Scott Mainefd83af2009-10-14 09:11:41 -070021<a href="{@docRoot}sdk/RELEASENOTES.html">Release Notes</a>.</p>
22
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070023<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 Mainefd83af2009-10-14 09:11:41 -070025
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070026<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 &mdash; 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 Mainefd83af2009-10-14 09:11:41 -070032
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070033<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 Mainefd83af2009-10-14 09:11:41 -070035
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070036<h2>Quick Start</h2>
Scott Mainefd83af2009-10-14 09:11:41 -070037
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070038<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 Mainefd83af2009-10-14 09:11:41 -070039
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070040<p><strong>0. Prepare your development computer</strong></p>
Scott Mainefd83af2009-10-14 09:11:41 -070041
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070042<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
50<p>If you are developing in Eclipse, set up a remote update site and install the Android Development Tools (ADT) plugin. The ADT plugin adds powerful extensions to the Eclipse IDE that help you to create and debug Android applications more easily and faster. If you use Eclipse, ADT gives you an incredible boost in developing Android
51applications. </p>
52
53<p>For detailed instructions, see <a href="{@docRoot}sdk/eclipse-adt.html">Installing and Updating ADT</a>.</p>
54
55<p><strong>3. Download one or more Android platforms</strong></p>
56
57<p>To develop an application, you need to download at least one Android platform component and install it into your SDK.
58
59<p>Each downloadable platform includes an Android library and system image, as well as emulator skins, sample code and applications, and more. In most cases, you will want to download multiple platforms into your SDK, so that you can build your application on the minimum version you want to support, but test it against higher versions that you intend the application to run on.</p>
60
61<p>While you are downloading platforms, make sure 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. </p>
62
63<p>To download platforms or any other SDK component, use the Android SDK and AVD Manager tool, included in the SDK starter package. For more information, see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>. Detailed information about individual platforms and other components are provided in the navigation bar at left, under "Downloadable SDK Components."</p>
Scott Mainefd83af2009-10-14 09:11:41 -070064
65
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070066
67<p><strong>4. Download other SDK components</strong></p>
68
69<p>In addition to Android platforms, you can also download SDK add-ons and a local version of the Android developer documentation to your SDK environment. </p>
Scott Mainefd83af2009-10-14 09:11:41 -070070
71<p>An SDK add-on provides a development environment for an Android external
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070072library or a customized (but fully compliant) Android system image. You can install an add-on if you want to make use of its external library in your application. For example, the Google APIs Add-On lets you develop an application that takes advantage of the Google Maps external library. </p>
Scott Mainefd83af2009-10-14 09:11:41 -070073
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070074<p>Use the Android SDK and AVD Manager tool to download add-ons and other components into your SDK. </p>
Scott Mainefd83af2009-10-14 09:11:41 -070075
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070076<p><strong>5. Get started with an application project</strong></p>
Scott Mainefd83af2009-10-14 09:11:41 -070077
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070078<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 Mainefd83af2009-10-14 09:11:41 -070079
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070080<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>