blob: 6cb246cbf407a75b6719c3f3173230482d2f584c [file] [log] [blame]
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001page.title=SDK Tools
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07002@jd:body
3
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07004<p>SDK Tools is a downloadable component for the Android SDK. It includes the
Robert Ly6c81c302011-10-05 12:59:29 -07005complete set of development and debugging tools for the Android SDK.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07006
Robert Lydec97362011-09-22 10:33:28 -07007<p>If you are new to the Android SDK, the <a
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07008href="{@docRoot}sdk/index.html">SDK starter package</a> installs the
9latest revision of the SDK Tools in the <code>&lt;sdk&gt;/tools</code> directory.</p>
Dirk Doughertybf15ce62009-10-23 19:17:12 -070010
Dirk Dougherty5c2a5022009-12-17 16:59:46 -080011<p>If you are already using the SDK and you want to update to the latest version
12of the SDK Tools, use the <em>Android SDK and AVD Manager</em> to get the
13update, rather than downloading a new SDK starter package. For more information
14about how to update, see <a
15href="{@docRoot}sdk/adding-components.html#UpdatingComponents">Updating SDK
Robert Ly6c81c302011-10-05 12:59:29 -070016Components</a>.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070017
Robert Lyedc2aac2011-01-14 16:25:09 -080018
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070019<h2 id="notes">Revisions</h2>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -080020
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070021<p>The sections below provide notes about successive releases of
22the SDK Tools, as denoted by revision number. To determine what revision of the SDK
23Tools you are using, refer to the "Installed Packages" listing in the Android SDK
24and AVD Manager. </p>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -080025
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070026<script type="text/javascript">
27function toggleDiv(link) {
28 var toggleable = $(link).parent();
29 if (toggleable.hasClass("closed")) {
30 //$(".toggleme", toggleable).slideDown("fast");
31 toggleable.removeClass("closed");
32 toggleable.addClass("open");
33 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));
34 } else {
35 //$(".toggleme", toggleable).slideUp("fast");
36 toggleable.removeClass("open");
37 toggleable.addClass("closed");
38 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));
39 }
40 return false;
41}
42</script>
43<style>
44.toggleable {
45padding: .25em 1em;
46}
47.toggleme {
48 padding: 1em 1em 0 2em;
49 line-height:1em;
50}
51.toggleable a {
52 text-decoration:none;
53}
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070054.toggleme a {
55 text-decoration:underline;
56}
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070057.toggleable.closed .toggleme {
58 display:none;
59}
60#jd-content .toggle-img {
61 margin:0;
62}
63</style>
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070064
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070065<div class="toggleable opened">
66 <a href="#" onclick="return toggleDiv(this)">
Robert Ly6c81c302011-10-05 12:59:29 -070067 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
68 width="9px" />SDK Tools, Revision 14</a> <em>(October 2011)</em>
Robert Ly6cf7d9a2011-10-12 15:30:35 -070069
Robert Ly6c81c302011-10-05 12:59:29 -070070 <div class="toggleme">
Robert Ly6cf7d9a2011-10-12 15:30:35 -070071 <p class="note"><strong>Important:</strong> To download the new Android
72 4.0 system components from the Android SDK Manager, you must first update the
73 SDK tools to revision 14 and restart the Android SDK Manager. If you do not,
74 the Android 4.0 system components will not be available for download.</p>
Robert Ly6c81c302011-10-05 12:59:29 -070075 <dl>
76<dt>Dependencies:</dt>
77<dd>
78 <ul><li>Android SDK Platform-tools revision 8 or later.</li>
79 <li>If you are developing in Eclipse with ADT, note that the SDK Tools r14 is designed for use
80 with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a
81 href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li>
82 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
83 Ant</a> 1.8 or later.</li>
84</ul>
85
86<dt>General notes:</dt>
87<dd>
88 <ul>
Robert Ly6cf7d9a2011-10-12 15:30:35 -070089 <li>Added webcam support to Android 4.0 or later platforms to emulate rear-facing cameras when one webcam is present,
90 and to emulate both rear-facing and front-facing cameras when two webcams are present. Webcam suport is for Windows and Linux only.
91 Mac support will come in a later release.</li>
Robert Ly6c81c302011-10-05 12:59:29 -070092 <li>Changed <code>default.properties</code> to <code>project.properties</code> and
93 <code>build.properties</code> to <code>ant.properties</code>. Any existing
94 projects that you build with Ant must be updated with the <code>android update project</code>
95 command.</li>
96 <li>Changed Ant <code>build.xml</code> file to support improvements to the
97 build system and added and modified Ant commands to support these changes. For a list of Ant
98commands, see the
99<a href="{@docRoot}guide/developing/building/building-cmdline.html#AntReference">Ant Command
100Reference</a>.</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700101 <li>Changed how library projects are built.</a></li>
102 <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no
103 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
104 run once for each library project.</li>
105 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
106 crunching all existing PNG files, all the time.</li>
107 <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
108info</a>).</li>
109 </ul>
110 <p>For a complete overview of the build system changes and what you need to do to support them,
111see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
112site</a>.</p>
113</dd>
114</dl>
115</div>
116</div>
117
118<div class="toggleable closed">
119 <a href="#" onclick="return toggleDiv(this)">
120 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
121 width="9px" />
Robert Lydec97362011-09-22 10:33:28 -0700122SDK Tools, Revision 13</a> <em>(September 2011)</em>
123 <div class="toggleme">
124 <dl>
125<dt>Dependencies:</dt>
126<dd>
127<p>If you are developing in Eclipse with ADT, note that the SDK Tools r13 is designed for use with
128ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
129href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
130
131<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
132Ant</a> 1.8 or later.</p>
133
134<dt>General notes:</dt>
135<dd>
136 <ul>
137 <li>Fix compilation issue in Ant (<code>dex</code> step) when paths have spaces.</li>
138 <li>Fix issue in emulator installation when paths have spaces.</li>
139 <li>Fix issue when AVD paths have spaces.</li>
140 <li>Fix rendering issue when using emulator scaling (<a href="http://code.google.com/p/android/issues/detail?id=18299">see more</a>).</li>
141 </ul>
142</dd>
143</dl>
144</div>
145</div>
146
147
148<div class="toggleable closed">
149 <a href="#" onclick="return toggleDiv(this)">
150 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Robert Ly31ee77e2011-07-06 11:16:19 -0700151SDK Tools, Revision 12</a> <em>(July 2011)</em>
Robert Ly205d1c32011-06-28 13:13:14 -0700152 <div class="toggleme">
153 <dl>
154<dt>Dependencies:</dt>
155<dd>
156<p>If you are developing in Eclipse with ADT, note that the SDK Tools r12 is designed for use with
157ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
158href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
159
160<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
161Ant</a> 1.8 or later.</p>
162
163<dt>General notes:</dt>
164<dd>
165 <ul>
166 <li>The AVD manager and emulator can now use system images
167 compiled for ARM v7 and x86 CPUs.</li>
168 </ul>
169</dd>
170</dl>
171</div>
172</div>
173
174<div class="toggleable closed">
175 <a href="#" onclick="return toggleDiv(this)">
176 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Doughertyb7c7f152011-03-25 11:54:46 -0700177SDK Tools, Revision 11</a> <em>(May 2011)</em>
Robert Lyccea5d22011-02-11 14:59:36 -0800178 <div class="toggleme">
179 <dl>
180<dt>Dependencies:</dt>
181<dd>
Scott Main19f72012011-05-05 18:27:49 -0700182<p>If you are developing in Eclipse with ADT, note that the SDK Tools r11 is designed for use with
183ADT 10.0.1 and later. If you haven't already, we highly recommend updating your <a
184href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 10.0.1.</p>
185
186<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
187Ant</a> 1.8 or later.</p>
188
189<dt>General notes:</dt>
190<dd>
191 <ul>
192 <li>Miscellaneous emulator changes to support Android 3.1.</li>
193 </ul>
194</dd>
195</dl>
196</div>
197</div>
198
199
200<div class="toggleable closed">
201 <a href="#" onclick="return toggleDiv(this)">
202 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
203width="9px" />
204SDK Tools, Revision 10</a> <em>(February 2011)</em>
205 <div class="toggleme">
206 <dl>
207<dt>Dependencies:</dt>
208<dd>
Robert Lyccea5d22011-02-11 14:59:36 -0800209<p>If you are developing in Eclipse with ADT, note that the SDK Tools r10 is
210designed for use with ADT 10.0.0 and later. After installing SDK Tools r10, we
211highly recommend updating your ADT Plugin to 10.0.0.</p>
212
213<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
214Ant</a> 1.8 or later.</p>
215
216<dt>General notes:</dt>
217<dd>
218 <ul>
Scott Main19f72012011-05-05 18:27:49 -0700219 <li>The tools now automatically generate Java Programming Language source files (in the
220<code>gen</code> directory) and
Robert Lyccea5d22011-02-11 14:59:36 -0800221 bytecode (in the <code>res/raw</code> directory) from your native <code>.rs</code> files</li>
222 </ul>
223</dd>
224</dl>
225</div>
226</div>
227
228
229
230<div class="toggleable closed">
231 <a href="#" onclick="return toggleDiv(this)">
232 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Robert Lyedc2aac2011-01-14 16:25:09 -0800233SDK Tools, Revision 9</a> <em>(January 2011)</em>
234 <div class="toggleme">
235 <dl>
236<dt>Dependencies:</dt>
237<dd>
238<p>If you are developing in Eclipse with ADT, note that the SDK Tools r9 is
239designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we
240highly recommend updating your ADT Plugin to 9.0.0.</p>
241
242<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
243Ant</a> 1.8 or later.</p>
244
245<dt>Upgrading to SDK Tools r9:</dt>
246<dd>
247<p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location
248for the <code>adb</code> tool has changed from <code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
249<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
250add the new location to your PATH and modify any custom build scripts to
251reference the new location. Copying the <code>adb</code> executable from the new
252location to the old is not recommended, since subsequent updates to the SDK
253Tools will delete the file.</p>
254</dd>
255
256<dt>General notes:</dt>
257<dd>
258 <ul>
259 <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes:
260 <ul>
261 <li>classes that extend {@link android.preference.Preference}</li>
262 <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li>
263 </ul>
264 </li>
265 <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>,
266 and <code>java.target</code> properties.</li>
267 <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li>
268 <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li>
269 <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the
270 <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li>
Scott Mainf9af3012011-01-27 11:26:29 -0800271 <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can
272enable snapshots for the system state. The emulator will then restore to the state when it last
273closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active
274development and might not always perform as expected.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800275 <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li>
276 <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support
277 the new location of <code>adb</code>.</li>
Scott Main04f04b22011-01-21 19:11:23 -0800278 <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM
279instruction set architecture on your computer, emulator performance is slow. We're working hard to
280resolve the performance issues and it will improve in future releases.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800281 </ul>
282</dd>
283</dl>
284</div>
285</div>
286
287<div class="toggleable closed">
288 <a href="#" onclick="return toggleDiv(this)">
289 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700290SDK Tools, Revision 8</a> <em>(December 2010)</em>
291 <div class="toggleme">
292
293<dl>
294<dt>Dependencies:</dt>
295<dd>
296<p>If you are developing in Eclipse with ADT, note that SDK Tools r8 is
297designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we
298highly recommend updating your ADT Plugin to 8.0.0.</p>
299
Scott Main92b03082010-12-14 17:55:27 -0800300<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
301Ant</a> 1.8 or later.</p>
302
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700303<p>Also note that SDK Tools r8 requires a new SDK component called
304<em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms
305(Android 2.1, Android 2.2, and so on) use the same (latest) version of build
306tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and
307<code>dx</code>. To download the Platform-tools component, use the Android SDK
308Manager, as described in <a href="adding-components.html">Adding SDK
309Components</a></p>
310
311<dt>Upgrading from SDK Tools r7:</dt>
312<dd>
313<p>If you are upgrading to SDK Tools r8 from an earlier version, note that the
314the default installed location for the <code>adb</code> tool has changed from
315<code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
316<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
317add the new location to your PATH and modify any custom build scripts to
318reference the new location. Copying the <code>adb</code> executable from the new
319location to the old is not recommended, since subsequent updates to the SDK
320Tools will delete the file.</p>
321</dd>
322
323<dt>General notes:</dt>
324<dd>
325<ul>
326<li>All SDK platforms now support Library Projects.</li>
327<li>Support for a true debug build. Developers no longer need to add the
328<code>android:debuggable</code> attribute to the
329<code>&lt;application&gt;</code> tag in the manifest &mdash; the build tools add
330the attribute automatically. In Eclipse/ADT, all incremental builds are assumed
331to be debug builds, so the tools insert <code>android:debuggable="true"</code>.
332When exporting a signed release build, the tools do not add the attribute. In
333Ant, a <code>ant debug</code> command automatically inserts the
334<code>android:debuggable="true"</code> attribute, while <code>ant release</code>
335does not. If <code>android:debuggable="true"</code> is manually set, then
336<code>ant release</code> will actually do a debug build, rather than a release
337build.</li>
338<li>Automatic ProGuard support in release builds. Developers generate a ProGuard
339configuration file using the <code>android</code> tool &mdash; the build tools
340then automatically run ProGuard against the project sources during the build.
341For more information, see the <a
342href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a>
343documentation. </li>
344<li>New overridable Ant javac properties: <code>java.encoding</code>,
345<code>java.source</code>, and <code>java.target</code> (default values are
346"ascii", "1.5", and "1.5", respectively).</li>
347<li>New UI for the HierarchyViewer tool.</li>
348</ul>
349</dd>
350</dl>
351 </div>
352</div>
353
354<div class="toggleable closed">
355 <a href="#" onclick="return toggleDiv(this)">
356 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty022171b2010-07-30 19:24:17 -0700357SDK Tools, Revision 7</a> <em>(September 2010)</em>
358 <div class="toggleme">
359
360<dl>
361<dt>Dependencies:</dt>
362<dd>
363<p>If you are developing in Eclipse with ADT, note that SDK Tools r7 is
364designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we
365highly recommend updating your ADT Plugin to 0.9.8.</p>
366</dd>
367
368<dt>General notes:</dt>
369<dd>
370<ul>
371<li>Added support for library projects that depend on other library projects.</li>
372<li>Adds support for aidl files in library projects.</li>
373<li>Adds support for extension targets in Ant build to perform tasks between the
374normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and
375<code>-post-compile</code>.</li>
376<li>Adds support for "headless" SDK update. See <code>android -h update sdk</code>
377for more information.</li>
378<li>Fixes location control in DDMS to work in any locale not using '.' as a
379decimal point.</li>
380</li>
381</ul>
382</dd>
383</dl>
384 </div>
385</div>
386
387<div class="toggleable closed">
388 <a href="#" onclick="return toggleDiv(this)">
389 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700390SDK Tools, Revision 6</a> <em>(May 2010)</em>
391 <div class="toggleme">
392
393<dl>
394<dt>Dependencies:</dt>
395<dd>
396<p>If you are developing in Eclipse with ADT, note that SDK Tools r6 is
397designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we
398highly recommend updating your ADT Plugin to 0.9.7.</p>
399</dd>
400
401<dt>Library projects:</dt>
402<dd>
403<p>The SDK Tools now support the use of <em>library projects</em> during
404development, a capability that lets you store shared Android application
405code and resources in a separate development project. You can then reference the
406library project from other Android projects and, at build time, the tools
407compile the shared code and resources as part of the dependent applications.
408More information about this feature is available in the <a
Robert Lyc74a69a82011-01-04 22:48:02 -0800409href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p>
410<p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a>
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700411provides the equivalent library project support.</p>
412</dd>
413</dl>
414 </div>
415</div>
416
417<div class="toggleable closed">
418 <a href="#" onclick="return toggleDiv(this)">
Dirk Dougherty74a74d32010-09-09 18:40:13 -0700419 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700420SDK Tools, Revision 5</a> <em>(March 2010)</em>
421 <div class="toggleme">
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800422
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700423<dl>
424<dt>Dependencies:</dt>
425<dd><ul>
426<li>If you are developing in Eclipse with ADT, note that SDK Tools r5 is
427designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we
428highly recommend updating your ADT Plugin to 0.9.6.</li>
429<li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer
430officially supported. </li>
431</ul>
432</dd>
433
434<dt>SDK and AVD Manager:</dt>
435<dd>
436<ul>
437<li>Fixes SSL download for the standalone version of the SDK Updater.</li>
438<li>Fixes issue with 64-bit JVM on Windows.</li>
439<li>Adds support for platform samples components.</li>
440<li>Improves support for dependency between components.</li>
441<li>AVDs now sorted by API level.</li>
442<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
443<li>Prevents deletion of running AVDs.</li>
444<li>Settings are now automatically saved, no need to click "Apply".</li>
445</ul>
446</dd>
447
448<dt>Emulator:</dt>
449<dd>
450<ul>
451<li>Emulator now requires SD card to be 9MB or more.</li>
452</ul>
453</dd>
454
455<dt>Layoutopt:</dt>
456<dd>
457<ul>
458<li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li>
459</ul>
460</dd>
461</dl>
462 </div>
463</div>
464
465<div class="toggleable closed">
466 <a href="#" onclick="return toggleDiv(this)">
467 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
468SDK Tools, Revision 4</a> <em>(December 2009)</em>
469 <div class="toggleme">
470
471<dl>
472<dt>Dependencies:</dt>
473<dd><p>SDK Tools r4 is compatible with ADT 0.9.5 and later, but not
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800474compatible with earlier versions. If you are developing in Eclipse with ADT, you
475<strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700476install SDK Tools r4 in your SDK. </p></dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800477
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700478<dt>General notes:</dt>
479<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800480<ul>
Robert Lydec97362011-09-22 10:33:28 -0700481<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800482compatibility issue between GTK and SWT.</li>
483</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700484</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800485
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700486<dt>Android SDK and AVD Manager:</dt>
487<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800488<ul>
489<li>AVD Launch dialog now shows scale value.</li>
Robert Lydec97362011-09-22 10:33:28 -0700490<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800491skin name specified.</li>
492<li>Fixes XML validation issue in on older Java versions.</li>
493<li>No longer forces the use of Java 1.5 on Mac OS X.</li>
494</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700495</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800496
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700497<dt>Emulator:</dt>
498<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800499<ul>
500<li>No longer limits the size of the system partition.</li>
501</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700502</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800503
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700504<dt>Ant build tools:</dt>
505<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800506<ul>
507<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
508</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700509</dd>
510</dl>
511 </div>
512</div>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800513
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700514<div class="toggleable closed">
515 <a href="#" onclick="return toggleDiv(this)">
516 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
517SDK Tools, Revision 3</a> <em>(October 2009)</em>
518 <div class="toggleme">
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700519
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700520<dl>
521<dt>Dependencies:</dt>
522<dd><p>SDK Tools r3 is compatible with ADT 0.9.4 and later, but not
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700523compatible with earlier versions. If you are developing in Eclipse with ADT, you
524<strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700525install SDK Tools r3 in your SDK.</p>
526</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700527
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700528<dt>Android tool:</dt>
529<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700530<ul>
531<li>Adds new <code>android create test-project</code> and <code>android update
532test-project</code> commands to allow for greater flexibility in the location of the
533main and test projects.</li>
534</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700535</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700536
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700537<dt>DDMS:</dt>
538<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700539<ul>
Scott Main19f72012011-05-05 18:27:49 -0700540<li>Adds a button to dump HPROF file for running applications (app must be able
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700541to write to the sdcard).</li>
542<li>Button to start/stop profiling of a running application (app must be able to
543write to the sdcard). Upon stop, Traceview will automatically be launched to
544display the trace.</li>
545<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X
54610.6.</li>
547<li>Fixed screenshot support for devices running 32-bit framebuffer.</li>
548</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700549</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700550
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700551<dt>Android SDK and AVD Manager:</dt>
552<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700553<ul>
554<li>Provides a new UI that lets you set options for controlling
Robert Lydec97362011-09-22 10:33:28 -0700555the emulator skin, screen size/density, and scale factor used when launching
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700556an AVD.</li>
557<li>Provides improved AVD creation UI, which lets you customize the hardware
558properties of your AVDs.</li>
559<li>Now enforces dependencies between platforms and tools components, and
560between SDK add-ons and platforms.</li>
561</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700562</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700563
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700564<dt>Layoutopt, a new tool for optimizing layouts:</dt>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700565
Robert Lydec97362011-09-22 10:33:28 -0700566<dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line
567tool that helps you optimize your layout hierarchies. When run against your
568layout files, the tool analyzes their hierarchies and notifies you of
569inefficiencies and other potential issues. The tool also provides simple
570solutions for the issues it finds. For usage, see <a
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700571href="/guide/developing/tools/layoutopt.html">layoutopt</a>.</p>
572</dd>
573</dl>
574 </div>
575</div>