Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 1 | page.title=SDK Tools Notes |
| 2 | @jd:body |
| 3 | |
| 4 | <p>SDK Tools is a downloadable component for the Android SDK. It |
| 5 | includes the complete set of development and debugging tools for the Android |
| 6 | SDK.</p> |
| 7 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 8 | <p>This document provides version-specific information about SDK Tools |
| 9 | releases. To keep up-to-date on new releases, make sure that you view this page |
| 10 | at <a |
| 11 | href="http://developer.android.com/sdk/tools-notes.html">http://developer. |
| 12 | android.com/sdk/tools-notes.html</a>.</p> |
| 13 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 14 | <p>To install SDK Tools in your SDK environment (and replace the |
| 15 | existing tools), use the Android SDK and AVD Manager. For more information, see |
| 16 | <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>. </p> |
| 17 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 18 | |
| 19 | <h2 id="3">SDK Tools, Revision 3</h2> |
| 20 | |
| 21 | <p>SDK Tools 3 provides several new features for developers and includes |
| 22 | fixes for several tools issues, as described below. </p> |
| 23 | |
| 24 | <h3>Dependencies</h3> |
| 25 | |
| 26 | <p>SDK Tools 3 is compatible with ADT 0.9.4 and later, but not |
| 27 | compatible with earlier versions. If you are developing in Eclipse with ADT, you |
| 28 | <strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you |
| 29 | install SDK Tools 3 in your SDK. </p> |
| 30 | |
| 31 | <h3>Android tool</h3> |
| 32 | <ul> |
| 33 | <li>Adds new <code>android create test-project</code> and <code>android update |
| 34 | test-project</code> commands to allow for greater flexibility in the location of the |
| 35 | main and test projects.</li> |
| 36 | </ul> |
| 37 | |
| 38 | <h3>DDMS</h3> |
| 39 | <ul> |
| 40 | <li>Adds a button to dump HPROF file for running appplications (app must be able |
| 41 | to write to the sdcard).</li> |
| 42 | <li>Button to start/stop profiling of a running application (app must be able to |
| 43 | write to the sdcard). Upon stop, Traceview will automatically be launched to |
| 44 | display the trace.</li> |
| 45 | <li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X |
| 46 | 10.6.</li> |
| 47 | <li>Fixed screenshot support for devices running 32-bit framebuffer.</li> |
| 48 | </ul> |
| 49 | |
| 50 | <h3>Android SDK and AVD Manager</h3> |
| 51 | <ul> |
| 52 | <li>Provides a new UI that lets you set options for controlling |
| 53 | the emulator skin, screen size/density, and scale factor used when launching |
| 54 | an AVD.</li> |
| 55 | <li>Provides improved AVD creation UI, which lets you customize the hardware |
| 56 | properties of your AVDs.</li> |
| 57 | <li>Now enforces dependencies between platforms and tools components, and |
| 58 | between SDK add-ons and platforms.</li> |
| 59 | </ul> |
| 60 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 61 | <h3>Layoutopt, a new tool for optimizing layouts</h3> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 62 | |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 63 | <p>The SDK Tools 3 package includes <code>layoutopt</code>, a new command-line |
| 64 | tool that helps you optimize your layout hierarchies. When run against your |
| 65 | layout files, the tool analyzes their hierarchies and notifies you of |
| 66 | inefficiencies and other potential issues. The tool also provides simple |
| 67 | solutions for the issues it finds. For usage, see <a |
| 68 | href="{@docRoot}guide/developing/tools/layoutopt.html">layoutopt</a>. |
| 69 | </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 70 | |