blob: 1ff23915575f8fcf463fe4e3e2510d7ae6299995 [file] [log] [blame]
smain@google.com549726a2014-12-08 12:56:26 -08001page.title=SDK Tools Release Notes
Scott Main6be71622013-04-12 11:19:39 -07002excludeFromSuggestions=true
Scott Main50e990c2012-06-21 17:14:39 -07003@jd:body
4
5<p>SDK Tools is a downloadable component for the Android SDK. It includes the
smain@google.com549726a2014-12-08 12:56:26 -08006complete set of development and debugging tools for the Android SDK. It is included
7with <a href="{@docRoot}tools/studio/index.html">Android Studio</a>.</p>
Scott Main50e990c2012-06-21 17:14:39 -07008
9<p>If you are already using the SDK and you want to update to the latest version
smain@google.com549726a2014-12-08 12:56:26 -080010of the SDK Tools, use the <a
11href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a> to get the
12update.</p>
Scott Main50e990c2012-06-21 17:14:39 -070013
14
15<h2 id="notes">Revisions</h2>
16
17<p>The sections below provide notes about successive releases of
18the SDK Tools, as denoted by revision number. To determine what revision of the SDK
19Tools you are using, refer to the "Installed Packages" listing in the Android SDK Manager. </p>
20
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -070021<p>
22 For a summary of all known issues in SDK Tools, visit <a class=
23 "external-link" href="http://tools.android.com/knownissues">the Android Tools
24 Project Site</a>.
25</p>
Scott Main50e990c2012-06-21 17:14:39 -070026
Joe Fernandez67e6e0e2012-07-13 17:31:31 -070027<div class="toggle-content opened">
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -070028 <p>
29 <a href="#" onclick="return toggleContent(this)"><img src=
30 "{@docRoot}assets/images/styles/disclosure_up.png" class=
31 "toggle-content-img" alt="">SDK Tools, Revision 25.0.0</a>
32 <em>(April 2016)</em>
Trevor Johns682c24e2016-04-12 10:13:47 -070033 </p>
34
35 <div class="toggle-content-toggleme">
Trevor Johns682c24e2016-04-12 10:13:47 -070036 <dl>
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -070037 <dt>
38 <strong>Android Emulator 2.0</strong>:
39 </dt>
Trevor Johns682c24e2016-04-12 10:13:47 -070040
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -070041 <dd>
42 <ul>
43 <li>Performance improvements:
44 </li>
45 <ul>
46 <li>Emulator now uses CPU acceleration on x86 emulator system images by
47 default.
48 </li>
Trevor Johns682c24e2016-04-12 10:13:47 -070049
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -070050 <li>Added <a href="{@docRoot}training/articles/smp.html">SMP</a> support
51 to take advantage of host multi-core architecture when emulating Android
52 6.0 (API level 23) or higher, resulting in much better performance and
53 speed than the physical counterpart. Also with SMP support, you can test
54 apps that specifically target multi-core Android devices.
55 </li>
Trevor Johns682c24e2016-04-12 10:13:47 -070056
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -070057 <li>Improved data and APK push-pull protocol between the the <a href=
58 "{@docRoot}tools/help/adb.html">Android Debug Bridge</a> and devices
59 running Android 5.0 (API level 21) or higher. See speed improvements up
60 to five times faster than using a physical device.
61 </li>
62 </ul>
63
64 <li>Extended UI controls and a floating toolbar provide easy access to features
65 previously available only through the command line, such as taking screen
66 captures, adjusting the battery level, rotating the screen, and managing
67 virtual calls.
68 </li>
69
70 <li>Upload KML and GPX files to play back a set of custom location points.
71 </li>
72
73 <li>Dynamically resize the emulator by dragging a corner or zoom into the
74 emulator window.
75 </li>
76
77 <li>Install APKs or add media files to the emulator’s internal SD card by
78 dragging and dropping files into the emulator window.
79 </li>
80
81 <li>Simulate multi-touch input. While interacting with the emulator screen,
82 enter multi-touch mode by holding down the <strong>Ctrl</strong> key on
83 Windown/Linux, or <strong>Command</strong> key on Mac OSX.
84 </li>
85
86 <li>The Android Emulator works best with Android Studio 2.0. To find out more
87 about what's included in the newest version of the official Android IDE,
88 <a href="{@docRoot}tools/revisions/studio.html#Revisions">read the release
89 notes</a>.
90 </li>
91
92 <li>Read the documentation to find out more about <a href=
93 "{@docRoot}tools/devices/emulator.html">using the Android Emulator</a>.
94 </li>
95 </ul>
96 </dd>
97 </dl>
98 </div>
99</div>
100
101<div class="toggle-content closed">
102 <p>
103 <a href="#" onclick="return toggleContent(this)"><img src=
104 "{@docRoot}assets/images/styles/disclosure_down.png" class=
105 "toggle-content-img" alt="">SDK Platform-tools, Revision 23.1.0</a>
106 <em>(December 2015)</em>
107 </p>
108
109 <div class="toggle-content-toggleme">
110 <dl>
111 <dt>
112 General Notes:
113 </dt>
114
115 <dd>
116 <ul>
117 <li>Changed Linux requirements for Android SDK Platform-tools
118 revision 23.1.0 and later: it now requires 64-bit Linux.
119 </li>
120 </ul>
121 </dd>
122 </dl>
Trevor Johns682c24e2016-04-12 10:13:47 -0700123 </div>
124</div>
125
126<div class="toggle-content closed">
127 <p><a href="#" onclick="return toggleContent(this)">
128 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
129 alt=""/>SDK Tools, Revision 24.4.1</a> <em>(October 2015)</em>
130 </p>
131
132 <div class="toggle-content-toggleme">
133
134 <dl>
135 <dt>Dependencies:</dt>
136
137 <dd>
138 <ul>
139 <li>Android SDK Platform-tools revision 23 or later.</li>
140 </ul>
141 </dd>
142
143 <dt>General Notes:</dt>
144 <dd>
145 <ul>
146 <li>Fixed a problem where the emulator title bar was hidden off screen.
147 (<a href="http://code.google.com/p/android/issues/detail?id=178344">Issue 178344</a>)</li>
148 <li>Enabled the emulator to resize the user data partition by including e2fsprogs binaries.
149 (<a href="http://code.google.com/p/android/issues/detail?id=189030">Issue 189030</a>)</li>
150 <li>Fixed a regression on the 32-bit Windows OS where the emulator fails to boot Android 6.0
151 (API level 23) through Android 5.0 (API level 21) system images.
152 (<a href="http://code.google.com/p/android/issues/detail?id=188326">Issue 188326</a>)</li>
153 </ul>
154 </dd>
155
156 </div>
157</div>
158
159
160<div class="toggle-content closed">
161 <p><a href="#" onclick="return toggleContent(this)">
162 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
163 alt=""/>SDK Tools, Revision 24.4.0</a> <em>(October 2015)</em>
164 </p>
165
166 <div class="toggle-content-toggleme">
167
168 <dl>
169 <dt>Dependencies:</dt>
170
171 <dd>
172 <ul>
173 <li>Android SDK Platform-tools revision 23 or later.</li>
174 </ul>
175 </dd>
176
177 <dt>General Notes:</dt>
178 <dd>
179 <ul>
180 <li>Updated the emulator so it can display an upgrade notification when a new version is
181 available.</li>
182 <li>Added the ability for the emulator to send basic crash reports. You <em>must</em> opt-in
183 through Android Studio preferences to enable crash report transmission.</li>
184 </ul>
185 </dd>
186
187 </div>
188</div>
189
190<div class="toggle-content closed">
191 <p><a href="#" onclick="return toggleContent(this)">
192 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez0baf95b2015-08-14 12:22:43 -0700193 alt=""/>SDK Tools, Revision 24.3.4</a> <em>(August 2015)</em>
194 </p>
195
196 <div class="toggle-content-toggleme">
197
198 <dl>
199 <dt>Dependencies:</dt>
200
201 <dd>
202 <ul>
203 <li>Android SDK Platform-tools revision 23 or later.</li>
204 </ul>
205 </dd>
206
207 <dt>General Notes:</dt>
208 <dd>
209 <ul>
210 <li>Added support for Android 6.0 (API level 23) platform.</li>
211 </ul>
212 </dd>
213
214 <dt>Emulator:</dt>
215 <dd>
216 <ul>
217 <li>Improved emulator performance on multi-core Windows desktops.
218 (<a href="http://b.android.com/101040">Issue 101040</a>)</li>
219 <li>Added support for GPU emulation on Windows and Linux platforms using the
220 {@code -gpu mesa} command line option.</li>
221 <li>Enabled support for running emulators with GPU emulation through remote desktop
222 services, including Chrome Remote Desktop, Windows Terminal Services, and NoMachine.</li>
223 <li>Added support for emulators with 280 dpi and 360 dpi screen resolutions.</li>
224 <li>Improved support for GLES 2.0 extensions.</li>
225 <li>Fixed several issues with GPU emulation support.</li>
226 <li>Added support for setting the storage size on emulators using Android 4.4 (API level 19)
227 and higher.
228 (<a href="http://b.android.com/75141">Issue 75141</a>)</li>
229 <li>Fixed problem with sending long SMS messages between emulators.
230 (<a href="http://b.android.com/3539">Issue 3539</a>)</li>
231 <li>Fixed issue with emulator getting incorrect time from location objects.
232 (<a href="http://b.android.com/27272">Issue 27272</a>)</li>
233 <li>Added handling for unusual characters in paths and file names when starting emulators.
234 (<a href="http://b.android.com/35889">Issue 35889</a>)</li>
235 </ul>
236 </dd>
237
238 </div>
239</div>
240
241
242<div class="toggle-content closed">
243 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700244 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar1ba81cf2015-06-16 14:22:08 -0700245 alt=""/>SDK Tools, Revision 24.3.3</a> <em>(June 2015)</em>
246 </p>
247
248 <div class="toggle-content-toggleme">
249
250 <dl>
251 <dt>Dependencies:</dt>
252
253 <dd>
254 <ul>
255 <li>Android SDK Platform-tools revision 19 or later.</li>
256 </ul>
257 </dd>
258
259 <dt>General Notes:</dt>
260 <dd>
261 <ul>
262 <li>Fixed issues with using Ant build tasks with the Eclipse ADT build structure. </li>
263 <li>Fixed the emulator boot problem on Mac OS X 10.8.5.</li>
264 </ul>
265 </dd>
266 </div>
267</div>
268
269
Rich Slogar1ba81cf2015-06-16 14:22:08 -0700270<div class="toggle-content closed">
271 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700272 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar01572ea2015-06-11 13:56:37 -0700273 alt=""/>SDK Tools, Revision 24.3.2</a> <em>(June 2015)</em>
274 </p>
275
276 <div class="toggle-content-toggleme">
277
278 <dl>
279 <dt>Dependencies:</dt>
280
281 <dd>
282 <ul>
283 <li>Android SDK Platform-tools revision 19 or later.</li>
284 </ul>
285 </dd>
286
287 <dt>General Notes:</dt>
288 <dd>
289 <ul>
290 <li>Fixed issues with the ARM 64-bit emulator.</li>
291 </ul>
292 </dd>
293 </div>
294</div>
295
296
297<div class="toggle-content closed">
298 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700299 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar01572ea2015-06-11 13:56:37 -0700300 alt=""/>SDK Tools, Revision 24.3.1</a> <em>(June 2015)</em>
301 </p>
302
303 <div class="toggle-content-toggleme">
304
305 <dl>
306 <dt>Dependencies:</dt>
307
308 <dd>
309 <ul>
310 <li>Android SDK Platform-tools revision 19 or later.</li>
311 </ul>
312 </dd>
313
314 <dt>General Notes:</dt>
315 <dd>
316 <ul>
317 <li>Fixed issue with the <code>root/</code> and <code>lib/</code> folders. </li>
318 </ul>
319 <p class="caution"><strong>Caution:</strong> This release is known to contain issues which
320 prevent builds from completing. We strongly recommend that you update to SDK Tools 24.3.2
321 as soon as possible. </p>
322 </dd>
323 </div>
324</div>
325
326
327<div class="toggle-content closed">
328 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700329 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar01572ea2015-06-11 13:56:37 -0700330 alt=""/>SDK Tools, Revision 24.3.0</a> <em>(June 2015)</em>
331 </p>
332
333 <div class="toggle-content-toggleme">
334
335 <dl>
336 <dt>Dependencies:</dt>
337
338 <dd>
339 <ul>
340 <li>Android SDK Platform-tools revision 19 or later.</li>
341 </ul>
342 </dd>
343
344 <dt>General Notes:</dt>
345 <dd>
346 <ul>
347 <li>Fixed several minor emulator issues.</li>
348 </ul>
349 <p class="caution"><strong>Caution:</strong> This release is known to contain issues which
350 prevent builds from completing. We strongly recommend that you update to SDK Tools 24.3.2
351 as soon as possible. </p>
352 </dd>
353 </div>
354</div>
355
356
357
358<div class="toggle-content closed">
359 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700360 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogare7bfe5b2015-05-01 10:42:45 -0700361 alt=""/>SDK Tools, Revision 24.2.0</a> <em>(May 2015)</em>
362 </p>
363
364 <div class="toggle-content-toggleme">
365
366 <dl>
367 <dt>Dependencies:</dt>
368
369 <dd>
370 <ul>
371 <li>Android SDK Platform-tools revision 19 or later.</li>
372 </ul>
373 </dd>
374
375 <dt>General Notes:</dt>
376 <dd>
377 <ul>
378 <li>Fixed several minor emulator issues.</li>
379 </ul>
380 </dd>
381 </div>
382</div>
383
384
385<div class="toggle-content closed">
386 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700387 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar4aba69a2015-03-05 11:24:45 -0800388 alt=""/>SDK Tools, Revision 24.1.2</a> <em>(February 2015)</em>
Rich Slogarb9157af2015-02-26 15:10:54 -0800389 </p>
390
391 <div class="toggle-content-toggleme">
392
393 <dl>
394 <dt>Dependencies:</dt>
395
396 <dd>
397 <ul>
398 <li>Android SDK Platform-tools revision 19 or later.</li>
399 </ul>
400 </dd>
401
402 <dt>General Notes:</dt>
403 <dd>
404 <ul>
405 <li>Fixed boot failures of MIPS system images on Mac OS X.</li>
406 <li>Fixed AVD screen capture issues when using GPU emulation.</li>
407 <li>Fixed memory leaks in emulator system.</li>
408 </ul>
409 </dd>
410 </div>
411</div>
412
413
414<div class="toggle-content closed">
415 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700416 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar8838a9f2014-12-15 16:58:03 -0800417 alt=""/>SDK Tools, Revision 24.0.2</a> <em>(December 2014)</em>
418 </p>
419
420 <div class="toggle-content-toggleme">
421
422 <dl>
423 <dt>Dependencies:</dt>
424
425 <dd>
426 <ul>
427 <li>Android SDK Platform-tools revision 19 or later.</li>
428 </ul>
429 </dd>
430
431 <dt>General Notes:</dt>
432 <dd>
433 <ul>
434 <li>Fixed issue with creating projects and activities from templates using Eclipse ADT.</li>
435 </ul>
436 </dd>
437 </div>
438</div>
439
440
441<div class="toggle-content closed">
442 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700443 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar7deca3c2014-12-10 11:27:59 -0800444 alt=""/>SDK Tools, Revision 24.0.1</a> <em>(December 2014)</em>
445 </p>
446
447 <div class="toggle-content-toggleme">
448
449 <dl>
450 <dt>Dependencies:</dt>
451
452 <dd>
453 <ul>
454 <li>Android SDK Platform-tools revision 19 or later.</li>
455 </ul>
456 </dd>
457
458 <dt>General Notes:</dt>
459 <dd>
460 <ul>
461 <li>Fixed Java detection issue on 32-bit Windows systems.</li>
462 </ul>
463 </dd>
464 </div>
465</div>
466
467
468<div class="toggle-content closed">
469 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700470 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogarf7c02ed062014-12-08 09:49:00 -0800471 alt=""/>SDK Tools, Revision 24.0.0</a> <em>(December 2014)</em>
472 </p>
473
474 <div class="toggle-content-toggleme">
475
476 <dl>
477 <dt>Dependencies:</dt>
478
479 <dd>
480 <ul>
481 <li>Android SDK Platform-tools revision 19 or later.</li>
482 </ul>
483 </dd>
484
485 <dt>General Notes:</dt>
486 <dd>
487 <ul>
Rich Slogarb9157af2015-02-26 15:10:54 -0800488 <li>Added support for Android Studio 1.0 and emulator enhancements.</li>
Rich Slogarf7c02ed062014-12-08 09:49:00 -0800489 </ul>
490 </dd>
491 </div>
492</div>
493
494
Rich Slogar7deca3c2014-12-10 11:27:59 -0800495
Rich Slogarf7c02ed062014-12-08 09:49:00 -0800496<div class="toggle-content closed">
497 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700498 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar309b1b32014-10-10 11:03:23 -0700499 alt=""/>SDK Tools, Revision 23.0.5</a> <em>(October 2014)</em>
500 </p>
501
502 <div class="toggle-content-toggleme">
503
504 <dl>
505 <dt>Dependencies:</dt>
506
507 <dd>
508 <ul>
509 <li>Android SDK Platform-tools revision 19 or later.</li>
510 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
511 designed for use with ADT 23.0.4 and later. If you haven't already, update your
512 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.4.</li>
513 <li>If you are developing outside Eclipse, you must have
514 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
515 </ul>
516 </dd>
517
518 <dt>General Notes:</dt>
519 <dd>
520 <ul>
521 <li>Fixed Windows 32-bit compilation issue.</li>
522 </ul>
523 </dd>
524 </div>
525</div>
526
527
528<div class="toggle-content closed">
529 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700530 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar1b0fba62014-10-07 11:06:07 -0700531 alt=""/>SDK Tools, Revision 23.0.4</a> <em>(October 2014)</em>
532 </p>
533
534 <div class="toggle-content-toggleme">
535
536 <dl>
537 <dt>Dependencies:</dt>
538
539 <dd>
540 <ul>
541 <li>Android SDK Platform-tools revision 19 or later.</li>
542 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
543 designed for use with ADT 23.0.4 and later. If you haven't already, update your
544 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.4.</li>
545 <li>If you are developing outside Eclipse, you must have
546 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
547 </ul>
548 </dd>
549
550 <dt>General Notes:</dt>
551 <dd>
552 <ul>
553 <li>Fixed duplicate devices in AVD for Wear and TV.</li>
554 </ul>
555 </dd>
556 </div>
557</div>
558
559
560<div class="toggle-content closed">
561 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700562 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraa4d7e632014-07-02 13:46:49 -0700563 alt=""/>SDK Tools, Revision 23.0.2</a> <em>(July 2014)</em>
564 </p>
565
566 <div class="toggle-content-toggleme">
567
568 <dl>
569 <dt>Dependencies:</dt>
570
571 <dd>
572 <ul>
573 <li>Android SDK Platform-tools revision 19 or later.</li>
574 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
575 designed for use with ADT 23.0.2 and later. If you haven't already, update your
576 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.2.</li>
577 <li>If you are developing outside Eclipse, you must have
578 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
579 </ul>
580 </dd>
581
582 <dt>General Notes:</dt>
583 <dd>
584 <ul>
585 <li>Added ProGuard <code>.bat</code> files that were missing.</li>
586 <li>Added the <code>proguard-android.txt</code> file that was missing.</li>
587 <li>Renamed the <code>lombok-ast-0.2.2.jar</code> file to <code>lombok-ast.jar</code>,
588 which should allow running lint from the command line.</li>
589 </ul>
590 </dd>
591 </div>
592</div>
593
594<div class="toggle-content closed">
595 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700596 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerverab05330c2014-06-25 15:14:17 -0700597 alt=""/>SDK Tools, Revision 23.0.0</a> <em>(June 2014)</em>
598 </p>
599
600 <div class="toggle-content-toggleme">
601
602 <dl>
603 <dt>Dependencies:</dt>
604
605 <dd>
606 <ul>
607 <li>Android SDK Platform-tools revision 19 or later.</li>
608 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
609 designed for use with ADT 23.0.0 and later. If you haven't already, update your
610 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.0.</li>
611 <li>If you are developing outside Eclipse, you must have
612 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
613 </ul>
614 </dd>
615
616 <dt>General Notes:</dt>
617 <dd>
618 <ul>
619 <li>Added the Android Wear tools and system images.</li>
620 </ul>
621 </dd>
622 </div>
623</div>
624
625<div class="toggle-content closed">
626 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700627 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraa01b7002014-06-03 13:27:41 -0700628 alt=""/>SDK Tools, Revision 22.6.4</a> <em>(June 2014)</em>
629 </p>
630
631 <div class="toggle-content-toggleme">
632
633 <dl>
634 <dt>Dependencies:</dt>
635
636 <dd>
637 <ul>
638 <li>Android SDK Platform-tools revision 18 or later.</li>
639 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
640 designed for use with ADT 22.6.3 and later. If you haven't already, update your
641 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.3.</li>
642 <li>If you are developing outside Eclipse, you must have
643 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
644 </ul>
645 </dd>
646
647 <dt>General Notes:</dt>
648 <dd>
649 <ul>
650 <li>Fixed an issue with the x86 emulator that caused Google Maps to crash.
651 (<a href="http://b.android.com/69385">Issue 69385</a>)</li>
652 <li>Fixed minor OpenGL issues.</li>
653 </ul>
654 </dd>
655 </div>
656</div>
657
658<div class="toggle-content closed">
659 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700660 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraa28bcbc2014-04-16 16:30:02 -0700661 alt=""/>SDK Tools, Revision 22.6.3</a> <em>(April 2014)</em>
662 </p>
663
664 <div class="toggle-content-toggleme">
665
666 <dl>
667 <dt>Dependencies:</dt>
668
669 <dd>
670 <ul>
671 <li>Android SDK Platform-tools revision 18 or later.</li>
672 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
673 designed for use with ADT 22.6.3 and later. If you haven't already, update your
674 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.3.</li>
675 <li>If you are developing outside Eclipse, you must have
676 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
677 </ul>
678 </dd>
679
680 <dt>General Notes:</dt>
681 <dd>
682 <ul>
683 <li>Fixed a problem where the AVD manager allowed creating Android Wear virtual devices
684 with a target API Level lower than 19.</li>
685 <li>Fixed the description of Android Wear system images in the SDK Manager.</li>
686 </ul>
687 </dd>
688
689 <dt>Known Issues:</dt>
690 <dd>
691 <p>When you create an Android Wear virtual device in the AVD manager, a target API Level
692 lower than 19 may be selected by default. Make sure you select the target API Level 19
693 when creating Android Wear virtual devices.</p>
694 </dd>
695 </div>
696</div>
697
698<div class="toggle-content closed">
699 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700700 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cervera60bec602014-03-19 14:48:37 -0700701 alt=""/>SDK Tools, Revision 22.6.2</a> <em>(March 2014)</em>
702 </p>
703
704 <div class="toggle-content-toggleme">
705
706 <dl>
707 <dt>Dependencies:</dt>
708
709 <dd>
710 <ul>
711 <li>Android SDK Platform-tools revision 18 or later.</li>
712 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
713 designed for use with ADT 22.6.2 and later. If you haven't already, update your
714 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.2.</li>
715 <li>If you are developing outside Eclipse, you must have
716 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
717 </ul>
718 </dd>
719
720 <dt>General Notes:</dt>
721 <dd>
722 <ul>
723 <li>Fixed a problem where the SDK Manager threw a <code>NullPointerException</code> after
724 removing a virtual device that was created using the Android Wear
Ricardo Cervera39aed832014-03-25 13:50:55 -0700725 system image. (<a href="http://b.android.com/67588">Issue 67588</a>)</li>
Ricardo Cervera60bec602014-03-19 14:48:37 -0700726 <li>Fixed a problem with Nexus 5 Android virtual devices created from the command line
727 where the SD card file system was read-only.</li>
728 </ul>
729 </dd>
730 </div>
731</div>
732
733<div class="toggle-content closed">
734 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700735 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerverae2a40c42014-03-07 14:53:35 -0800736 alt=""/>SDK Tools, Revision 22.6.1</a> <em>(March 2014)</em>
737 </p>
738
739 <div class="toggle-content-toggleme">
740
741 <dl>
742 <dt>Dependencies:</dt>
743
744 <dd>
745 <ul>
746 <li>Android SDK Platform-tools revision 18 or later.</li>
747 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
748 designed for use with ADT 22.6.1 and later. If you haven't already, update your
749 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.1.</li>
750 <li>If you are developing outside Eclipse, you must have
751 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
752 </ul>
753 </dd>
754
755 <dt>General Notes:</dt>
756 <dd>
757 <ul>
758 <li>Fixed a problem where the Android Virtual Device Manager could not create new virtual
759 devices. (<a href="http://b.android.com/66661">Issue 66661</a>)</li>
760 <li><p>Fixed a problem with virtual devices created using ADT 22.3 or earlier.</p>
761 <p>If you created an Android Virtual Device using ADT 22.3 or earlier, the
762 AVD may be listed as <em>broken</em> in the AVD Manager in 22.6.1. To fix
763 this problem, select the virtual device on the AVD Manager and click
764 <strong>Repair</strong>.</p>
765 </li>
766 <li>Fixed a problem with the command line tools when creating virtual devices.
767 (<a href="http://b.android.com/66740">Issue 66740</a>)</li>
768 <li>Fixed a problem with the command line <code>lint</code> script.</li>
769 </ul>
770 </dd>
771
772 <dt>Known Issues:</dt>
773 <dd>
774 <p>When you create an Android virtual device using the Nexus 5 device definition,
775 you must enable the <em>Use Host GPU</em> option, otherwise the virtual device
776 will not start.</p>
777 </dd>
778 </div>
779</div>
780
781<div class="toggle-content closed">
782 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700783 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraea40a262014-02-25 12:01:27 -0800784 alt=""/>SDK Tools, Revision 22.6</a> <em>(March 2014)</em>
785 </p>
786
787 <div class="toggle-content-toggleme">
788
789 <dl>
790 <dt>Dependencies:</dt>
791 <dd>
792 <ul>
793 <li>Android SDK Platform-tools revision 18 or later.</li>
794 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
795 designed for use with ADT 22.6.0 and later. If you haven't already, update your
796 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.0.</li>
797 <li>If you are developing outside Eclipse, you must have
798 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
799 </ul>
800 </dd>
801
802 <dt>General Notes:</dt>
803 <dd>
804 <ul>
805 <li><p>The command line <code>lint</code> script (<code>tools\lint.bat</code> on
806 Windows platforms, <code>tools/lint</code> on other platforms) and the
807 <code>lint</code> target on <code>ant</code> builds fail with the following
808 error:</p>
809 <p><code>Exception in thread "main" java.lang.NoClassDefFoundError:
810 lombok/ast/AstVisitor</code></p>
811 <p>As a temporary workaround, rename the file
812 <code>tools\lib\lombok-ast-0.2.2.jar</code> to
813 <code>tools\lib\lombok-ast.jar</code>.
814 We will release an updated version of the tools with a fix for
815 this issue as soon as possible.</p>
816 </li>
817 <li>Added support for Java 7 language features like multi-catch, try-with-resources,
818 and the diamond operator. These features require version 19 or higher
819 of the Build Tools. Try-with-resources requires <code>minSdkVersion</code>
820 19; the rest of the new language features require
821 <code>minSdkVersion</code> 8 or higher.</li>
822 <li>Added new lint checks:
823 <ul>
824 <li>Security:
825 <ul>
826 <li>Look for code potentially affected by a <code>SecureRandom</code>
827 vulnerability.</li>
828 <li>Check that calls to <code>checkPermission</code> use the return value.</li>
829 </ul>
830 </li>
831 <li>Check that production builds do not use mock location providers.</li>
Ricardo Cervera60bec602014-03-19 14:48:37 -0700832 <li>Look for manifest values that are overwritten by values from Gradle build
Ricardo Cerveraea40a262014-02-25 12:01:27 -0800833 scripts.</li>
834 </ul>
835 </li>
836 <li>Fixed a number of minor issues in the SDK and build system.</li>
837 <li>Emulator:
838 <ul>
839 <li>Fixed a problem with the emulator shutting down immediately for Android 1.5
840 on the Nexus One and Nexus S devices.
841 (<a href="http://b.android.com/64945">Issue 64945</a>)</li>
842 <li>Fixed a problem with port numbers longer than four digits.
843 (<a href="http://b.android.com/60024">Issue 60024</a>)</li>
844 <li>Fixed battery errors for the Nexus One and Nexus S devices.
845 (<a href="http://b.android.com/39959">Issue 39959</a>)</li>
846 <li>Fixed a problem with paths or arguments that contain
847 spaces on Windows platforms.
848 (<a href="http://b.android.com/18317">Issue 18317</a>)</li>
849 <li>Fixed a problem with long path values on Windows platforms.
850 (<a href="http://b.android.com/33336">Issue 33336</a>)</li>
851 <li>Fixed a problem with the {@code -snapshot-list} command line
852 option on 64-bit systems.
853 (<a href="http://b.android.com/34233">Issue 34233</a>)</li>
854 </ul>
855 </li>
Ricardo Cervera60bec602014-03-19 14:48:37 -0700856 <li>Fixed an issue with RenderScript support. Using RenderScript support mode
Ricardo Cerveraea40a262014-02-25 12:01:27 -0800857 now requires version 19.0.3 of the Build Tools.</li>
858 </ul>
859 </dd>
860 </dl>
861 </div>
862</div>
863
864<div class="toggle-content closed">
865 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700866 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez0bcef362013-10-23 11:42:07 -0700867 alt=""/>SDK Tools, Revision 22.3</a> <em>(October 2013)</em>
868 </p>
869
870 <div class="toggle-content-toggleme">
871
872 <dl>
873 <dt>Dependencies:</dt>
874 <dd>
875 <ul>
876 <li>Android SDK Platform-tools revision 18 or later.</li>
877 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
878 designed for use with ADT 22.3.0 and later. If you haven't already, update your
879 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.3.0.</li>
880 <li>If you are developing outside Eclipse, you must have
881 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
882 </ul>
883 </dd>
884
885 <dt>General Notes:</dt>
886 <dd>
887 <ul>
888 <li>Added support for Android 4.4 (API level 19).</li>
889 <li>Fixed a number of minor bugs in the SDK and build system.</li>
890 </ul>
891 </dd>
892 </dl>
893 </div>
894</div>
895
896<div class="toggle-content closed">
897 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700898 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez2ef08f62013-09-18 13:10:09 -0700899 alt=""/>SDK Tools, Revision 22.2.1</a> <em>(September 2013)</em>
900 </p>
901
902 <div class="toggle-content-toggleme">
903
904 <dl>
905 <dt>Dependencies:</dt>
906 <dd>
907 <ul>
908 <li>Android SDK Platform-tools revision 16 or later.</li>
909 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
910 designed for use with ADT 22.2.1 and later. If you haven't already, update your
911 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.2.1.</li>
912 <li>If you are developing outside Eclipse, you must have
913 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
914 </ul>
915 </dd>
916
917 <dt>General Notes:</dt>
918 <dd>
919 <ul>
920 <li>Fixed problem with templates that causes the new project wizard to hang.
921 (<a href="http://b.android.com/60149">Issue 60149</a>)</li>
922 <li>Fixed crash when using the lint command line tool because of mis-matched library
923 dependency. (<a href="http://b.android.com/60190">Issue 60190</a>)</li>
924 </ul>
925 </dd>
926 </dl>
927 </div>
928</div>
929
930<div class="toggle-content closed">
931 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700932 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez8bed7492013-07-26 15:32:10 -0700933 alt=""/>SDK Tools, Revision 22.2</a> <em>(September 2013)</em>
934 </p>
935
936 <div class="toggle-content-toggleme">
937
938 <dl>
939 <dt>Dependencies:</dt>
940 <dd>
941 <ul>
942 <li>Android SDK Platform-tools revision 16 or later.</li>
943 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
944 designed for use with ADT 22.2 and later. If you haven't already, update your
945 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.2.</li>
946 <li>If you are developing outside Eclipse, you must have
947 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
948 </ul>
949 </dd>
950
951 <dt>General Notes:</dt>
952 <dd>
953 <ul>
954 <li>Updated build tools to allow use of RenderScript on older versions of Android
955 using new features in the
956 <a href="{@docRoot}tools/support-library/features.html#v8">Support Library</a>.</li>
Neil Fuller71fbb812015-11-30 09:51:33 +0000957 <li>Moved the Systrace tool to the {@code <sdk>/platform-tools/} directory. </li>
Joe Fernandez8bed7492013-07-26 15:32:10 -0700958 <li>Modified <a href="{@docRoot}tools/help/gltracer.html">Tracer for OpenGL ES</a> to
959 support OpenGL ES 3.0.</li>
960 <li>Lint
961 <ul>
962 <li>Fixed problem with lint not detecting custom namespaces.
963 (<a href="http://b.android.com/55673">Issue 55673</a>)</li>
964 <li>Fixed problem with the XML report including invalid characters.
965 (<a href="http://b.android.com/56205">Issue 56205</a>)</li>
966 <li>Fixed command-line execution of lint to work in headless mode to support execution
967 by build servers. (<a href="http://b.android.com/55820">Issue 55820</a>)</li>
968 </ul>
969 </li>
970 <li>Improved support for path names with spaces in the Windows command-line tools.</li>
971 </ul>
972 </dd>
973 </dl>
974 </div>
975</div>
976
977
978<div class="toggle-content closed">
979 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700980 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez452ff4802013-07-26 11:26:47 -0700981 alt=""/>SDK Tools, Revision 22.0.5</a> <em>(July 2013)</em>
982 </p>
983
984 <div class="toggle-content-toggleme">
985
986 <dl>
987 <dt>Dependencies:</dt>
988 <dd>
989 <ul>
990 <li>Android SDK Platform-tools revision 16 or later.</li>
991 <li>If you are developing in Eclipse with the
992 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a>, note that this version of
993 SDK Tools is designed for use with ADT 22.0.5 and later. If you haven't already, update
994 ADT to 22.0.5.</li>
995 <li>If you are using <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>,
996 note that this version of the SDK Tools is designed to work with Android Studio
997 0.2.x and later.</li>
998 <li>If you are developing without an integrated development environment (IDE), you must have
999 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1000 </ul>
1001 </dd>
1002
1003 <dt>General Notes:</dt>
1004 <dd>
1005 <ul>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001006 <li>Fixed RenderScript compilation issue for Windows platforms with ant.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001007 <li>Updated <a href="{@docRoot}tools/help/systrace.html">Systrace</a> to work with the
1008 Android 4.3 platform image.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001009 <li>Fixed packaging of RenderScript compiler.</li>
Scott Mainec6f3272013-07-30 10:09:21 -07001010 <li>Build tools 18.0.0 is obsolete and 18.0.1 should be used instead.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001011 </ul>
1012 </dd>
1013 </dl>
1014 </div>
1015</div>
1016
1017
1018<div class="toggle-content closed">
1019 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001020 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez5b7e6a32013-07-15 12:35:05 -07001021 alt=""/>SDK Tools, Revision 22.0.4</a> <em>(July 2013)</em>
1022 </p>
1023
1024 <div class="toggle-content-toggleme">
1025
1026 <dl>
1027 <dt>Dependencies:</dt>
1028 <dd>
1029 <ul>
1030 <li>Android SDK Platform-tools revision 16 or later.</li>
1031 <li>If you are developing in Eclipse with the
1032 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a>, note that this version of
1033 SDK Tools is designed for use with ADT 22.0.4 and later. If you haven't already, update
1034 ADT to 22.0.4.</li>
1035 <li>If you are using <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>,
1036 note that this version of the SDK Tools is designed to work with Android Studio
1037 0.2.x and later.</li>
1038 <li>If you are developing without an integrated development environment (IDE), you must have
1039 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1040 </ul>
1041 </dd>
1042
1043 <dt>General Notes:</dt>
1044 <dd>
1045 <ul>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001046 <li>Fixed problem with compiling RenderScript code.</li>
Joe Fernandez5b7e6a32013-07-15 12:35:05 -07001047 </ul>
1048 </dd>
1049 </dl>
1050 </div>
1051</div>
1052
1053
1054<div class="toggle-content closed">
1055 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001056 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandeza3b33c02013-05-22 22:19:29 -07001057 alt=""/>SDK Tools, Revision 22.0.1</a> <em>(May 2013)</em>
1058 </p>
1059
1060 <div class="toggle-content-toggleme">
1061
1062 <dl>
1063 <dt>Dependencies:</dt>
1064 <dd>
1065 <ul>
1066 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001067 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandeza3b33c02013-05-22 22:19:29 -07001068 designed for use with ADT 22.0.1 and later. If you haven't already, update your
1069 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.0.1.</li>
1070 <li>If you are developing outside Eclipse, you must have
1071 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1072 </ul>
1073 </dd>
1074
1075 <dt>General Notes:</dt>
1076 <dd>
1077 <ul>
1078 <li>Fixed issue with Lint ServiceCast check and fully qualified class names.
1079 (<a href="http://code.google.com/p/android/issues/detail?id=55403">Issue 55403</a>)</li>
1080 <li>Fixed crash issue with Lint ArraySizeDetector check.
1081 (<a href="http://code.google.com/p/android/issues/detail?id=54887">Issue 54887</a>)</li>
1082 <li>Fixed a problem with the monkeyrunner tool failing to import standard python classes.
1083 (<a href="http://code.google.com/p/android/issues/detail?id=55632">Issue 55632</a>)</li>
1084 <li>Fixed a problem with DDMS monitor not opening heap and network statistics views due to
1085 a class not found exception.
1086 (<a href="http://code.google.com/p/android/issues/detail?id=55394">Issue 55394</a>)</li>
1087 </ul>
1088
1089 </dd>
1090 </dl>
1091 </div>
1092</div>
1093
1094
1095<div class="toggle-content closed">
1096 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001097 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez82772f12013-03-27 11:30:34 -07001098 alt=""/>SDK Tools, Revision 22</a> <em>(May 2013)</em>
1099 </p>
1100
1101 <div class="toggle-content-toggleme">
1102
1103 <dl>
1104 <dt>Dependencies:</dt>
1105 <dd>
1106 <ul>
1107 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001108 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandez82772f12013-03-27 11:30:34 -07001109 designed for use with ADT 22.0.0 and later. If you haven't already, update your
1110 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.0.0.</li>
1111 <li>If you are developing outside Eclipse, you must have
1112 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1113 </ul>
1114 </dd>
1115
1116 <dt>General Notes:</dt>
1117 <dd>
1118 <ul>
1119 <li>Changed the structure of the SDK by adding a new build tool SDK Component, which is
1120 based on the existing platform-tools component. This change decouples the build tools
1121 versions from the IDE versions, allowing updates to the tools without requiring an
1122 IDE update.</li>
1123 <li>Updated tools to allow libraries to share the same package name as the applications
1124 that use them.</li>
1125 <li>Updated {@code draw9patch} tool to allow easier changing of markers.</li>
1126 <li>Added new Lint checks, including checks for layout consistency,
1127 {@link android.widget.RelativeLayout} siblings, {@link android.os.Parcel} creator,
1128 JavaScript interfaces, {@link android.app.Service} casting, quantity strings, manifest
1129 typos, orientation tags in layouts, overlapping names for 9-patches and images, and class
1130 existence checks.</li>
1131 <li>Updated build tools to sign applications using the BouncyCastle library instead of
1132 relying on Sun JVM specific APIs.</li>
1133 <li>Released some of the Android tools into <a href="http://www.maven.org">Maven
1134 Central</a> to assist third-party tool developers. The following tools are available
1135 in the repository: {@code manifest-merger}, {@code common/sdk_common}, {@code ddmlib},
1136 {@code dvlib}, {@code layoutlib_api}, {@code sdklib}, and {@code lint}.</li>
1137 </ul>
1138 </dd>
1139
1140 <dt>Bug fixes:</dt>
1141 <dd>
1142 <ul>
1143 <li>Fixed a number of minor bugs in the SDK and build system.</li>
1144 </ul>
1145 </dd>
1146 </dl>
1147 </div>
1148</div>
1149
1150<div class="toggle-content closed">
1151 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001152 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez8119f872013-02-13 14:03:27 -08001153 alt=""/>SDK Tools, Revision 21.1</a> <em>(February 2013)</em>
Joe Fernandez46e31ae2013-02-04 11:16:12 -08001154 </p>
1155
1156 <div class="toggle-content-toggleme">
1157
1158 <dl>
1159 <dt>Dependencies:</dt>
1160 <dd>
1161 <ul>
1162 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001163 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandez46e31ae2013-02-04 11:16:12 -08001164 designed for use with ADT 21.1.0 and later. If you haven't already, update your
1165 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.1.0.</li>
1166 <li>If you are developing outside Eclipse, you must have
1167 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1168 </ul>
1169 </dd>
1170
1171 <dt>General Notes:</dt>
1172 <dd>
1173 <ul>
1174 <li>Improved error reporting in {@code dx} when dex merging fails in the build
1175 system.</li>
1176 <li>Added more than 15 new Lint checks, including checks for overriding older APIs, XML
1177 resource problems, graphic asset issues and manifest tags.</li>
1178 <li>Added new aapt feature to compile resources.</li>
1179 </ul>
1180 </dd>
1181 </dl>
1182 </div>
1183</div>
1184
1185<div class="toggle-content closed">
1186 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001187 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez66e97da2012-12-12 15:06:09 -08001188 alt=""/>SDK Tools, Revision 21.0.1</a> <em>(December 2012)</em>
1189 </p>
1190
1191 <div class="toggle-content-toggleme">
1192
1193 <dl>
1194 <dt>Dependencies:</dt>
1195 <dd>
1196 <ul>
1197 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001198 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandez66e97da2012-12-12 15:06:09 -08001199 designed for use with ADT 21.0.1 and later. If you haven't already, update your
Joe Fernandez46e31ae2013-02-04 11:16:12 -08001200 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.0.1.</li>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001201 <li>If you are developing outside Eclipse, you must have
1202 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1203 </ul>
1204 </dd>
1205
1206 <dt>General Notes:</dt>
1207 <dd>
1208 <ul>
1209 <li>Build
1210 <ul>
1211 <li>Updated build to detect and handle package name conflicts between an application and
1212 the libraries it depends on. Libraries cannot share package names unless all of them
1213 share the same package name.
1214 (<a href="http://code.google.com/p/android/issues/detail?id=40152">Issue 40152</a>,
1215 <a href="http://code.google.com/p/android/issues/detail?id=40273">Issue 40273</a>)
1216 </li>
1217 <li>Added a flag to disable dex merging to deal with cases where merging could generate
1218 a broken dex file. If this happens to your project, add the following setting to your
1219 {@code project.properties} file: {@code dex.disable.merger=true} This setting
1220 causes the build system to revert to the older, slower dex processing that does not
1221 pre-dex libraries.</li>
1222 </ul>
1223 </li>
1224
Joe Fernandez8bed7492013-07-26 15:32:10 -07001225 <li>RenderScript
Joe Fernandez66e97da2012-12-12 15:06:09 -08001226 <ul>
1227 <li>Added support for
1228 <a href="{@docRoot}guide/topics/renderscript/compute.html#filterscript">Filterscript</a>
1229 compilation.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001230 <li>Added new project setting to control the RenderScript compilation target separately
Joe Fernandez66e97da2012-12-12 15:06:09 -08001231 from an Android project. Adding the following line to a {@code project.properties}
Joe Fernandez8bed7492013-07-26 15:32:10 -07001232 file causes RenderScript code to be compiled for Android API Level 17, while the
Joe Fernandez66e97da2012-12-12 15:06:09 -08001233 containing application can target a different (lower) API level:
1234 <pre>renderscript.target = 17</pre>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001235 Previously, the RenderScript compilation target was tied to the
Joe Fernandez66e97da2012-12-12 15:06:09 -08001236 {@code android:minSdkVersion} setting in the manifest.
1237 (<a href="http://code.google.com/p/android/issues/detail?id=40487">Issue 40487</a>)
1238 </li>
1239 </ul>
1240 </li>
1241
1242 </ul>
1243 </dd>
1244
1245
1246 <dt>Bug fixes:</dt>
1247 <dd>
1248 <ul>
1249 <li>Lint
1250 <ul>
1251 <li>Corrected check for {@code 0px} values in style XML elements.
1252 (<a href="http://code.google.com/p/android/issues/detail?id=39601">Issue 39601</a>)
1253 </li>
1254 <li>Fixed incorrect flagging of formatting strings.
1255 (<a href="http://code.google.com/p/android/issues/detail?id=39758">Issue 39758</a>)
1256 </li>
1257 <li>Fixed problem where {@code tools:ignore} directive in the manifest file was ignored
1258 by the Lint tool.
1259 (<a href="http://code.google.com/p/android/issues/detail?id=40136">Issue 40136</a>)
1260 </li>
1261 <li>Fixed problem with flagging a wakelock release inside a conditional.
1262 (<a href="http://code.google.com/p/android/issues/detail?id=40424">Issue 40424</a>)
1263 </li>
1264 <li>Fixed incorrect reporting of missing {@code layout_width} and {@code layout_height}
1265 XML fields.
1266 (<a href="http://code.google.com/p/android/issues/detail?id=38958">Issue 38958</a>)
1267 </li>
1268 <li>Fixed handling of custom namespace attributes.</li>
1269 <li>Added fixes for filtering out library project warnings.</li>
1270 <li>Removed warnings about missing classes before a build.</li>
1271 </ul>
1272 </li>
1273
1274 <li>Fixed problem with UI Automator Viewer execution script where Android tools directory
1275 is not set.</li>
1276 <li>Fixed problem with the SDK Manager so that it auto-selects the most recently released
1277 platform on startup.</li>
1278 <li>Fixed Java finding script to look for the currently supported version of Java (1.6 or
1279 higher).</li>
1280 <li>Fixed the SDK Manager launcher in the ADT bundle so that it can properly launch the
1281 SDK Manager program when it is placed at the root of the bundle.</li>
1282 </ul>
1283 </dd>
1284 </dl>
1285 </div>
1286</div>
1287
1288<div class="toggle-content closed">
1289 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001290 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Scott Main52bfaaf2012-11-12 19:39:58 -08001291 alt=""/>SDK Tools, Revision 21</a> <em>(November 2012)</em>
1292 </p>
1293
1294 <div class="toggle-content-toggleme">
1295
1296 <dl>
1297 <dt>Dependencies:</dt>
1298 <dd>
1299 <ul>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001300 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001301 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed
Scott Main52bfaaf2012-11-12 19:39:58 -08001302 for use with ADT 21.0.0 and later. If you haven't already, update your
1303 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.0.0.</li>
1304 <li>If you are developing outside Eclipse, you must have
1305 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001306 </ul>
Scott Main52bfaaf2012-11-12 19:39:58 -08001307 </dd>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001308
Scott Main52bfaaf2012-11-12 19:39:58 -08001309 <dt>General Notes:</dt>
1310 <dd>
1311 <ul>
1312 <li>Build System
1313 <ul>
1314 <li>Added a flag that sets <em>jumbo mode</em> for DEX files, which allows a larger
1315 number of strings in the DEX files. Enable this mode by adding the following line to
1316 the {@code project.properties} file of your project:
Rich Slogarc819d3d2014-12-15 10:46:18 -08001317 <pre>dex.force.jumbo=true</pre></li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001318 <li>Improved the build time by pre-dexing libraries (both JAR files and library
1319 projects).</li>
1320 <li>Updated the build to generate {@code R} resource classes for library projects
1321 with only the IDs needed by the libraries, reducing the risk of hitting DEX file
1322 limits for fields and methods.</li>
1323 <li>Improved the build so that several editing features (code completion, resource
1324 chooser, go to declaration) properly handle library project resources.</li>
1325 </ul>
1326 </li>
1327 <li>Lint
1328 <ul>
1329 <li>Added over 25 new lint rules for resources, locale settings, layout
1330 files, incorrect use of {@link android.util.SparseArray} and
1331 {@link android.os.PowerManager.WakeLock} and manifest issues.</li>
1332 <li>Updated reporting to include errors in library projects if the library project is
1333 in the list of projects to be checked.</li>
1334 <li>Added a new {@code lint} target to the Ant build system for easier
1335 integration with continuous build systems.</li>
1336 <li>Added new {@code --sources} and {@code --classpath} arguments to point to sources
1337 with different directory structures.</li>
1338 <li>Improved the XML export function to support the <a
1339 href="https://wiki.jenkins-ci.org/display/JENKINS/Android+Lint+Plugin">Jenkins Lint
1340 plugin</a>.
1341 </li>
1342 <li>Added support for class file flow analysis.</li>
1343 </ul>
1344 </li>
1345 <li>Android Virtual Devices (AVD)
1346 <ul>
1347 <li>Added new <strong>Device Definitions</strong> tab in the AVD Manager for configuring
1348 standard size and Nexus virtual devices.</li>
1349 <li>Improved emulators so that they launch with a skin that is dynamically generated and
1350 reflects the actual hardware configured in the AVD Manager.</li>
Joe Fernandez3d4f22912012-11-14 10:37:46 -08001351 <li>Improved support for developing Android apps on MIPS-based devices with new MIPS
1352 System Images for Android Virtual Devices.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001353 </ul>
1354 </li>
1355 <li>Added {@code jobb} tool for creating and encrypting
Dirk Dougherty2b286bb2012-11-29 17:25:09 -08001356 <a href="{@docRoot}google/play/expansion-files.html">APK Expansion Files</a>.
Scott Main52bfaaf2012-11-12 19:39:58 -08001357 (<a href="{@docRoot}tools/help/jobb.html">more info</a>)
1358 <li>Improved the Android JUnit test runner to allow a test to be run on all connected
1359 devices simultaneously.</li>
1360 </ul>
1361 </dd>
1362
1363 <dt>Bug fixes:</dt>
1364 <dd>
1365 <ul>
1366 <li>Fixed manifest merger to properly adapt library classes in the merged manifest.</li>
1367 </ul>
1368 </dd>
1369
1370 </dl>
1371 </div>
1372</div>
1373
1374<div class="toggle-content closed">
1375 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001376 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Scott Main607079d2012-08-09 14:13:22 -07001377 alt=""/>SDK Tools, Revision 20.0.3</a> <em>(August 2012)</em>
1378 </p>
1379
1380 <div class="toggle-content-toggleme">
1381
1382 <dl>
1383 <dt>Dependencies:</dt>
1384 <dd>
1385 <ul>
1386 <li>Android SDK Platform-tools revision 12 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001387 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed
Scott Main607079d2012-08-09 14:13:22 -07001388 for use with ADT 20.0.3 and later. If you haven't already, update your
1389 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.3.</li>
1390 <li>If you are developing outside Eclipse, you must have
1391 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1392 </ul>
1393 </dd>
1394 <dt>Bug fixes:</dt>
1395 <dd>
1396 <ul>
1397 <li>Fixed problem with cached download lists in SDK Manager.</li>
1398 </ul>
1399 </dd>
1400 </dl>
1401 </div>
1402</div>
1403
1404
1405<div class="toggle-content closed">
1406 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001407 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001408 alt=""/>SDK Tools, Revision 20.0.1</a> <em>(July 2012)</em>
1409 </p>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001410
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001411 <div class="toggle-content-toggleme">
1412
1413 <dl>
1414 <dt>Dependencies:</dt>
1415 <dd>
1416 <ul>
1417 <li>Android SDK Platform-tools revision 12 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001418 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001419 for use with ADT 20.0.1 and later. If you haven't already, update your
1420 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.1.</li>
1421 <li>If you are developing outside Eclipse, you must have
1422 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1423 </ul>
1424 </dd>
1425 <dt>Bug fixes:</dt>
1426 <dd>
1427 <ul>
1428 <li>Fixed wrong check on build state that forced repetitive Java code recompilation.</li>
1429 <li>Fixed problems with running more than one emulator and running multiple emulators
1430with GPU acceleration.</li>
1431 <li>Improved resize algorithm for better rendering on scaled emulator windows.</li>
1432 <li>Fixed a bug in the {@code lint} check for unprotected broadcast receivers to ignore
1433unprotected receivers for default Android actions.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001434 <li>Fixed build issue for projects using RenderScript.</li>
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001435 <li>Fixed memory leak in the emulator.</li>
1436 </ul>
1437 </dd>
1438 </dl>
1439 </div>
1440</div>
1441
1442<div class="toggle-content closed">
1443 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001444 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001445 alt=""/>SDK Tools, Revision 20</a> <em>(June 2012)</em>
1446 </p>
1447
1448 <div class="toggle-content-toggleme">
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001449 <dl>
1450 <dt>Dependencies:</dt>
1451 <dd>
1452 <ul>
1453 <li>Android SDK Platform-tools revision 12 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001454 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001455 use with ADT 20.0.0 and later. If you haven't already, we highly recommend updating your
1456 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.0.</li>
1457 <li>If you are developing outside Eclipse, you must have
1458 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1459 </ul>
1460 </dd>
1461 <dt>General notes:</dt>
1462 <dd>
1463 <ul>
1464 <li>Added new Device Monitor application, grouping Android debugging tools into a
1465single application, including ddms, traceview, hierarchyviewer and Tracer for GLES. (<a
Joe Fernandez79dee592012-06-29 14:39:00 -07001466href="{@docRoot}tools/help/gltracer.html">more info</a>)</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001467 <li>Added new System Trace new tool for tracing Android system activity. This tool allow you
1468to capture a slice of system activity, plus additional information tagged from the <strong>Settings
1469&gt; Developer Options &gt; Monitoring: Enable traces</strong> or with specific calls added to your
Joe Fernandez79dee592012-06-29 14:39:00 -07001470application code.</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001471 </li>
1472 <li>Build System
1473 <ul>
1474 <li>Added automatic merging of library project manifest files into the including
1475project's manifest. Enable this feature with the {@code manifestmerger.enabled} property.</li>
1476 <li>Added automatic ProGuard support for the {@code aapt -G} flag. This change causes
Scott Main52bfaaf2012-11-12 19:39:58 -08001477the build system to generate a temporary ProGuard {@code keep-rules} file containing classes that
1478are referenced from XML files (such as custom views) and pass this to ProGuard at shrink time. This
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001479can make the resulting APK much smaller when using just a small portion of a large library project
1480(such as the Android Support library), since the catch-all rules to keep all custom views from the
1481default ProGuard configuration file have also been removed.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001482 <li>Added two ProGuard configuration files for use in projects: {@code
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001483proguard-android-optimize.txt} which enables optimizations and {@code proguard-android.txt} which
1484disables them.</li>
1485 </ul>
1486 </li>
1487 <li>SDK Manager
1488 <ul>
1489 <li>Improved caching to reduce downloading of repository definitions.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001490 <li>Added <strong>Tools > Manage Add-on Sites</strong> option to improve performance by
1491 allowing temporary deactivation of third-party sites if they are loading slowly.</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001492 <li>Added settings for the SDK Manager download cache (<strong>SDK Manager > Tools >
1493Options</strong>).</li>
1494 </ul>
1495 </li>
1496 </ul>
1497 </dd>
1498 <dt>Bug fixes:</dt>
1499 <dd>
1500 <ul>
1501 <li>Build
1502 <ul>
1503 <li>Fixed problem where test projects did not have access to the full classpath of tested
1504projects, including Library Projects and third-party jars.</li>
1505 <li>Fixed deployment logic so that applications with embedded tests can now be deployed
1506and tested like test applications, including code coverage information.</li>
1507 <li>Fixed Ant support for testing projects with libraries.</li>
1508 </ul>
1509 </li>
1510 </ul>
1511 </dd>
1512 </dl>
1513 </div>
1514</div>
1515
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001516<div class="toggle-content closed">
1517 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001518 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001519 alt=""/>SDK Tools, Revision 19</a> <em>(April 2012)</em>
1520 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001521
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001522 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001523 <p class="note"><strong>Note:</strong> This update of SDK Tools is only available through
1524the <a href="{@docRoot}sdk/exploring.html">Android SDK Manager</a>. Use this tool to
1525download and install this update.</p>
1526
1527 <dl>
1528 <dt>Dependencies:</dt>
1529 <dd>
1530 <ul>
1531 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001532 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for
Scott Main50e990c2012-06-21 17:14:39 -07001533 use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your
1534 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li>
1535 <li>If you are developing outside Eclipse, you must have
1536 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1537 </ul>
1538 </dd>
1539 <dt>Bug fixes:</dt>
1540 <dd>
1541 <ul>
1542 <li>Fixed an issue that prevented some developers from running the emulator with GPU
1543acceleration.</li>
1544 </ul>
1545 </dd>
1546 </dl>
1547 </div>
1548</div>
1549
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001550<div class="toggle-content closed">
1551 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001552 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001553 alt=""/>SDK Tools, Revision 18</a> <em>(April 2012)</em>
1554 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001555
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001556 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001557 <p class="caution"><strong>Important:</strong> To download the new Android
1558 4.0 system components from the Android SDK Manager, you must first update the
1559 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1560 the Android 4.0 system components will not be available for download.</p>
1561
1562 <dl>
1563 <dt>Dependencies:</dt>
1564 <dd>
1565 <ul>
1566 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001567 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for
Scott Main50e990c2012-06-21 17:14:39 -07001568 use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your
1569 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li>
1570 <li>If you are developing outside Eclipse, you must have
1571 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1572 </ul>
1573 </dd>
1574 <dt>General notes:</dt>
1575 <dd>
1576 <ul>
1577 <li>Updated the SdkController app to encapsulate both sensor and multitouch emulation
1578 functionality.</li>
1579 </ul>
1580 </dd>
1581 <dt>Bug fixes:</dt>
1582 <dd>
1583 <ul>
1584 <li>Fixed Ant issues where some jar libraries in the {@code libs/} folder are not picked up
1585in some cases.</li>
1586 </ul>
1587 </dd>
1588 </dl>
1589 </div>
1590</div>
1591
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001592<div class="toggle-content closed">
1593 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001594 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001595 alt=""/>SDK Tools, Revision 17</a> <em>(March 2012)</em>
1596 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001597
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001598 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001599 <p class="caution"><strong>Important:</strong> To download the new Android
1600 4.0 system components from the Android SDK Manager, you must first update the
1601 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1602 the Android 4.0 system components will not be available for download.</p>
1603
1604 <dl>
1605 <dt>Dependencies:</dt>
1606 <dd>
1607 <ul>
1608 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001609 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for
Scott Main50e990c2012-06-21 17:14:39 -07001610 use with ADT 17.0.0 and later. If you haven't already, we highly recommend updating your
1611 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 17.0.0.</li>
1612 <li>If you are developing outside Eclipse, you must have
1613 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1614 </ul>
1615 </dd>
1616 <dt>General notes:</dt>
1617 <dd>
1618 <ul>
1619 <li>Emulator
1620 <ul>
1621 <li>Added support for hardware accelerated graphics rendering. This feature requires an
1622API Level 15, Revision 3 or later system image.
1623(<a href="{@docRoot}tools/devices/emulator.html#accel-graphics">more info</a>)
1624 </li>
1625 <li>Added support for running Android x86 system images in virtualization mode on
1626Windows and Mac OS X.
1627(<a href="{@docRoot}tools/devices/emulator.html#accel-vm">more info</a>)
1628 <p class="note"><strong>Note:</strong> Use the Android SDK Manager to download and
1629install x86 system images. Android x86 system images are not available for all API levels.</p>
1630 </li>
1631 <li>Added experimental support for multi-touch input by enabing the emulator to receive
1632 touch input from a USB-tethered physical Android device.
1633 (<a href="http://tools.android.com/tips/hardware-emulation">more info</a>)</li>
1634 </ul>
1635 </li>
1636 <li>Added viewing of live detailed network usage of an app in DDMS. (<a
1637 href="http://tools.android.com/recent/detailednetworkusageinddms">more info</a>)</li>
1638 <li>ProGuard
1639 <ul>
1640 <li>Updated the bundled ProGuard tool to version 4.7. In addition to many new features,
1641this update fixes the {@code Conversion to Dalvik format failed with error 1} error some users have
1642experienced.</li>
1643 <li>Updated the default {@code proguard.cfg} file with better default flags for
1644 Android.</li>
1645 <li>Split the ProGuard configuration file has been in half, with project specific flags
1646kept in project and the generic Android flags distributed (and updated) with the tools
1647themselves.</li>
1648 </ul>
1649 </li>
1650 <li>Build
1651 <ul>
1652 <li>Added a feature that allows you to run some code only in debug mode. Builds now
1653generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is
1654automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG})
1655constant in your code to run debug-only functions.</li>
1656 <li>Fixed issue when a project and its libraries include the same jar file in their libs
1657 folder. (<a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">more
1658 info</a>)</li>
1659 <li>Added support for custom views with custom attributes in libraries. Layouts using
1660custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead
1661of the URI that includes the app package name. This URI is replaced with the app specific one at
1662build time.</li>
1663 </ul>
1664 </li>
1665 <li>Lint
1666 <ul>
1667 <li>Updated Lint to check Android application code. Lint rules which previously
1668performed pattern based searches in the application code (such as the unused resource check) have
1669been rewritten to use the more accurate Java-style parse trees.</li>
1670 <li>Added support for checking library projects. This change means that rules such as
1671the unused resource check properly handle resources declared in a library project and referenced in
1672a downstream project.</li>
1673 <li>Added ability to suppress Lint warnings in Java code with the new
1674{@code @SuppressLint} annotation, and in XML files with the new tools: namespace and
1675ignore attribute. (<a
1676 href="http://tools.android.com/recent/ignoringlintwarnings">more info</a>)</li>
1677 <li>New Lint checks:
1678 <ul>
1679 <li>Added check for Android API calls that require a version of Android higher than
1680 the minimum supported version. You can use the new {@code @TargetApi} annotation
1681 to suppress warnings when the code is wrapped in a system version condition.
1682 (<a href="http://tools.android.com/recent/lintapicheck">more info</a>)</li>
1683 <li>Added over 20 new Lint rules, including checks for
1684 <a href="http://tools.android.com/recent/lintperformancechecks">performance</a>,
1685 XML layouts, manifest and file handling.</li>
1686 </ul>
1687 </li>
1688 </ul>
1689 </li>
1690 </ul>
1691 </dd>
1692 </dl>
1693 </div>
1694</div>
1695
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001696<div class="toggle-content closed">
1697 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001698 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001699 alt=""/>SDK Tools, Revision 16</a> <em>(December 2011)</em>
1700 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001701
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001702 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001703 <p class="caution"><strong>Important:</strong> To download the new Android
1704 4.0 system components from the Android SDK Manager, you must first update the
1705 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1706 the Android 4.0 system components will not be available for download.</p>
1707
1708<dl>
1709<dt>Dependencies:</dt>
1710<dd>
1711 <ul>
1712 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001713 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use
Scott Main50e990c2012-06-21 17:14:39 -07001714 with ADT 16.0.0 and later. If you haven't already, we highly recommend updating your
1715 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 16.0.0.</li>
1716 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1717 Ant</a> 1.8 or later.</li>
1718</ul>
1719</dd>
1720<dt>General notes:</dt>
1721<dd>
1722 <ul>
1723 <li>Added Lint tools to detect common errors in Android projects.
1724 (<a href="http://tools.android.com/recent/lint">more info</a>)</li>
1725 <li>Added sensor emulation support, which allows the emulator to read sensor data from a
1726 physical Android device.
1727 (<a href="http://tools.android.com/recent/sensoremulation">more info</a>)</li>
1728 <li>Added support for using a webcam to emulate a camera on Mac OS X.</li>
1729 </ul>
1730</dd>
1731<dt>Bug fixes:</dt>
1732<dd>
1733 <ul>
1734 <li>Snapshots now work for Android 4.0 system images.</li>
1735 <li>Fixed several small issues for the build file.
1736 (<a href="http://code.google.com/p/android/issues/detail?id=21023">Issue 21023</a>,
1737 <a href="http://code.google.com/p/android/issues/detail?id=21267">Issue 21267</a>,
1738 <a href="http://code.google.com/p/android/issues/detail?id=21465">Issue 21465</a>,
1739 <a href="http://code.google.com/p/android/issues/detail?id=21525">Issue 21525</a>).</li>
1740 </ul>
1741</dd>
1742</dl>
1743</div>
1744</div>
1745
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001746<div class="toggle-content closed">
1747 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001748 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001749 alt=""/>SDK Tools, Revision 15</a> <em>(October 2011)</em>
1750 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001751
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001752 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001753 <p class="caution"><strong>Important:</strong> To download the new Android
1754 4.0 system components from the Android SDK Manager, you must first update the
1755 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1756 the Android 4.0 system components will not be available for download.</p>
1757 <dl>
1758<dt>Dependencies:</dt>
1759<dd>
1760 <ul><li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001761 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use
Scott Main50e990c2012-06-21 17:14:39 -07001762 with ADT 15.0.0 and later. If you haven't already, we highly recommend updating your <a
1763 href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 15.0.0.</li>
1764 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1765 Ant</a> 1.8 or later.</li>
1766</ul>
1767
1768<dt>Bug fixes:</dt>
1769<dd>
1770 <ul>
1771 <li>Fixed emulator crash on Linux due to improper webcam detection
1772 (<a href="http://code.google.com/p/android/issues/detail?id=20952">Issue 20952</a>).</li>
1773 <li>Fixed emulator issue when using the <code>-wipe-data</code> argument.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001774 <li>Fixed build issue when using RenderScript in projects that target API levels 11-13
Scott Main50e990c2012-06-21 17:14:39 -07001775 (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li>
1776 <li>Fixed issue when creating an AVD using the GoogleTV addon
1777 (<a href="http://code.google.com/p/android/issues/detail?id=20963">Issue 20963</a>).</li>
1778 <li>Fixed <code>ant test</code>
1779 (<a href="http://code.google.com/p/android/issues/detail?id=20979">Issue 20979</a>).</li>
1780 <li>Fixed <code>android update project</code>
1781 (<a href="http://code.google.com/p/android/issues/detail?id=20535">Issue 20535</a>).</li>
1782 <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li>
1783 <li>Fixed issue with MonkeyRunner
1784 (<a href="http://code.google.com/p/android/issues/detail?id=20964">Issue 20964</a>).</li>
1785 <li>Fixed issues in the SDK Manager
1786 (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>,
1787 <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li>
1788 </ul>
1789</dd>
1790</dl>
1791</div>
1792</div>
1793
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001794<div class="toggle-content closed">
1795 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001796 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001797 alt=""/>SDK Tools, Revision 14</a> <em>(October 2011)</em>
1798 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001799
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001800 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001801 <p class="note"><strong>Important:</strong> To download the new Android
1802 4.0 system components from the Android SDK Manager, you must first update the
1803 SDK tools to revision 14 and restart the Android SDK Manager. If you do not,
1804 the Android 4.0 system components will not be available for download.</p>
1805 <dl>
1806<dt>Dependencies:</dt>
1807<dd>
1808 <ul><li>Android SDK Platform-tools revision 8 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001809 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use
Scott Main50e990c2012-06-21 17:14:39 -07001810 with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a
1811 href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li>
1812 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1813 Ant</a> 1.8 or later.</li>
1814</ul>
1815
1816<dt>General notes:</dt>
1817<dd>
1818 <ul>
1819 <li>Added webcam support to Android 4.0 or later platforms to emulate rear-facing cameras when
1820 one webcam is present, and to emulate both rear-facing and front-facing cameras when two
1821 webcams are present. Webcam support is for Windows and Linux only.
1822 Mac support will come in a later release.</li>
1823 <li>Changed <code>default.properties</code> to <code>project.properties</code> and
1824 <code>build.properties</code> to <code>ant.properties</code>. Any existing
1825 projects that you build with Ant must be updated with the <code>android update project</code>
1826 command.</li>
1827 <li>Changed Ant <code>build.xml</code> file to support improvements to the
1828 build system and added and modified Ant commands to support these changes. For a list of Ant
1829commands, see the
1830<a href="{@docRoot}tools/building/building-cmdline.html#AntReference">Ant Command
1831Reference</a>.</li>
1832 <li>Changed how library projects are built.</li>
1833 <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no
1834 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
1835 run once for each library project.</li>
1836 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
1837 crunching all existing PNG files, all the time.</li>
1838 <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
1839info</a>).</li>
1840 </ul>
1841 <p>For a complete overview of the build system changes and what you need to do to support them,
1842see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
1843site</a>.</p>
1844</dd>
1845</dl>
1846</div>
1847</div>
1848
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001849<div class="toggle-content closed">
1850 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001851 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001852 alt=""/>SDK Tools, Revision 13</a> <em>(September 2011)</em>
1853 </p>
1854
1855 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001856 <dl>
1857<dt>Dependencies:</dt>
1858<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001859<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with
Scott Main50e990c2012-06-21 17:14:39 -07001860ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
1861href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
1862
1863<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1864Ant</a> 1.8 or later.</p>
1865
1866<dt>General notes:</dt>
1867<dd>
1868 <ul>
1869 <li>Fix compilation issue in Ant (<code>dex</code> step) when paths have spaces.</li>
1870 <li>Fix issue in emulator installation when paths have spaces.</li>
1871 <li>Fix issue when AVD paths have spaces.</li>
1872 <li>Fix rendering issue when using emulator scaling (<a href="http://code.google.com/p/android/issues/detail?id=18299">see more</a>).</li>
1873 </ul>
1874</dd>
1875</dl>
1876</div>
1877</div>
1878
1879
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001880<div class="toggle-content closed">
1881 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001882 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001883 alt=""/>SDK Tools, Revision 12</a> <em>(July 2011)</em>
1884 </p>
1885
1886 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001887 <dl>
1888<dt>Dependencies:</dt>
1889<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001890<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with
Scott Main50e990c2012-06-21 17:14:39 -07001891ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
1892href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
1893
1894<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1895Ant</a> 1.8 or later.</p>
1896
1897<dt>General notes:</dt>
1898<dd>
1899 <ul>
1900 <li>The AVD manager and emulator can now use system images
1901 compiled for ARM v7 and x86 CPUs.</li>
1902 </ul>
1903</dd>
1904</dl>
1905</div>
1906</div>
1907
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001908<div class="toggle-content closed">
1909 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001910 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001911 alt=""/>SDK Tools, Revision 11</a> <em>(May 2011)</em>
1912 </p>
1913
1914 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001915 <dl>
1916<dt>Dependencies:</dt>
1917<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001918<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with
Scott Main50e990c2012-06-21 17:14:39 -07001919ADT 10.0.1 and later. If you haven't already, we highly recommend updating your <a
1920href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 10.0.1.</p>
1921
1922<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1923Ant</a> 1.8 or later.</p>
1924
1925<dt>General notes:</dt>
1926<dd>
1927 <ul>
1928 <li>Miscellaneous emulator changes to support Android 3.1.</li>
1929 </ul>
1930</dd>
1931</dl>
1932</div>
1933</div>
1934
1935
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001936<div class="toggle-content closed">
1937 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001938 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001939 alt=""/>SDK Tools, Revision 10</a> <em>(February 2011)</em>
1940 </p>
1941
1942 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001943 <dl>
1944<dt>Dependencies:</dt>
1945<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001946<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07001947designed for use with ADT 10.0.0 and later. After installing SDK Tools r10, we
1948highly recommend updating your ADT Plugin to 10.0.0.</p>
1949
1950<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1951Ant</a> 1.8 or later.</p>
1952
1953<dt>General notes:</dt>
1954<dd>
1955 <ul>
1956 <li>The tools now automatically generate Java Programming Language source files (in the
1957<code>gen</code> directory) and
1958 bytecode (in the <code>res/raw</code> directory) from your native <code>.rs</code> files</li>
1959 </ul>
1960</dd>
1961</dl>
1962</div>
1963</div>
1964
1965
1966
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001967<div class="toggle-content closed">
1968 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001969 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001970 alt=""/>SDK Tools, Revision 9</a> <em>(January 2011)</em>
1971 </p>
1972
1973 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001974 <dl>
1975<dt>Dependencies:</dt>
1976<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001977<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07001978designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we
1979highly recommend updating your ADT Plugin to 9.0.0.</p>
1980
1981<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1982Ant</a> 1.8 or later.</p>
1983
1984<dt>Upgrading to SDK Tools r9:</dt>
1985<dd>
1986<p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location
1987for the <code>adb</code> tool has changed from <code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
1988<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
1989add the new location to your PATH and modify any custom build scripts to
1990reference the new location. Copying the <code>adb</code> executable from the new
1991location to the old is not recommended, since subsequent updates to the SDK
1992Tools will delete the file.</p>
1993</dd>
1994
1995<dt>General notes:</dt>
1996<dd>
1997 <ul>
1998 <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes:
1999 <ul>
2000 <li>classes that extend {@link android.preference.Preference}</li>
2001 <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li>
2002 </ul>
2003 </li>
2004 <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>,
2005 and <code>java.target</code> properties.</li>
2006 <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li>
2007 <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li>
2008 <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the
2009 <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li>
2010 <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can
2011enable snapshots for the system state. The emulator will then restore to the state when it last
2012closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active
2013development and might not always perform as expected.</li>
2014 <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li>
2015 <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support
2016 the new location of <code>adb</code>.</li>
2017 <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM
2018instruction set architecture on your computer, emulator performance is slow. We're working hard to
2019resolve the performance issues and it will improve in future releases.</li>
2020 </ul>
2021</dd>
2022</dl>
2023</div>
2024</div>
2025
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002026<div class="toggle-content closed">
2027 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002028 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002029 alt=""/>SDK Tools, Revision 8</a> <em>(December 2010)</em>
2030 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002031
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002032 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002033<dl>
2034<dt>Dependencies:</dt>
2035<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002036<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07002037designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we
2038highly recommend updating your ADT Plugin to 8.0.0.</p>
2039
2040<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
2041Ant</a> 1.8 or later.</p>
2042
2043<p>Also note that SDK Tools r8 requires a new SDK component called
2044<em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms
2045(Android 2.1, Android 2.2, and so on) use the same (latest) version of build
2046tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and
2047<code>dx</code>. To download the Platform-tools component, use the Android SDK
2048Manager, as described in <a href="{@docRoot}sdk/exploring.html">Exploring the
2049SDK</a></p>
2050
2051<dt>Upgrading from SDK Tools r7:</dt>
2052<dd>
2053<p>If you are upgrading to SDK Tools r8 from an earlier version, note that the
2054the default installed location for the <code>adb</code> tool has changed from
2055<code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
2056<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
2057add the new location to your PATH and modify any custom build scripts to
2058reference the new location. Copying the <code>adb</code> executable from the new
2059location to the old is not recommended, since subsequent updates to the SDK
2060Tools will delete the file.</p>
2061</dd>
2062
2063<dt>General notes:</dt>
2064<dd>
2065<ul>
2066<li>All SDK platforms now support Library Projects.</li>
2067<li>Support for a true debug build. Developers no longer need to add the
2068<code>android:debuggable</code> attribute to the
2069<code>&lt;application&gt;</code> tag in the manifest &mdash; the build tools add
2070the attribute automatically. In Eclipse/ADT, all incremental builds are assumed
2071to be debug builds, so the tools insert <code>android:debuggable="true"</code>.
2072When exporting a signed release build, the tools do not add the attribute. In
2073Ant, a <code>ant debug</code> command automatically inserts the
2074<code>android:debuggable="true"</code> attribute, while <code>ant release</code>
2075does not. If <code>android:debuggable="true"</code> is manually set, then
2076<code>ant release</code> will actually do a debug build, rather than a release
2077build.</li>
2078<li>Automatic ProGuard support in release builds. Developers generate a ProGuard
2079configuration file using the <code>android</code> tool &mdash; the build tools
2080then automatically run ProGuard against the project sources during the build.
2081For more information, see the <a
2082href="{@docRoot}tools/help/proguard.html">ProGuard</a>
2083documentation. </li>
2084<li>New overridable Ant javac properties: <code>java.encoding</code>,
2085<code>java.source</code>, and <code>java.target</code> (default values are
2086"ascii", "1.5", and "1.5", respectively).</li>
2087<li>New UI for the HierarchyViewer tool.</li>
2088</ul>
2089</dd>
2090</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002091</div>
Scott Main50e990c2012-06-21 17:14:39 -07002092</div>
2093
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002094<div class="toggle-content closed">
2095 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002096 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002097 alt=""/>SDK Tools, Revision 7</a> <em>(September 2010)</em>
2098 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002099
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002100 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002101<dl>
2102<dt>Dependencies:</dt>
2103<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002104<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07002105designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we
2106highly recommend updating your ADT Plugin to 0.9.8.</p>
2107</dd>
2108
2109<dt>General notes:</dt>
2110<dd>
2111<ul>
2112<li>Added support for library projects that depend on other library projects.</li>
2113<li>Adds support for aidl files in library projects.</li>
2114<li>Adds support for extension targets in Ant build to perform tasks between the
2115normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and
2116<code>-post-compile</code>.</li>
2117<li>Adds support for "headless" SDK update. See <code>android -h update sdk</code>
2118for more information.</li>
2119<li>Fixes location control in DDMS to work in any locale not using '.' as a
2120decimal point.</li>
2121</ul>
2122</ul>
2123</dd>
2124</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002125</div>
Scott Main50e990c2012-06-21 17:14:39 -07002126</div>
2127
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002128<div class="toggle-content closed">
2129 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002130 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002131 alt=""/>SDK Tools, Revision 6</a> <em>(May 2010)</em>
2132 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002133
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002134 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002135<dl>
2136<dt>Dependencies:</dt>
2137<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002138<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07002139designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we
2140highly recommend updating your ADT Plugin to 0.9.7.</p>
2141</dd>
2142
2143<dt>Library projects:</dt>
2144<dd>
2145<p>The SDK Tools now support the use of <em>library projects</em> during
2146development, a capability that lets you store shared Android application
2147code and resources in a separate development project. You can then reference the
2148library project from other Android projects and, at build time, the tools
2149compile the shared code and resources as part of the dependent applications.
2150More information about this feature is available in the <a
2151href="{@docRoot}tools/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p>
2152<p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a>
2153provides the equivalent library project support.</p>
2154</dd>
2155</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002156</div>
Scott Main50e990c2012-06-21 17:14:39 -07002157</div>
2158
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002159<div class="toggle-content closed">
2160 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002161 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002162 alt=""/>SDK Tools, Revision 5</a> <em>(March 2010)</em>
2163 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002164
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002165 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002166<dl>
2167<dt>Dependencies:</dt>
2168<dd><ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002169<li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07002170designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we
2171highly recommend updating your ADT Plugin to 0.9.6.</li>
2172<li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer
2173officially supported. </li>
2174</ul>
2175</dd>
2176
2177<dt>SDK and AVD Manager:</dt>
2178<dd>
2179<ul>
2180<li>Fixes SSL download for the standalone version of the SDK Updater.</li>
2181<li>Fixes issue with 64-bit JVM on Windows.</li>
2182<li>Adds support for platform samples components.</li>
2183<li>Improves support for dependency between components.</li>
2184<li>AVDs now sorted by API level.</li>
2185<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
2186<li>Prevents deletion of running AVDs.</li>
2187<li>Settings are now automatically saved, no need to click "Apply".</li>
2188</ul>
2189</dd>
2190
2191<dt>Emulator:</dt>
2192<dd>
2193<ul>
2194<li>Emulator now requires SD card to be 9MB or more.</li>
2195</ul>
2196</dd>
2197
2198<dt>Layoutopt:</dt>
2199<dd>
2200<ul>
2201<li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li>
2202</ul>
2203</dd>
2204</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002205</div>
Scott Main50e990c2012-06-21 17:14:39 -07002206</div>
2207
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002208<div class="toggle-content closed">
2209 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002210 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002211 alt=""/>SDK Tools, Revision 4</a> <em>(December 2009)</em>
2212 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002213
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002214 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002215<dl>
2216<dt>Dependencies:</dt>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002217<dd><p>This version of SDK Tools is compatible with ADT 0.9.5 and later, but not
Scott Main50e990c2012-06-21 17:14:39 -07002218compatible with earlier versions. If you are developing in Eclipse with ADT, you
2219<strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you
2220install SDK Tools r4 in your SDK. </p></dd>
2221
2222<dt>General notes:</dt>
2223<dd>
2224<ul>
2225<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a
2226compatibility issue between GTK and SWT.</li>
2227</ul>
2228</dd>
2229
2230<dt>Android SDK and AVD Manager:</dt>
2231<dd>
2232<ul>
2233<li>AVD Launch dialog now shows scale value.</li>
2234<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no
2235skin name specified.</li>
2236<li>Fixes XML validation issue in on older Java versions.</li>
2237<li>No longer forces the use of Java 1.5 on Mac OS X.</li>
2238</ul>
2239</dd>
2240
2241<dt>Emulator:</dt>
2242<dd>
2243<ul>
2244<li>No longer limits the size of the system partition.</li>
2245</ul>
2246</dd>
2247
2248<dt>Ant build tools:</dt>
2249<dd>
2250<ul>
2251<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
2252</ul>
2253</dd>
2254</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002255</div>
Scott Main50e990c2012-06-21 17:14:39 -07002256</div>
2257
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002258<div class="toggle-content closed">
2259 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002260 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002261 alt=""/>SDK Tools, Revision 3</a> <em>(October 2009)</em>
2262 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002263
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002264 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002265<dl>
2266<dt>Dependencies:</dt>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002267<dd><p>This version of SDK Tools is compatible with ADT 0.9.4 and later, but not
Scott Main50e990c2012-06-21 17:14:39 -07002268compatible with earlier versions. If you are developing in Eclipse with ADT, you
2269<strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you
2270install SDK Tools r3 in your SDK.</p>
2271</dd>
2272
2273<dt>Android tool:</dt>
2274<dd>
2275<ul>
2276<li>Adds new <code>android create test-project</code> and <code>android update
2277test-project</code> commands to allow for greater flexibility in the location of the
2278main and test projects.</li>
2279</ul>
2280</dd>
2281
2282<dt>DDMS:</dt>
2283<dd>
2284<ul>
2285<li>Adds a button to dump HPROF file for running applications (app must be able
2286to write to the sdcard).</li>
2287<li>Button to start/stop profiling of a running application (app must be able to
2288write to the sdcard). Upon stop, Traceview will automatically be launched to
2289display the trace.</li>
2290<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X
229110.6.</li>
2292<li>Fixed screenshot support for devices running 32-bit framebuffer.</li>
2293</ul>
2294</dd>
2295
2296<dt>Android SDK and AVD Manager:</dt>
2297<dd>
2298<ul>
2299<li>Provides a new UI that lets you set options for controlling
2300the emulator skin, screen size/density, and scale factor used when launching
2301an AVD.</li>
2302<li>Provides improved AVD creation UI, which lets you customize the hardware
2303properties of your AVDs.</li>
2304<li>Now enforces dependencies between platforms and tools components, and
2305between SDK add-ons and platforms.</li>
2306</ul>
2307</dd>
2308
2309<dt>Layoutopt, a new tool for optimizing layouts:</dt>
2310
2311<dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line
2312tool that helps you optimize your layout hierarchies. When run against your
2313layout files, the tool analyzes their hierarchies and notifies you of
2314inefficiencies and other potential issues. The tool also provides simple
2315solutions for the issues it finds. For usage, see <a
2316href="/tools/help/layoutopt.html">layoutopt</a>.</p>
2317</dd>
2318</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002319</div>
Scott Main50e990c2012-06-21 17:14:39 -07002320</div>