docs: Update various SDK docs for GB platform and tools
Change-Id: I8ccb296e5fba57743197bec140e9c79750f0d4f6
This commit is contained in:
@ -6,7 +6,7 @@ page.title=Adding SDK Components
|
||||
<div id="qv">
|
||||
<h2>Quickview</h2>
|
||||
<ul>
|
||||
<li>Use the Android SDK and AVD Manager to
|
||||
<li>Use the Android SDK and AVD Manager to
|
||||
set up your SDK and keep it up-to-date.</li>
|
||||
</ul>
|
||||
|
||||
@ -25,7 +25,7 @@ page.title=Adding SDK Components
|
||||
<p>Adding and updating components in your Android SDK is fast and easy. To
|
||||
perform an update, use the <strong>Android SDK and AVD Manager</strong> to
|
||||
install or update the individual SDK components that you need. The Android SDK
|
||||
and AVD Manager tool is included in the <a href="index.html">Android SDK
|
||||
and AVD Manager tool is included in the <a href="index.html">Android SDK
|
||||
download</a>.</p>
|
||||
|
||||
<p>It only takes a couple of clicks to install individual versions of the
|
||||
@ -53,19 +53,19 @@ a new version of the platform. See the revisions listed in the <a
|
||||
href="{@docRoot}sdk/tools-notes.html">SDK Tools</a> document for ADT
|
||||
Plugin compatibility.</p>
|
||||
|
||||
<div style="TEXT-ALIGN:left; width:600px;">
|
||||
<img src="{@docRoot}images/sdk_manager_packages.png"
|
||||
style="padding-bottom:0;margin-bottom:0;" />
|
||||
<div style="TEXT-ALIGN:left; width:600px;">
|
||||
<img src="{@docRoot}images/sdk_manager_packages.png"
|
||||
style="padding-bottom:0;margin-bottom:0;" />
|
||||
<p class="caption" style="margin:0 0 1.5em 1em;padding:0 0 0
|
||||
1em;"><strong>Figure 1.</strong> The Android SDK and AVD Manager's
|
||||
1em;"><strong>Figure 1.</strong> The Android SDK and AVD Manager's
|
||||
<strong>Available Packages</strong>
|
||||
panel, which shows the SDK components that are
|
||||
available for you to download into your environment. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 id="launching">Launching the Android SDK and AVD Manager</h2>
|
||||
|
||||
<p>The Android SDK and AVD Manager is the tool that you use to install and
|
||||
<p>The Android SDK and AVD Manager is the tool that you use to install and
|
||||
upgrade SDK components in your development environment. </p>
|
||||
|
||||
<p>You can access the tool in any of three ways:</p>
|
||||
@ -83,15 +83,15 @@ follow these steps to access the Android SDK and AVD Manager tool:</p>
|
||||
|
||||
<ol>
|
||||
<li>Open Eclipse</li>
|
||||
<li>Select <strong>Window</strong> > <strong>Android SDK and AVD
|
||||
<li>Select <strong>Window</strong> > <strong>Android SDK and AVD
|
||||
Manager</strong>.</li>
|
||||
</ol>
|
||||
|
||||
<h4>Launching from the setup script (Windows only)</h4>
|
||||
<h4>Launching from the SDK Manager script (Windows only)</h4>
|
||||
|
||||
<p>For Windows only, the SDK includes a script that invokes the Android SDK and
|
||||
AVD Manager. To launch the tool using the script, double-click "SDK
|
||||
Setup.exe" at the root of the the SDK directory.</p>
|
||||
AVD Manager. To launch the tool using the script, double-click {@code SDK
|
||||
Manager.exe} at the root of the the SDK directory.</p>
|
||||
|
||||
<h4>Launching from a command line</h4>
|
||||
|
||||
@ -100,37 +100,39 @@ and AVD Manager tool from the command line: </p>
|
||||
|
||||
<ol>
|
||||
<li>Navigate to the <code><<em>sdk</em>>/tools/</code> directory.</li>
|
||||
<li>Execute the {@code android} tool command with no options.
|
||||
<li>Execute the {@code android} tool command with no options.
|
||||
<pre style="width:400px">$ android</pre></li>
|
||||
</ol>
|
||||
|
||||
|
||||
<h2 id="InstallingComponents">Installing SDK Components</h2>
|
||||
|
||||
<p class="caution"><strong>Important:</strong> Before you install SDK components,
|
||||
we recommend that you disable any antivirus programs that may be running on
|
||||
your computer.</p>
|
||||
<p class="caution"><strong>Caution:</strong> Before you install SDK components,
|
||||
we recommend that you disable any antivirus software that may be running on
|
||||
your computer. There are cases in which antivirus software on Windows is known to interfere with the
|
||||
installation process, so we suggest you disable your antivirus until installation is
|
||||
complete.</p>
|
||||
|
||||
<p>Follow these steps to install new SDK components in your environment:</p>
|
||||
|
||||
<ol>
|
||||
<li>Launch the Android SDK and AVD Manager as described in the section above.</li>
|
||||
<li>Select <strong>Available Packages</strong> in the left panel.
|
||||
This will reveal all of the components that are currently available for download
|
||||
This will reveal all of the components that are currently available for download
|
||||
from the SDK repository.</li>
|
||||
<li>Select the component(s) you'd like to install and click <strong>Install
|
||||
Selected</strong>. If you aren't sure which packages to select, read <a
|
||||
Selected</strong>. If you aren't sure which packages to select, read <a
|
||||
href="installing.html#which">Which components do I need?</a>.</li>
|
||||
<li>Verify and accept the components you want and click <strong>Install
|
||||
Accepted</strong>. The components will now be installed into your existing
|
||||
Android SDK directories.</li>
|
||||
</ol>
|
||||
|
||||
<p>New platforms are automatically saved into the
|
||||
<p>New platforms are automatically saved into the
|
||||
<code><<em>sdk</em>>/platforms/</code> directory of your SDK;
|
||||
new add-ons are saved in the <code><<em>sdk</em>>/add-ons/</code>
|
||||
directory; samples are saved in the
|
||||
<code><<em>sdk</em>>/samples/android-<<em>level</em>>/</code>;
|
||||
directory; samples are saved in the
|
||||
<code><<em>sdk</em>>/samples/android-<<em>level</em>>/</code>;
|
||||
and new documentation is saved in the existing
|
||||
<code><<em>sdk</em>>/docs/</code> directory (old docs are replaced).</p>
|
||||
|
||||
@ -184,10 +186,10 @@ if there is dependency that you need to address. </p>
|
||||
<h2 id="AddingSites">Adding New Sites</h2>
|
||||
|
||||
<p>By default, <strong>Available Packages</strong> only shows the default
|
||||
repository site, which offers platforms, SDK tools, documentation, the
|
||||
Google APIs Add-on, and other components. You can add other sites that host
|
||||
repository site, which offers platforms, SDK tools, documentation, the
|
||||
Google APIs Add-on, and other components. You can add other sites that host
|
||||
their own Android SDK add-ons, then download the SDK add-ons
|
||||
from those sites.</p>
|
||||
from those sites.</p>
|
||||
|
||||
<p>For example, a mobile carrier or device manufacturer might offer additional
|
||||
API libraries that are supported by their own Android-powered devices. In order
|
||||
@ -199,7 +201,7 @@ Manager:</p>
|
||||
|
||||
<ol>
|
||||
<li>Select <strong>Available Packages</strong> in the left panel.</li>
|
||||
<li>Click <strong>Add Site</strong> and enter the URL of the
|
||||
<li>Click <strong>Add Site</strong> and enter the URL of the
|
||||
{@code repository.xml} file. Click <strong>OK</strong>.</li>
|
||||
</ol>
|
||||
<p>Any SDK components available from the site will now be listed under
|
||||
|
Reference in New Issue
Block a user