blob: f5b61ee13bdf7acdf70caeacaa8a775a4db14726 [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
Scott Maine09743272011-10-14 11:25:46 -070026<p>For a summary of all known issues in SDK Tools, see <a
27href="http://tools.android.com/release/knownissues">http://tools.android.com/release/knownissues</a>.</p>
28
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070029<script type="text/javascript">
30function toggleDiv(link) {
31 var toggleable = $(link).parent();
32 if (toggleable.hasClass("closed")) {
33 //$(".toggleme", toggleable).slideDown("fast");
34 toggleable.removeClass("closed");
35 toggleable.addClass("open");
36 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));
37 } else {
38 //$(".toggleme", toggleable).slideUp("fast");
39 toggleable.removeClass("open");
40 toggleable.addClass("closed");
41 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));
42 }
43 return false;
44}
45</script>
46<style>
47.toggleable {
48padding: .25em 1em;
49}
50.toggleme {
51 padding: 1em 1em 0 2em;
52 line-height:1em;
53}
54.toggleable a {
55 text-decoration:none;
56}
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070057.toggleme a {
58 text-decoration:underline;
59}
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070060.toggleable.closed .toggleme {
61 display:none;
62}
63#jd-content .toggle-img {
64 margin:0;
65}
66</style>
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070067
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070068<div class="toggleable opened">
69 <a href="#" onclick="return toggleDiv(this)">
Robert Ly6c81c302011-10-05 12:59:29 -070070 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
71 width="9px" />SDK Tools, Revision 14</a> <em>(October 2011)</em>
Robert Ly6cf7d9a2011-10-12 15:30:35 -070072
Robert Ly6c81c302011-10-05 12:59:29 -070073 <div class="toggleme">
Robert Ly6cf7d9a2011-10-12 15:30:35 -070074 <p class="note"><strong>Important:</strong> To download the new Android
75 4.0 system components from the Android SDK Manager, you must first update the
76 SDK tools to revision 14 and restart the Android SDK Manager. If you do not,
77 the Android 4.0 system components will not be available for download.</p>
Robert Ly6c81c302011-10-05 12:59:29 -070078 <dl>
79<dt>Dependencies:</dt>
80<dd>
81 <ul><li>Android SDK Platform-tools revision 8 or later.</li>
82 <li>If you are developing in Eclipse with ADT, note that the SDK Tools r14 is designed for use
83 with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a
84 href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li>
85 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
86 Ant</a> 1.8 or later.</li>
87</ul>
88
89<dt>General notes:</dt>
90<dd>
91 <ul>
Robert Ly6cf7d9a2011-10-12 15:30:35 -070092 <li>Added webcam support to Android 4.0 or later platforms to emulate rear-facing cameras when one webcam is present,
93 and to emulate both rear-facing and front-facing cameras when two webcams are present. Webcam suport is for Windows and Linux only.
94 Mac support will come in a later release.</li>
Robert Ly6c81c302011-10-05 12:59:29 -070095 <li>Changed <code>default.properties</code> to <code>project.properties</code> and
96 <code>build.properties</code> to <code>ant.properties</code>. Any existing
97 projects that you build with Ant must be updated with the <code>android update project</code>
98 command.</li>
99 <li>Changed Ant <code>build.xml</code> file to support improvements to the
100 build system and added and modified Ant commands to support these changes. For a list of Ant
101commands, see the
102<a href="{@docRoot}guide/developing/building/building-cmdline.html#AntReference">Ant Command
103Reference</a>.</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700104 <li>Changed how library projects are built.</a></li>
105 <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no
106 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
107 run once for each library project.</li>
108 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
109 crunching all existing PNG files, all the time.</li>
110 <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
111info</a>).</li>
112 </ul>
113 <p>For a complete overview of the build system changes and what you need to do to support them,
114see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
115site</a>.</p>
116</dd>
117</dl>
118</div>
119</div>
120
121<div class="toggleable closed">
122 <a href="#" onclick="return toggleDiv(this)">
123 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
124 width="9px" />
Robert Lydec97362011-09-22 10:33:28 -0700125SDK Tools, Revision 13</a> <em>(September 2011)</em>
126 <div class="toggleme">
127 <dl>
128<dt>Dependencies:</dt>
129<dd>
130<p>If you are developing in Eclipse with ADT, note that the SDK Tools r13 is designed for use with
131ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
132href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
133
134<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
135Ant</a> 1.8 or later.</p>
136
137<dt>General notes:</dt>
138<dd>
139 <ul>
140 <li>Fix compilation issue in Ant (<code>dex</code> step) when paths have spaces.</li>
141 <li>Fix issue in emulator installation when paths have spaces.</li>
142 <li>Fix issue when AVD paths have spaces.</li>
143 <li>Fix rendering issue when using emulator scaling (<a href="http://code.google.com/p/android/issues/detail?id=18299">see more</a>).</li>
144 </ul>
145</dd>
146</dl>
147</div>
148</div>
149
150
151<div class="toggleable closed">
152 <a href="#" onclick="return toggleDiv(this)">
153 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Robert Ly31ee77e2011-07-06 11:16:19 -0700154SDK Tools, Revision 12</a> <em>(July 2011)</em>
Robert Ly205d1c32011-06-28 13:13:14 -0700155 <div class="toggleme">
156 <dl>
157<dt>Dependencies:</dt>
158<dd>
159<p>If you are developing in Eclipse with ADT, note that the SDK Tools r12 is designed for use with
160ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
161href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
162
163<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
164Ant</a> 1.8 or later.</p>
165
166<dt>General notes:</dt>
167<dd>
168 <ul>
169 <li>The AVD manager and emulator can now use system images
170 compiled for ARM v7 and x86 CPUs.</li>
171 </ul>
172</dd>
173</dl>
174</div>
175</div>
176
177<div class="toggleable closed">
178 <a href="#" onclick="return toggleDiv(this)">
179 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Doughertyb7c7f152011-03-25 11:54:46 -0700180SDK Tools, Revision 11</a> <em>(May 2011)</em>
Robert Lyccea5d22011-02-11 14:59:36 -0800181 <div class="toggleme">
182 <dl>
183<dt>Dependencies:</dt>
184<dd>
Scott Main19f72012011-05-05 18:27:49 -0700185<p>If you are developing in Eclipse with ADT, note that the SDK Tools r11 is designed for use with
186ADT 10.0.1 and later. If you haven't already, we highly recommend updating your <a
187href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 10.0.1.</p>
188
189<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
190Ant</a> 1.8 or later.</p>
191
192<dt>General notes:</dt>
193<dd>
194 <ul>
195 <li>Miscellaneous emulator changes to support Android 3.1.</li>
196 </ul>
197</dd>
198</dl>
199</div>
200</div>
201
202
203<div class="toggleable closed">
204 <a href="#" onclick="return toggleDiv(this)">
205 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
206width="9px" />
207SDK Tools, Revision 10</a> <em>(February 2011)</em>
208 <div class="toggleme">
209 <dl>
210<dt>Dependencies:</dt>
211<dd>
Robert Lyccea5d22011-02-11 14:59:36 -0800212<p>If you are developing in Eclipse with ADT, note that the SDK Tools r10 is
213designed for use with ADT 10.0.0 and later. After installing SDK Tools r10, we
214highly recommend updating your ADT Plugin to 10.0.0.</p>
215
216<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
217Ant</a> 1.8 or later.</p>
218
219<dt>General notes:</dt>
220<dd>
221 <ul>
Scott Main19f72012011-05-05 18:27:49 -0700222 <li>The tools now automatically generate Java Programming Language source files (in the
223<code>gen</code> directory) and
Robert Lyccea5d22011-02-11 14:59:36 -0800224 bytecode (in the <code>res/raw</code> directory) from your native <code>.rs</code> files</li>
225 </ul>
226</dd>
227</dl>
228</div>
229</div>
230
231
232
233<div class="toggleable closed">
234 <a href="#" onclick="return toggleDiv(this)">
235 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Robert Lyedc2aac2011-01-14 16:25:09 -0800236SDK Tools, Revision 9</a> <em>(January 2011)</em>
237 <div class="toggleme">
238 <dl>
239<dt>Dependencies:</dt>
240<dd>
241<p>If you are developing in Eclipse with ADT, note that the SDK Tools r9 is
242designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we
243highly recommend updating your ADT Plugin to 9.0.0.</p>
244
245<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
246Ant</a> 1.8 or later.</p>
247
248<dt>Upgrading to SDK Tools r9:</dt>
249<dd>
250<p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location
251for the <code>adb</code> tool has changed from <code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
252<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
253add the new location to your PATH and modify any custom build scripts to
254reference the new location. Copying the <code>adb</code> executable from the new
255location to the old is not recommended, since subsequent updates to the SDK
256Tools will delete the file.</p>
257</dd>
258
259<dt>General notes:</dt>
260<dd>
261 <ul>
262 <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes:
263 <ul>
264 <li>classes that extend {@link android.preference.Preference}</li>
265 <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li>
266 </ul>
267 </li>
268 <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>,
269 and <code>java.target</code> properties.</li>
270 <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li>
271 <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li>
272 <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the
273 <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li>
Scott Mainf9af3012011-01-27 11:26:29 -0800274 <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can
275enable snapshots for the system state. The emulator will then restore to the state when it last
276closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active
277development and might not always perform as expected.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800278 <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li>
279 <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support
280 the new location of <code>adb</code>.</li>
Scott Main04f04b22011-01-21 19:11:23 -0800281 <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM
282instruction set architecture on your computer, emulator performance is slow. We're working hard to
283resolve the performance issues and it will improve in future releases.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800284 </ul>
285</dd>
286</dl>
287</div>
288</div>
289
290<div class="toggleable closed">
291 <a href="#" onclick="return toggleDiv(this)">
292 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700293SDK Tools, Revision 8</a> <em>(December 2010)</em>
294 <div class="toggleme">
295
296<dl>
297<dt>Dependencies:</dt>
298<dd>
299<p>If you are developing in Eclipse with ADT, note that SDK Tools r8 is
300designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we
301highly recommend updating your ADT Plugin to 8.0.0.</p>
302
Scott Main92b03082010-12-14 17:55:27 -0800303<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
304Ant</a> 1.8 or later.</p>
305
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700306<p>Also note that SDK Tools r8 requires a new SDK component called
307<em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms
308(Android 2.1, Android 2.2, and so on) use the same (latest) version of build
309tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and
310<code>dx</code>. To download the Platform-tools component, use the Android SDK
311Manager, as described in <a href="adding-components.html">Adding SDK
312Components</a></p>
313
314<dt>Upgrading from SDK Tools r7:</dt>
315<dd>
316<p>If you are upgrading to SDK Tools r8 from an earlier version, note that the
317the default installed location for the <code>adb</code> tool has changed from
318<code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
319<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
320add the new location to your PATH and modify any custom build scripts to
321reference the new location. Copying the <code>adb</code> executable from the new
322location to the old is not recommended, since subsequent updates to the SDK
323Tools will delete the file.</p>
324</dd>
325
326<dt>General notes:</dt>
327<dd>
328<ul>
329<li>All SDK platforms now support Library Projects.</li>
330<li>Support for a true debug build. Developers no longer need to add the
331<code>android:debuggable</code> attribute to the
332<code>&lt;application&gt;</code> tag in the manifest &mdash; the build tools add
333the attribute automatically. In Eclipse/ADT, all incremental builds are assumed
334to be debug builds, so the tools insert <code>android:debuggable="true"</code>.
335When exporting a signed release build, the tools do not add the attribute. In
336Ant, a <code>ant debug</code> command automatically inserts the
337<code>android:debuggable="true"</code> attribute, while <code>ant release</code>
338does not. If <code>android:debuggable="true"</code> is manually set, then
339<code>ant release</code> will actually do a debug build, rather than a release
340build.</li>
341<li>Automatic ProGuard support in release builds. Developers generate a ProGuard
342configuration file using the <code>android</code> tool &mdash; the build tools
343then automatically run ProGuard against the project sources during the build.
344For more information, see the <a
345href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a>
346documentation. </li>
347<li>New overridable Ant javac properties: <code>java.encoding</code>,
348<code>java.source</code>, and <code>java.target</code> (default values are
349"ascii", "1.5", and "1.5", respectively).</li>
350<li>New UI for the HierarchyViewer tool.</li>
351</ul>
352</dd>
353</dl>
354 </div>
355</div>
356
357<div class="toggleable closed">
358 <a href="#" onclick="return toggleDiv(this)">
359 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty022171b2010-07-30 19:24:17 -0700360SDK Tools, Revision 7</a> <em>(September 2010)</em>
361 <div class="toggleme">
362
363<dl>
364<dt>Dependencies:</dt>
365<dd>
366<p>If you are developing in Eclipse with ADT, note that SDK Tools r7 is
367designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we
368highly recommend updating your ADT Plugin to 0.9.8.</p>
369</dd>
370
371<dt>General notes:</dt>
372<dd>
373<ul>
374<li>Added support for library projects that depend on other library projects.</li>
375<li>Adds support for aidl files in library projects.</li>
376<li>Adds support for extension targets in Ant build to perform tasks between the
377normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and
378<code>-post-compile</code>.</li>
379<li>Adds support for "headless" SDK update. See <code>android -h update sdk</code>
380for more information.</li>
381<li>Fixes location control in DDMS to work in any locale not using '.' as a
382decimal point.</li>
383</li>
384</ul>
385</dd>
386</dl>
387 </div>
388</div>
389
390<div class="toggleable closed">
391 <a href="#" onclick="return toggleDiv(this)">
392 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700393SDK Tools, Revision 6</a> <em>(May 2010)</em>
394 <div class="toggleme">
395
396<dl>
397<dt>Dependencies:</dt>
398<dd>
399<p>If you are developing in Eclipse with ADT, note that SDK Tools r6 is
400designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we
401highly recommend updating your ADT Plugin to 0.9.7.</p>
402</dd>
403
404<dt>Library projects:</dt>
405<dd>
406<p>The SDK Tools now support the use of <em>library projects</em> during
407development, a capability that lets you store shared Android application
408code and resources in a separate development project. You can then reference the
409library project from other Android projects and, at build time, the tools
410compile the shared code and resources as part of the dependent applications.
411More information about this feature is available in the <a
Robert Lyc74a69a82011-01-04 22:48:02 -0800412href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p>
413<p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a>
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700414provides the equivalent library project support.</p>
415</dd>
416</dl>
417 </div>
418</div>
419
420<div class="toggleable closed">
421 <a href="#" onclick="return toggleDiv(this)">
Dirk Dougherty74a74d32010-09-09 18:40:13 -0700422 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700423SDK Tools, Revision 5</a> <em>(March 2010)</em>
424 <div class="toggleme">
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800425
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700426<dl>
427<dt>Dependencies:</dt>
428<dd><ul>
429<li>If you are developing in Eclipse with ADT, note that SDK Tools r5 is
430designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we
431highly recommend updating your ADT Plugin to 0.9.6.</li>
432<li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer
433officially supported. </li>
434</ul>
435</dd>
436
437<dt>SDK and AVD Manager:</dt>
438<dd>
439<ul>
440<li>Fixes SSL download for the standalone version of the SDK Updater.</li>
441<li>Fixes issue with 64-bit JVM on Windows.</li>
442<li>Adds support for platform samples components.</li>
443<li>Improves support for dependency between components.</li>
444<li>AVDs now sorted by API level.</li>
445<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
446<li>Prevents deletion of running AVDs.</li>
447<li>Settings are now automatically saved, no need to click "Apply".</li>
448</ul>
449</dd>
450
451<dt>Emulator:</dt>
452<dd>
453<ul>
454<li>Emulator now requires SD card to be 9MB or more.</li>
455</ul>
456</dd>
457
458<dt>Layoutopt:</dt>
459<dd>
460<ul>
461<li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li>
462</ul>
463</dd>
464</dl>
465 </div>
466</div>
467
468<div class="toggleable closed">
469 <a href="#" onclick="return toggleDiv(this)">
470 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
471SDK Tools, Revision 4</a> <em>(December 2009)</em>
472 <div class="toggleme">
473
474<dl>
475<dt>Dependencies:</dt>
476<dd><p>SDK Tools r4 is compatible with ADT 0.9.5 and later, but not
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800477compatible with earlier versions. If you are developing in Eclipse with ADT, you
478<strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700479install SDK Tools r4 in your SDK. </p></dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800480
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700481<dt>General notes:</dt>
482<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800483<ul>
Robert Lydec97362011-09-22 10:33:28 -0700484<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800485compatibility issue between GTK and SWT.</li>
486</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700487</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800488
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700489<dt>Android SDK and AVD Manager:</dt>
490<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800491<ul>
492<li>AVD Launch dialog now shows scale value.</li>
Robert Lydec97362011-09-22 10:33:28 -0700493<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800494skin name specified.</li>
495<li>Fixes XML validation issue in on older Java versions.</li>
496<li>No longer forces the use of Java 1.5 on Mac OS X.</li>
497</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700498</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800499
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700500<dt>Emulator:</dt>
501<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800502<ul>
503<li>No longer limits the size of the system partition.</li>
504</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700505</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800506
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700507<dt>Ant build tools:</dt>
508<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800509<ul>
510<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
511</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700512</dd>
513</dl>
514 </div>
515</div>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800516
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700517<div class="toggleable closed">
518 <a href="#" onclick="return toggleDiv(this)">
519 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
520SDK Tools, Revision 3</a> <em>(October 2009)</em>
521 <div class="toggleme">
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700522
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700523<dl>
524<dt>Dependencies:</dt>
525<dd><p>SDK Tools r3 is compatible with ADT 0.9.4 and later, but not
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700526compatible with earlier versions. If you are developing in Eclipse with ADT, you
527<strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700528install SDK Tools r3 in your SDK.</p>
529</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700530
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700531<dt>Android tool:</dt>
532<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700533<ul>
534<li>Adds new <code>android create test-project</code> and <code>android update
535test-project</code> commands to allow for greater flexibility in the location of the
536main and test projects.</li>
537</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700538</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700539
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700540<dt>DDMS:</dt>
541<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700542<ul>
Scott Main19f72012011-05-05 18:27:49 -0700543<li>Adds a button to dump HPROF file for running applications (app must be able
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700544to write to the sdcard).</li>
545<li>Button to start/stop profiling of a running application (app must be able to
546write to the sdcard). Upon stop, Traceview will automatically be launched to
547display the trace.</li>
548<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X
54910.6.</li>
550<li>Fixed screenshot support for devices running 32-bit framebuffer.</li>
551</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700552</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700553
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700554<dt>Android SDK and AVD Manager:</dt>
555<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700556<ul>
557<li>Provides a new UI that lets you set options for controlling
Robert Lydec97362011-09-22 10:33:28 -0700558the emulator skin, screen size/density, and scale factor used when launching
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700559an AVD.</li>
560<li>Provides improved AVD creation UI, which lets you customize the hardware
561properties of your AVDs.</li>
562<li>Now enforces dependencies between platforms and tools components, and
563between SDK add-ons and platforms.</li>
564</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700565</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700566
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700567<dt>Layoutopt, a new tool for optimizing layouts:</dt>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700568
Robert Lydec97362011-09-22 10:33:28 -0700569<dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line
570tool that helps you optimize your layout hierarchies. When run against your
571layout files, the tool analyzes their hierarchies and notifies you of
572inefficiencies and other potential issues. The tool also provides simple
573solutions for the issues it finds. For usage, see <a
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700574href="/guide/developing/tools/layoutopt.html">layoutopt</a>.</p>
575</dd>
576</dl>
577 </div>
578</div>