docs: Eclipse ADT removing and replacing mentions

Batch 05, Project 01 with InfoPros

b/25192800

Change-Id: I6cce84d8498ba9f0aa488b8d43b7b832e58fe899
This commit is contained in:
Joe Fernandez
2016-01-04 16:24:22 -08:00
parent e3f6c81c31
commit 08320015f8
12 changed files with 91 additions and 180 deletions

40
docs/html/google/play/billing/billing_integrate.jd Normal file → Executable file
View File

@@ -95,34 +95,38 @@ method calls.</p>
<p>To add the AIDL to your project:</p>
<ol>
<li>Copy the {@code IInAppBillingService.aidl} file to your Android project.
<li>First, download the Google Play Billing Library to your Android project:
<ol type="a">
<li>Select <strong>Tools > Android > SDK Manager</strong>.</li>
<li>Under <strong>Appearance & Behavior > System Settings > Android SDK</strong>,
select the <em>SDK Tools</em> tab to select and download <em>Google Play Billing
Library</em>.</li></ol>
<li>Next, copy the {@code IInAppBillingService.aidl} file to your project.
<ul>
<li>If you are using Eclipse:
<li>If you are using Android Studio:
<ol type="a">
<li>If you are starting from an existing Android project, open the
project in Eclipse. If you are creating a new Android project from
scratch, click <strong>File</strong> &gt; <strong>New</strong> &gt;
<strong>Android Application Project</strong>, then follow the
instructions in the <strong>New Android Application</strong> wizard
to create a new project in your workspace.
</li>
<li>Navigate to {@code src/main} in the Project tool window.</li>
<li>In the {@code /src} directory, click <strong>File</strong> &gt;
<strong>New</strong> &gt; <strong>Package</strong>, then create a
package named {@code com.android.vending.billing}.
</li>
<li>Select <strong>File > New > Directory</strong> and enter {@code aidl} in the
<em>New Directory</em> window, then select <strong>OK</strong>.
<li>Copy the {@code IInAppBillingService.aidl} file from {@code
&lt;sdk&gt;/extras/google/play_billing/} and paste it into the {@code
src/com.android.vending.billing/} folder in your workspace.
<li>Select <strong>File > New > Package</strong> and enter
{@code com.android.vending.billing} in the <em>New Package</em> window, then select
<strong>OK</strong>.</li>
<li>Using your operating system file explorer, navigate to
{@code &lt;sdk&gt;/extras/google/play_billing/}, copy the
{@code IInAppBillingService.aidl} file, and paste it into the
{@code com.android.vending.billing} package in your project.
</li>
</ol>
</li>
<li>If you are developing in a non-Eclipse environment: Create the
<li>If you are developing in a non-Android Studio environment: Create the
following directory {@code /src/com/android/vending/billing} and copy the
{@code IInAppBillingService.aidl} file into this directory. Put the AIDL
file into your project and use the Ant tool to build your project so that
file into your project and use the Gradle tool to build your project so that
the <code>IInAppBillingService.java</code> file gets generated.
</li>
</ul>

81
docs/html/google/play/licensing/setting-up.jd Normal file → Executable file
View File

@@ -6,7 +6,7 @@ parent.link=index.html
<div id="qv-wrapper">
<div id="qv">
<h2>In this document</h2>
<ol>
<li><a href="#account">Setting Up a Publisher Account</a></li>
@@ -179,21 +179,24 @@ Play services.</p>
these steps: </p>
<ol>
<li>Launch the Android SDK Manager (available under the Eclipse <strong>Window</strong>
menu or by executing {@code &lt;sdk>/tools/android sdk}).</li>
<li>Launch the Android SDK Manager, available under the Android Studio Tools menu
(<strong>Tools > Android > SDK Manager</strong>) or by executing
{@code &lt;sdk>/tools/android sdk}.</li>
<li>Select and download <strong>Google APIs</strong> for the Android version you'd like to target
(must be Android 2.2 or higher).</li>
<li>When the download is complete, open the AVD Manager (available under the Eclipse
<strong>Window</strong>
menu or by executing {@code &lt;sdk>/tools/android avd}).</li>
<li>Click
<strong>New</strong> and set the configuration details for the new AVD. </li>
<li>In the dialog that appears, assign a descriptive name to the AVD and then
use the Target menu to choose the <strong>Google APIs</strong> as
the system image to run on the new AVD. Set the other configuration details as
needed and then click <strong>Create AVD</strong> to finish. The SDK tools
create the new AVD configuration, which then appears in the list of available
Android Virtual Devices.</li>
<li>When the download is complete, open the AVD Manager, available under the Android Studio
Tools menu (<strong>Tools > Android > AVD Manager</strong>) or by executing
{@code &lt;sdk>/tools/android avd}.</li>
<li>In the <em>Android Virtual Device Manager</em> window, select
<strong>+ Create Virtual Device</strong> to set the configuration details for the new AVD. </li>
<li>In the <em>Virtual Device Configuration</em> window, select device hardware, then
select <strong>Next</strong>.</li>
<li>Select a <strong>Google API</strong> as the system image to run on the new AVD, then
select <strong>Next</strong>.</li>
<li>Assign a descriptive name to the AVD and then set the other configuration details as
needed.</li>
<li>Select <strong>Finish</strong> to create the new AVD configuration, which will appear in the
list of available Android Virtual Devices.</li>
</ol>
<p>If you are not familiar with AVDs or how to use them, see <a
@@ -205,7 +208,7 @@ href="{@docRoot}tools/devices/index.html">Managing Virtual Devices</a>.</p>
above &mdash; either on an actual device or on an emulator &mdash; make sure to
update your application project or build scripts as needed, so that your compiled
<code>.apk</code> files that use licensing are deployed into that environment.
In particular, if you are developing in Eclipse, make sure that you set up a
In particular, if you are developing in Android Studio, make sure that you set up a
Run/Debug Configuration that targets the appropriate device or AVD. </p>
<p>You do not need to make any changes to your application's
@@ -323,28 +326,22 @@ across all of your projects and maintain it centrally. </p>
<p>The LVL is provided as a configured library project &mdash; once you have
downloaded it, you can start using it right away. </p>
<p>If you are working in Eclipse with ADT, you need to add the LVL to your
workspace as a new development project, in the same way as you would a new
application project. </p>
<p>If you are working in Android Studio, you need to add the LVL to your
project as a new module.</p>
<ol>
<li>Use the New Project Wizard to create a new
project from existing sources. Select the LVL's <code>library</code> directory
(the directory containing the library's AndroidManifest.xml file) as the project
root.</li>
<li>When you are creating the library project, you can select any application
name, package, and set other fields as needed. </li>
<li>For the library's build target, select Android 1.5 (API level 3) or higher.</li>
<li>Use the New Module Wizard to import a library module by selecting
<strong>File > New > Import Module</strong>.</li>
<li>In the <em>New Module</em> window, in <em>Source directory</em>, enter the LVL's
<code>library</code> directory (the directory containing the library's AndroidManifest.xml file)
as the project root ({@code &lt;sdk>/extras/google/play_licensing/library/AndroidManifest.xml}),
then select <strong>Next</strong>.</li>
<li>Select <strong>Finish</strong> to import the library module.</li>
</ol>
<p> When created, the project is
predefined as a library project in its <code>project.properties</code> file, so
no further configuration is needed. </p>
<p>For more information about how to create an application project or work with
library projects in Eclipse, see <a
href="{@docRoot}tools/projects/projects-eclipse.html">Managing Projects from
Eclipse with ADT</a>.</p>
<p>For more information about how to work with library modules in Android Studio, see
<a href="{@docRoot}sdk/installing/create-project.html#SettingUpLibraryModule">Managing Projects from
Android Studio</a>.</p>
<h4>Copying the LVL sources to your application</h4>
@@ -369,24 +366,10 @@ build tools to include the LVL library project sources in your application at
compile time. The process for adding a reference to a library project depends
on your development environment, as described below.</p>
<p> If you are developing in Eclipse with ADT, you should already have added the
library project to your workspace, as described in the previous section. If you
<p> If you are developing in Android Studio, you should already have added the
library module to your project, as described in the previous section. If you
haven't done that already, do it now before continuing. </p>
<p>Next, open the application's project properties window, as shown below.
Select the "Android" properties group and click <strong>Add</strong>, then
choose the LVL library project (com_android_vending_licensing) and click
<strong>OK</strong>. For more information, see
<a href="{@docRoot}tools/projects/projects-eclipse.html#SettingUpLibraryProject">
Managing Projects from Eclipse with ADT</a></p>.
<img src="{@docRoot}images/licensing_add_library.png" alt=""/>
<p class="img-caption"><strong>Figure 3.</strong> If you are
working in Eclipse with ADT, you can add the LVL library project to your
application from the application's project properties.</p>
<p>If you are developing using the SDK command-line tools, navigate to the
directory containing your application project and open the
<code>project.properties</code> file. Add a line to the file that specifies the

14
docs/html/guide/components/aidl.jd Normal file → Executable file
View File

@@ -190,11 +190,11 @@ project's {@code gen/} directory. The generated file name matches the {@code .ai
with a {@code .java} extension (for example, {@code IRemoteService.aidl} results in {@code
IRemoteService.java}).</p>
<p>If you use Eclipse, the incremental build generates the binder class almost immediately. If you
do not use Eclipse, then the Ant tool generates the binder class next time you build your
application&mdash;you should build your project with <code>ant debug</code> (or <code>ant
release</code>) as soon as you're finished writing the {@code .aidl} file, so that your code can
link against the generated class.</p>
<p>If you use Android Studio, the incremental build generates the binder class almost immediately.
If you do not use Android Studio, then the Gradle tool generates the binder class next time you
build your application&mdash;you should build your project with <code>gradle assembleDebug</code>
(or <code>gradle assembleRelease</code>) as soon as you're finished writing the {@code .aidl} file,
so that your code can link against the generated class.</p>
<h3 id="Implement">2. Implement the interface</h3>
@@ -217,7 +217,7 @@ inherited from the {@code .aidl} file.</p>
<p>Here is an example implementation of an interface called {@code IRemoteService} (defined by the
{@code IRemoteService.aidl} example, above) using an anonymous instance:</p>
<pre>
private final IRemoteService.Stub mBinder = new IRemoteService.Stub() {
public int getPid(){
@@ -324,7 +324,7 @@ href="{@docRoot}resources/samples/ApiDemos/index.html">ApiDemos</a>.</p>
<h2 id="PassingObjects">Passing Objects over IPC</h2>

10
docs/html/legal.jd Normal file → Executable file
View File

@@ -70,12 +70,10 @@ Policy &amp; Terms of Service</a>.</p>
restrictions. Such services include:</p>
<dl>
<dt>Eclipse Android Developer Tools Plugin</dt>
<dd>If you're developing apps with the Eclipse IDE, we offer a free plugin called the
<a href="{@docRoot}tools/sdk/eclipse-adt.html">Android Developer Tools</a> (ADT) to speed up your
development and debugging. Certain code within the ADT plugin and other packages available
from the SDK Manager require that you agree to terms and conditions for use, reproduction and
distribution upon installation.</dd>
<dt>Android Studio</dt>
<dd>Android Studio and other packages available from the SDK manager require that you agree
to terms and conditions
for use, reproduction and distribution upon installation.</dd>
<dt>Google Play</dt>
<dd>Google Play is a publicly available service through which you can distribute your apps for

93
docs/html/tools/debugging/debugging-memory.jd Normal file → Executable file
View File

@@ -42,7 +42,7 @@ memory usage with tools. This guide shows you how to do that.</p>
<p>The simplest place to begin investigating your app’s memory usage is the runtime log messages.
Sometimes when a GC occurs, a message is printed to
<a href="{@docRoot}tools/help/logcat.html">logcat</a>. The logcat output is also available in the
Device Monitor or directly in IDEs such as Eclipse and Android Studio.</p>
Device Monitor or directly in an IDE such as Android Studio.</p>
<h3 id="DalvikLogMessages">Dalvik Log Messages</h3>
@@ -240,7 +240,7 @@ can view real-time updates to your app's heap in Android Studio's
<h3>Memory Monitor in Android Studio</h3>
<p>Use Android Studio to view your app's memory use: </p>
<ul>
<ol>
<li>Start your app on a connected device or emulator.</li>
<li>Open the Android run-time window, and view the free and allocated memory in the Memory
Monitor. </li>
@@ -260,7 +260,7 @@ can view real-time updates to your app's heap in Android Studio's
</li>
<li>Identify which actions in your app are likely causing too much allocation and determine where
in your app you should try to reduce allocations and release resources.
</ul>
</ol>
<h3>Device Monitor </h3>
<ol>
@@ -628,7 +628,7 @@ can track down problems you might have identified while viewing heap updates.</p
<p>To retrieve your heap dump from within Android Studio, use the
<a href="{@docRoot}tools/studio/index.html#me-cpu">Memory Monitor</a> and
<a href="{@docRoot}tools/studio/index.html#mem-cpu">Memory Monitor</a> and
<a href="{@docRoot}tools/studio/index.html#heap-dump">HPROF viewer</a>.
<p>You can also still perform these procedures in the Android monitor:</p>
@@ -655,10 +655,12 @@ HPROF tool. The major difference in an Android heap dump is due to the fact that
number of allocations in the Zygote process. But because the Zygote allocations are shared across
all app processes, they don’t matter very much to your own heap analysis.</p>
<p>To analyze your heap dump, you can use a standard tool like jhat or the <a href=
"http://www.eclipse.org/mat/downloads.php">Eclipse Memory Analyzer Tool</a> (MAT). However, first
<p>To analyze your heap dump, you can use <a href=
"{@docRoot}tools/help/am-memory.html">Memory Monitor</a> in Android Studio.
You can also use a standard tool like jhat. However, first
you'll need to convert the HPROF file from Android's format to the J2SE HPROF format. You can do
this using the <code>hprof-conv</code> tool provided in the <code>&lt;sdk&gt;/platform-tools/</code>
this using the <code>hprof-conv</code> tool provided in the
<code>&lt;sdk&gt;/platform-tools/</code>
directory. Simply run the <code>hprof-conv</code> command with two arguments: the original HPROF
file and the location to write the converted HPROF file. For example:</p>
@@ -666,11 +668,9 @@ file and the location to write the converted HPROF file. For example:</p>
hprof-conv heap-original.hprof heap-converted.hprof
</pre>
<p class="note"><strong>Note:</strong> If you're using the version of DDMS that's integrated into
Eclipse, you do not need to perform the HPROF conversation—it performs the conversion by
default.</p>
<p>You can now load the converted file in MAT or another heap analysis tool that understands
<p>You can now load the converted file into a heap analysis tool that understands
the J2SE HPROF format.</p>
<p>When analyzing your heap, you should look for memory leaks caused by:</p>
@@ -682,77 +682,6 @@ reference to the container Activity or Context.</li>
</ul>
<h3 id="EclipseMat">Using the Eclipse Memory Analyzer Tool</h3>
<p>The <a href=
"http://www.eclipse.org/mat/downloads.php">Eclipse Memory Analyzer Tool</a> (MAT) is just one
tool that you can use to analyze your heap dump. It's also quite powerful so most of its
capabilities are beyond the scope of this document, but here are a few tips to get you started.
<p>Once you open your converted HPROF file in MAT, you'll see a pie chart in the Overview,
showing what your largest objects are. Below this chart, are links to couple of useful features:</p>
<ul>
<li>The <strong>Histogram view</strong> shows a list of all classes and how many instances
there are of each.
<p>You might want to use this view to find extra instances of classes for which you know there
should be only a certain number. For example, a common source of leaks is additional instance of
your {@link android.app.Activity} class, for which you should usually have only one instance
at a time. To find a specific class instance, type the class name into the <em>&lt;Regex></em>
field at the top of the list.
<p>When you find a class with too many instances, right-click it and select
<strong>List objects</strong> &gt; <strong>with incoming references</strong>. In the list that
appears, you can determine where an instance is retained by right-clicking it and selecting
<strong>Path To GC Roots</strong> &gt; <strong>exclude weak references</strong>.</p>
</li>
<li>The <strong>Dominator tree</strong> shows a list of objects organized by the amount
of retained heap.
<p>What you should look for is anything that's retaining a portion of heap that's roughly
equivalent to the memory size you observed leaking from the <a href="#LogMessages">GC logs</a>,
<a href="#ViewHeap">heap updates</a>, or <a href="#TrackAllocations">allocation
tracker</a>.
<p>When you see something suspicious, right-click on the item and select
<strong>Path To GC Roots</strong> &gt; <strong>exclude weak references</strong>. This opens a
new tab that traces the references to that object which is causing the alleged leak.</p>
<p class="note"><strong>Note:</strong> Most apps will show an instance of
{@link android.content.res.Resources} near the top with a good chunk of heap, but this is
usually expected when your app uses lots of resources from your {@code res/} directory.</p>
</li>
</ul>
<img src="{@docRoot}images/tools/mat-histogram@2x.png" width="760" alt="" />
<p class="img-caption"><strong>Figure 4.</strong> The Eclipse Memory Analyzer Tool (MAT),
showing the Histogram view and a search for "MainActivity".</p>
<p>For more information about MAT, watch the Google I/O 2011 presentation,
<a href="http://www.youtube.com/watch?v=_CruQY55HOk">Memory management for Android apps</a>,
which includes a walkthrough using MAT beginning at about <a href=
"http://www.youtube.com/watch?v=_CruQY55HOk&amp;feature=player_detailpage#t=1270">21:10</a>.
Also refer to the <a href="http://wiki.eclipse.org/index.php/MemoryAnalyzer">Eclipse Memory
Analyzer documentation</a>.</p>
<h4 id="MatCompare">Comparing heap dumps</h4>
<p>You may find it useful to compare your app's heap state at two different points in time in order
to inspect the changes in memory allocation. To compare two heap dumps using MAT:</p>
<ol>
<li>Create two HPROF files as described above, in <a href="#HeapDump">Capturing a Heap Dump</a>.
<li>Open the first HPROF file in MAT (<strong>File</strong> > <strong>Open Heap Dump</strong>).
<li>In the Navigation History view (if not visible, select <strong>Window</strong> >
<strong>Navigation History</strong>), right-click on <strong>Histogram</strong> and select
<strong>Add to Compare Basket</strong>.
<li>Open the second HPROF file and repeat steps 2 and 3.
<li>Switch to the <em>Compare Basket</em> view and click <strong>Compare the Results</strong>
(the red "!" icon in the top-right corner of the view).
</ol>
<h2 id="TriggerLeaks">Triggering Memory Leaks</h2>

4
docs/html/tools/help/adb.jd Normal file → Executable file
View File

@@ -29,7 +29,7 @@ three components: </p>
<ul>
<li>A client, which runs on your development machine. You can invoke a client from a shell
by issuing an adb command. Other Android tools such as the ADT plugin and DDMS also create
by issuing an adb command. Other Android tools such as DDMS also create
adb clients. </li>
<li>A server, which runs as a background process on your development machine. The server
manages communication between the client and the adb daemon running on an emulator or device. </li>
@@ -361,7 +361,7 @@ the hardware device.
<p>For more information about how to create an .apk file that you can install on an emulator/device
instance, see <a href="{@docRoot}tools/building/index.html">Building and Running</a></p>
<p>Note that, if you are using the Eclipse IDE and have the ADT plugin installed, you do not need to use adb (or aapt) directly to install your application on the emulator/device. Instead, the ADT plugin handles the packaging and installation of the application for you. </p>
<p>Note that, if you are using Android Studio, you do not need to use adb (or aapt) directly to install your application on the emulator/device. Instead, Android Studio handles the packaging and installation of the application for you. </p>

4
docs/html/tools/help/sdk-manager.jd Normal file → Executable file
View File

@@ -34,7 +34,7 @@ SDK checking: </p>
</ul>
<p class="note"><strong>Tip:</strong> The standalone SDK Manager is still available from the
command line, but we recommend it only for use with Eclipse ADT and standalone SDK installations.</p>
command line, but we recommend it only for use with standalone SDK installations.</p>
<p>By default, the SDK Manager installs the latest packages and tools. Click the checkbox next to
each additional SDK platform and tool that you want to install. Clear the
@@ -99,7 +99,7 @@ Android Virtual Devices (AVDs) in the
Android APIs (such as <a href="{@docRoot}guide/components/fragments.html">fragments</a>,
plus others not included in the framework at all) on devices running
a platform version as old as Android 1.6. All of the activity templates available when creating
a new project with the <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a>
a new project with Android Studio
require this. For more information, read <a
href="{@docRoot}tools/support-library/index.html">Support Library</a>.</dd>

8
docs/html/tools/help/zipalign.jd Normal file → Executable file
View File

@@ -16,12 +16,12 @@ when running the application.</p>
<p>This tool should always be used to align your .apk file before
distributing it to end-users. The Android build tools can handle
this for you. When using Eclipse with the ADT plugin, the Export Wizard
will automatically zipalign your .apk after it signs it with your private key.
this for you. Android Studio automatically aligns your .apk after it signs it with your
private key.
The build scripts used
when compiling your application with Ant will also zipalign your .apk,
when compiling your application with Gradle also align your .apk,
as long as you have provided the path to your keystore and the key alias in
your project {@code ant.properties} file, so that the build tools
your project {@code gradle.properties} file, so that the build tools
can sign the package first.</p>
<p class="caution"><strong>Caution:</strong> zipalign must only be performed

2
docs/html/training/contacts-provider/retrieve-names.jd Normal file → Executable file
View File

@@ -230,7 +230,7 @@ public class ContactsFragment extends Fragment implements
{@link android.provider.ContactsContract.Contacts#DISPLAY_NAME_PRIMARY
Contacts.DISPLAY_NAME_PRIMARY} requires Android 3.0 (API version 11) or later, setting your
app's <code>minSdkVersion</code> to 10 or below generates an Android Lint warning in
Eclipse with ADK. To turn off this warning, add the annotation
Android Studio. To turn off this warning, add the annotation
<code>@SuppressLint("InlinedApi")</code> before the definition of <code>FROM_COLUMNS</code>.
</p>
<h3 id="InitializeFragment">Initialize the Fragment</h3>

5
docs/html/training/in-app-billing/preparing-iab-app.jd Normal file → Executable file
View File

@@ -84,9 +84,9 @@ presented with the welcome screen.</li>
<p>To add the In-app Billing Version 3 library to your new In-app Billing project:</p>
<ol>
<li>Copy the {@code TrivialDrive} sample files into your Android project.</li>
<li>Modify the package name in the files you copied to use the package name for your project. In Eclipse, you can use this shortcut: right-click the package name, then select <strong>Refactor</strong> > <strong>Rename</strong>.</li>
<li>Modify the package name in the files you copied to use the package name for your project. In Android Studio, you can use this shortcut: right-click the package name, then select <strong>Refactor</strong> > <strong>Rename</strong>.</li>
<li>Open the {@code AndroidManifest.xml} file and update the package attribute value to use the package name for your project.</li>
<li>Fix import statements as needed so that your project compiles correctly. In Eclipse, you can use this shortcut: press <strong>Ctrl+Shift+O</strong> in each file showing errors.</li>
<li>Fix import statements as needed so that your project compiles correctly. In Android Studio, you can use this shortcut: press <strong>Ctrl+Shift+O</strong> in each file showing errors.</li>
<li>Modify the sample to create your own application. Remember to copy the Base64 public license key for your application from the Developer Console over to your {@code MainActivity.java}.</li>
</ol>
@@ -98,7 +98,6 @@ presented with the welcome screen.</li>
<li>In Android Studio: Create a directory named {@code aidl} under {@code src/main}, add a new
package {@code com.android.vending.billing} in this directory, and import the
{@code IInAppBillingService.aidl} file into this package.</li>
<li>In Eclipse: Import the {@code IInAppBillingService.aidl} file into your {@code /src} directory.</li>
<li>In other dev environments: Create the following directory {@code /src/com/android/vending/billing} and copy the {@code IInAppBillingService.aidl} file into this directory.</li>
</ul>
</li>

4
docs/html/training/tv/start/start.jd Normal file → Executable file
View File

@@ -367,7 +367,5 @@ supported by Android TV.</p>
For more information about using emulators see, <a href="{@docRoot}tools/devices/emulator.html">
Using the Emulator</a>. For more information on deploying apps from Android Studio to virtual
devices, see <a href="{@docRoot}sdk/installing/studio-debug.html">Debugging with Android
Studio</a>. For more information about deploying apps to emulators from Eclipse with ADT, see
<a href="{@docRoot}tools/building/building-eclipse.html">Building and Running from Eclipse with
ADT</a>.
Studio</a>.
</p>

6
docs/html/training/volley/index.jd Normal file → Executable file
View File

@@ -77,9 +77,9 @@ git clone https://android.googlesource.com/platform/frameworks/volley
</pre>
</li>
<li>Import the downloaded source into your app project as an Android library project
(as described in <a href="{@docRoot}tools/projects/projects-eclipse.html">
Managing Projects from Eclipse with ADT</a>, if you're using Eclipse) or make a
<li>Import the downloaded source into your app project as an Android library module
(as described in <a href="{@docRoot}sdk/installing/create-project.html#SettingUpLibraryModule">
Managing Projects from Android Studio</a>, if you're using Android Studio) or make a
<a href="{@docRoot}guide/faq/commontasks.html#addexternallibrary"><code>.jar</code> file</a>.</li>
</ol>