• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Adding Platforms and Packages
2
3@jd:body
4
5
6<p>The Android SDK separates tools, platforms, and other components into packages you can
7  download using the Android SDK Manager. The original
8SDK package you've downloaded includes only the SDK Tools. To develop an Android app,
9you also need to download at least one Android platform and the latest SDK Platform-tools.</p>
10
11<ol>
12<li>Launch the SDK Manager.
13<p>If you've used the Windows installer to install the SDK tools, you should already have the
14Android SDK Manager open. Otherwise, you can launch the Android SDK Manager in one of the following
15ways:</p>
16<ul>
17  <li>On Windows, double-click the <code>SDK Manager.exe</code> file at the root of the Android
18SDK directory.</li>
19  <li>On Mac or Linux, open a terminal and navigate to the <code>tools/</code> directory in the
20Android SDK, then execute <code>android sdk</code>.</li>
21</ul>
22</li>
23
24<li>The SDK Manager shows all the SDK packages available for you to add to your Android SDK.
25As a minimum configuration for your SDK, we recommend you install the following:
26<ul>
27 <li>The latest Tools packages (check the <strong>Tools</strong> folder).</li>
28 <li>The latest version of Android (check the first <strong>Android</strong> folder).</li>
29 <li>The Android Support Library (open the <strong>Extras</strong> folder and check
30  <strong>Android Support Library</strong>).</li>
31</ul>
32
33<p>Once you've chosen your packages, click <strong>Install</strong>. The Android SDK Manager
34installs the selected packages into your Android SDK environment.</li>
35</ol>
36
37<p>With these packages installed, you're ready to start developing.
38To get started, read <a href="{@docRoot}training/basics/firstapp/index.html"
39>Building Your First App</a>.</p>
40
41<img src="/images/sdk_manager_packages.png" alt="" height="396" />
42<p class="img-caption"><strong>Figure 1.</strong> The Android SDK Manager shows the
43SDK packages that are available, already installed, or for which an update is available.</p>
44
45
46
47<h3>Additional information</h3>
48
49<ul>
50  <li>For more information about using the SDK Manager and some of the available packages,
51see the <a href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a> document.</li>
52  <li>This web site provides all information you need to develop Android apps, including <a
53href="{@docRoot}design/index.html">design guidelines</a>,
54<a href="{@docRoot}training/index.html">developer training</a>, <a
55href="{@docRoot}reference/packages.html">API reference</a>, and information
56about how you can <a href="{@docRoot}distribute/index.html">distribute your app</a>. We recommend
57you begin by reading <a href="{@docRoot}training/basics/firstapp/index.html"
58>Building Your First App</a>.</li>
59  <li>For additional resources about developing and distributing your app, see the
60<a href="{@docRoot}support.html">Developer Support Resources</a>.</li>
61</ul>
62
63
64