blob: 6e9fde1fb0f400173ebebf38706dc43bb541926a [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001page.title=Tools Overview
2@jd:body
3
4<img src="{@docRoot}assets/images/android_wrench.png" alt="" align="right">
5
6<p>The Android SDK includes a variety of custom tools that help you develop mobile
7applications on the Android platform. The most important of these are the Android
8Emulator and the Android Development Tools plugin for Eclipse, but the SDK also
9includes a variety of other tools for debugging, packaging, and installing your
10applications on the emulator. </p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080011
Dirk Dougherty1596b512009-04-21 15:00:26 -070012 <dl>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080013 <dt><a href="adt.html">Android Development Tools Plugin</a> (for the Eclipse IDE)</dt>
14 <dd>The ADT plugin adds powerful extensions to the Eclipse integrated environment,
15 making creating and debugging your Android applications easier and faster. If you
16 use Eclipse, the ADT plugin gives you an incredible boost in developing Android
17 applications.</dd>
Dirk Dougherty1596b512009-04-21 15:00:26 -070018 <dt><a href="emulator.html">Android Emulator</a></dt>
19 <dd>A QEMU-based device-emulation tool that you can use to design,
20 debug, and test your applications in an actual Android run-time environment. </dd>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080021
Dirk Dougherty7eeb5d52009-04-26 21:07:11 -070022 <dt><a href="avd.html">Android Virtual Devices (AVDs)</a></dt>
Dirk Dougherty1596b512009-04-21 15:00:26 -070023 <dd>Virtual device configurations that you create, to model device
24 characteristics in the Android Emulator. In each configuration, you can
25 specify the Android platform to run, the hardware options, and the
26 emulator skin to use. Each AVD functions as an independent device with
27 it's own storage for user data, SD card, and so on. </dd>
28
29 <dt><a href="hierarchy-viewer.html">Hierarchy Viewer</a></dt>
30 <dd>The Hierarchy Viewer tool allows you to debug and optimize your user interface.
31 It provides a visual representation of your layout's hierarchy of Views and a magnified inspector
32 of the current display with a pixel grid, so you can get your layout just right.
33 </dd>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080034
Dirk Doughertybf15ce62009-10-23 19:17:12 -070035 <dt><a href="layoutopt.html">layoutopt</a></dt>
36 <dd>This tool lets you quickly analyze your application's layouts for
37efficiency.
38 </dd>
39
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080040 <dt><a href="draw9patch.html">Draw 9-patch</a></dt>
41 <dd>The Draw 9-patch tool allows you to easily create a
42 {@link android.graphics.NinePatch} graphic using a WYSIWYG editor. It also previews stretched
43 versions of the image, and highlights the area in which content is allowed.
44 </dd>
45
46 <dt><a href="ddms.html" >Dalvik Debug Monitor
47 Service</a> (ddms)</dt>
48 <dd>Integrated with Dalvik, the Android platform's custom VM, this tool
49 lets you manage processes on an emulator or device and assists in debugging.
50 You can use it to kill processes, select a specific process to debug,
51 generate trace data, view heap and thread information, take screenshots
52 of the emulator or device, and more. </dd>
53
54 <dt><a href="adb.html" >Android Debug Bridge</a> (adb)</dt>
55 <dd>The adb tool lets you install your application's .apk files on an
56 emulator or device and access the emulator or device from a command line.
57 You can also use it to link a standard debugger to application code running
58 on an Android emulator or device.</dd>
59
60 <dt><a href="aapt.html">Android Asset
61 Packaging Tool</a> (aapt)</dt>
62 <dd>The aapt tool lets you create .apk files containing the binaries and
63 resources of Android applications.</dd>
64
65 <dt><a href="aidl.html" >Android Interface
66 Description Language</a> (aidl)</dt>
67 <dd>Lets you generate code for an interprocess interface, such as what
68 a service might use.</dd>
69
70 <dt><a href="adb.html#sqlite">sqlite3</a></dt>
71 <dd>Included as a convenience, this tool lets you access the SQLite data
72 files created and used by Android applications.</dd>
73
74 <dt><a href="traceview.html" >Traceview</a></dt>
75 <dd> This tool produces graphical analysis views of trace log data that you
76 can generate from your Android application. </dd>
77
78 <dt><a href="othertools.html#mksdcard">mksdcard</a></dt>
79 <dd>Helps you create a disk image that you can use with the emulator,
80 to simulate the presence of an external storage card (such as an SD card).</dd>
81
82 <dt><a href="othertools.html#dx">dx</a></dt>
83 <dd>The dx tool rewrites .class bytecode into Android bytecode
84 (stored in .dex files.)</dd>
85
86 <dt><a href="monkey.html">UI/Application
87 Exerciser Monkey</a></dt>
88 <dd>The Monkey is a program that runs on your emulator or device and generates pseudo-random
89 streams of user events such as clicks, touches, or gestures, as well as a number of system-
90 level events. You can use the Monkey to stress-test applications that you are developing,
91 in a random yet repeatable manner.</dd>
92
Dirk Dougherty1596b512009-04-21 15:00:26 -070093 <dt><a href="othertools.html#android">android</a></dt>
94 <dd>A script that lets you manage AVDs and generate <a
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080095 href="http://ant.apache.org/" title="Ant">Ant</a> build files that
Dirk Dougherty1596b512009-04-21 15:00:26 -070096 you can use to compile your Android applications. </dd>
Scott Main23110e42009-09-02 10:25:09 -070097
98 <dt><a href="zipalign.html">zipalign</a></dt>
99 <dd>An important .apk optimization tool. This tool ensures that all uncompressed data starts
100 with a particular alignment relative to the start of the file. This should always be used
101 to align .apk files after they have been signed.</dd>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800102</dl>
103