1page.title=SDK Tools Notes 2@jd:body 3 4<p>SDK Tools is a downloadable component for the Android SDK. It 5includes the complete set of development and debugging tools for the Android 6SDK.</p> 7 8<p>This document provides version-specific information about SDK Tools 9releases. To keep up-to-date on new releases, make sure that you view this page 10at <a 11href="http://developer.android.com/sdk/tools-notes.html">http://developer. 12android.com/sdk/tools-notes.html</a>.</p> 13 14<p>To install SDK Tools in your SDK environment (and replace the 15existing 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 18<h2 id="4">SDK Tools, Revision 4</h2> 19 20<p>December 2009. SDK Tools r4 provides several new features for developers and includes 21fixes for several issues, as described below. </p> 22 23<h3>Dependencies</h3> 24 25<p>SDK Tools r4 is compatible with ADT 0.9.5 and later, but not 26compatible with earlier versions. If you are developing in Eclipse with ADT, you 27<strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you 28install SDK Tools r4 in your SDK. </p> 29 30<h3>General notes</h3> 31<ul> 32<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a 33compatibility issue between GTK and SWT.</li> 34</ul> 35 36<h3>Android SDK and AVD Manager</h3> 37<ul> 38<li>AVD Launch dialog now shows scale value.</li> 39<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no 40skin name specified.</li> 41<li>Fixes XML validation issue in on older Java versions.</li> 42<li>No longer forces the use of Java 1.5 on Mac OS X.</li> 43</ul> 44 45<h3>Emulator</h3> 46<ul> 47<li>No longer limits the size of the system partition.</li> 48</ul> 49 50<h3>Ant build tools</h3> 51<ul> 52<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li> 53</ul> 54 55 56<h2 id="3">SDK Tools, Revision 3</h2> 57 58<p>October 2009. SDK Tools r3 provides several new features for developers and includes 59fixes for several tools issues, as described below. </p> 60 61<h3>Dependencies</h3> 62 63<p>SDK Tools r3 is compatible with ADT 0.9.4 and later, but not 64compatible with earlier versions. If you are developing in Eclipse with ADT, you 65<strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you 66install SDK Tools r3 in your SDK. </p> 67 68<h3>Android tool</h3> 69<ul> 70<li>Adds new <code>android create test-project</code> and <code>android update 71test-project</code> commands to allow for greater flexibility in the location of the 72main and test projects.</li> 73</ul> 74 75<h3>DDMS</h3> 76<ul> 77<li>Adds a button to dump HPROF file for running appplications (app must be able 78to write to the sdcard).</li> 79<li>Button to start/stop profiling of a running application (app must be able to 80write to the sdcard). Upon stop, Traceview will automatically be launched to 81display the trace.</li> 82<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X 8310.6.</li> 84<li>Fixed screenshot support for devices running 32-bit framebuffer.</li> 85</ul> 86 87<h3>Android SDK and AVD Manager</h3> 88<ul> 89<li>Provides a new UI that lets you set options for controlling 90the emulator skin, screen size/density, and scale factor used when launching 91an AVD.</li> 92<li>Provides improved AVD creation UI, which lets you customize the hardware 93properties of your AVDs.</li> 94<li>Now enforces dependencies between platforms and tools components, and 95between SDK add-ons and platforms.</li> 96</ul> 97 98<h3>Layoutopt, a new tool for optimizing layouts</h3> 99 100<p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line 101tool that helps you optimize your layout hierarchies. When run against your 102layout files, the tool analyzes their hierarchies and notifies you of 103inefficiencies and other potential issues. The tool also provides simple 104solutions for the issues it finds. For usage, see <a 105href="{@docRoot}guide/developing/tools/layoutopt.html">layoutopt</a>. 106</p> 107 108