blob: 1625716004f54b1641761e1b51500f522804e8fd [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
21<p>For a summary of all known issues in SDK Tools, see <a
22href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p>
23
Joe Fernandez67e6e0e2012-07-13 17:31:31 -070024<div class="toggle-content opened">
25 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -070026 <img src="{@docRoot}assets/images/styles/disclosure_up.png" class="toggle-content-img"
27 alt=""/>SDK Platform-tools, Revision 23.1.0</a> <em>(December 2015)</em>
28 </p>
29
30 <div class="toggle-content-toggleme">
31
32 <dl>
33 <dt>General Notes:</dt>
34 <dd>
35 <ul>
36 <li>Changed Linux requirements for Android SDK Platform-tools revision 23.1.0 and later:
37 it now requires 64-bit Linux.</li>
38 </ul>
39 </dd>
40
41
42
43 </div>
44</div>
45
46<div class="toggle-content closed">
47 <p><a href="#" onclick="return toggleContent(this)">
48 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
49 alt=""/>SDK Tools, Revision 24.4.1</a> <em>(October 2015)</em>
50 </p>
51
52 <div class="toggle-content-toggleme">
53
54 <dl>
55 <dt>Dependencies:</dt>
56
57 <dd>
58 <ul>
59 <li>Android SDK Platform-tools revision 23 or later.</li>
60 </ul>
61 </dd>
62
63 <dt>General Notes:</dt>
64 <dd>
65 <ul>
66 <li>Fixed a problem where the emulator title bar was hidden off screen.
67 (<a href="http://code.google.com/p/android/issues/detail?id=178344">Issue 178344</a>)</li>
68 <li>Enabled the emulator to resize the user data partition by including e2fsprogs binaries.
69 (<a href="http://code.google.com/p/android/issues/detail?id=189030">Issue 189030</a>)</li>
70 <li>Fixed a regression on the 32-bit Windows OS where the emulator fails to boot Android 6.0
71 (API level 23) through Android 5.0 (API level 21) system images.
72 (<a href="http://code.google.com/p/android/issues/detail?id=188326">Issue 188326</a>)</li>
73 </ul>
74 </dd>
75
76 </div>
77</div>
78
79
80<div class="toggle-content closed">
81 <p><a href="#" onclick="return toggleContent(this)">
82 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
83 alt=""/>SDK Tools, Revision 24.4.0</a> <em>(October 2015)</em>
84 </p>
85
86 <div class="toggle-content-toggleme">
87
88 <dl>
89 <dt>Dependencies:</dt>
90
91 <dd>
92 <ul>
93 <li>Android SDK Platform-tools revision 23 or later.</li>
94 </ul>
95 </dd>
96
97 <dt>General Notes:</dt>
98 <dd>
99 <ul>
100 <li>Updated the emulator so it can display an upgrade notification when a new version is
101 available.</li>
102 <li>Added the ability for the emulator to send basic crash reports. You <em>must</em> opt-in
103 through Android Studio preferences to enable crash report transmission.</li>
104 </ul>
105 </dd>
106
107 </div>
108</div>
109
110<div class="toggle-content closed">
111 <p><a href="#" onclick="return toggleContent(this)">
112 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez0baf95b2015-08-14 12:22:43 -0700113 alt=""/>SDK Tools, Revision 24.3.4</a> <em>(August 2015)</em>
114 </p>
115
116 <div class="toggle-content-toggleme">
117
118 <dl>
119 <dt>Dependencies:</dt>
120
121 <dd>
122 <ul>
123 <li>Android SDK Platform-tools revision 23 or later.</li>
124 </ul>
125 </dd>
126
127 <dt>General Notes:</dt>
128 <dd>
129 <ul>
130 <li>Added support for Android 6.0 (API level 23) platform.</li>
131 </ul>
132 </dd>
133
134 <dt>Emulator:</dt>
135 <dd>
136 <ul>
137 <li>Improved emulator performance on multi-core Windows desktops.
138 (<a href="http://b.android.com/101040">Issue 101040</a>)</li>
139 <li>Added support for GPU emulation on Windows and Linux platforms using the
140 {@code -gpu mesa} command line option.</li>
141 <li>Enabled support for running emulators with GPU emulation through remote desktop
142 services, including Chrome Remote Desktop, Windows Terminal Services, and NoMachine.</li>
143 <li>Added support for emulators with 280 dpi and 360 dpi screen resolutions.</li>
144 <li>Improved support for GLES 2.0 extensions.</li>
145 <li>Fixed several issues with GPU emulation support.</li>
146 <li>Added support for setting the storage size on emulators using Android 4.4 (API level 19)
147 and higher.
148 (<a href="http://b.android.com/75141">Issue 75141</a>)</li>
149 <li>Fixed problem with sending long SMS messages between emulators.
150 (<a href="http://b.android.com/3539">Issue 3539</a>)</li>
151 <li>Fixed issue with emulator getting incorrect time from location objects.
152 (<a href="http://b.android.com/27272">Issue 27272</a>)</li>
153 <li>Added handling for unusual characters in paths and file names when starting emulators.
154 (<a href="http://b.android.com/35889">Issue 35889</a>)</li>
155 </ul>
156 </dd>
157
158 </div>
159</div>
160
161
162<div class="toggle-content closed">
163 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700164 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar1ba81cf2015-06-16 14:22:08 -0700165 alt=""/>SDK Tools, Revision 24.3.3</a> <em>(June 2015)</em>
166 </p>
167
168 <div class="toggle-content-toggleme">
169
170 <dl>
171 <dt>Dependencies:</dt>
172
173 <dd>
174 <ul>
175 <li>Android SDK Platform-tools revision 19 or later.</li>
176 </ul>
177 </dd>
178
179 <dt>General Notes:</dt>
180 <dd>
181 <ul>
182 <li>Fixed issues with using Ant build tasks with the Eclipse ADT build structure. </li>
183 <li>Fixed the emulator boot problem on Mac OS X 10.8.5.</li>
184 </ul>
185 </dd>
186 </div>
187</div>
188
189
Rich Slogar1ba81cf2015-06-16 14:22:08 -0700190<div class="toggle-content closed">
191 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700192 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar01572ea2015-06-11 13:56:37 -0700193 alt=""/>SDK Tools, Revision 24.3.2</a> <em>(June 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 19 or later.</li>
204 </ul>
205 </dd>
206
207 <dt>General Notes:</dt>
208 <dd>
209 <ul>
210 <li>Fixed issues with the ARM 64-bit emulator.</li>
211 </ul>
212 </dd>
213 </div>
214</div>
215
216
217<div class="toggle-content closed">
218 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700219 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar01572ea2015-06-11 13:56:37 -0700220 alt=""/>SDK Tools, Revision 24.3.1</a> <em>(June 2015)</em>
221 </p>
222
223 <div class="toggle-content-toggleme">
224
225 <dl>
226 <dt>Dependencies:</dt>
227
228 <dd>
229 <ul>
230 <li>Android SDK Platform-tools revision 19 or later.</li>
231 </ul>
232 </dd>
233
234 <dt>General Notes:</dt>
235 <dd>
236 <ul>
237 <li>Fixed issue with the <code>root/</code> and <code>lib/</code> folders. </li>
238 </ul>
239 <p class="caution"><strong>Caution:</strong> This release is known to contain issues which
240 prevent builds from completing. We strongly recommend that you update to SDK Tools 24.3.2
241 as soon as possible. </p>
242 </dd>
243 </div>
244</div>
245
246
247<div class="toggle-content closed">
248 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700249 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar01572ea2015-06-11 13:56:37 -0700250 alt=""/>SDK Tools, Revision 24.3.0</a> <em>(June 2015)</em>
251 </p>
252
253 <div class="toggle-content-toggleme">
254
255 <dl>
256 <dt>Dependencies:</dt>
257
258 <dd>
259 <ul>
260 <li>Android SDK Platform-tools revision 19 or later.</li>
261 </ul>
262 </dd>
263
264 <dt>General Notes:</dt>
265 <dd>
266 <ul>
267 <li>Fixed several minor emulator issues.</li>
268 </ul>
269 <p class="caution"><strong>Caution:</strong> This release is known to contain issues which
270 prevent builds from completing. We strongly recommend that you update to SDK Tools 24.3.2
271 as soon as possible. </p>
272 </dd>
273 </div>
274</div>
275
276
277
278<div class="toggle-content closed">
279 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700280 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogare7bfe5b2015-05-01 10:42:45 -0700281 alt=""/>SDK Tools, Revision 24.2.0</a> <em>(May 2015)</em>
282 </p>
283
284 <div class="toggle-content-toggleme">
285
286 <dl>
287 <dt>Dependencies:</dt>
288
289 <dd>
290 <ul>
291 <li>Android SDK Platform-tools revision 19 or later.</li>
292 </ul>
293 </dd>
294
295 <dt>General Notes:</dt>
296 <dd>
297 <ul>
298 <li>Fixed several minor emulator issues.</li>
299 </ul>
300 </dd>
301 </div>
302</div>
303
304
305<div class="toggle-content closed">
306 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700307 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar4aba69a2015-03-05 11:24:45 -0800308 alt=""/>SDK Tools, Revision 24.1.2</a> <em>(February 2015)</em>
Rich Slogarb9157af2015-02-26 15:10:54 -0800309 </p>
310
311 <div class="toggle-content-toggleme">
312
313 <dl>
314 <dt>Dependencies:</dt>
315
316 <dd>
317 <ul>
318 <li>Android SDK Platform-tools revision 19 or later.</li>
319 </ul>
320 </dd>
321
322 <dt>General Notes:</dt>
323 <dd>
324 <ul>
325 <li>Fixed boot failures of MIPS system images on Mac OS X.</li>
326 <li>Fixed AVD screen capture issues when using GPU emulation.</li>
327 <li>Fixed memory leaks in emulator system.</li>
328 </ul>
329 </dd>
330 </div>
331</div>
332
333
334<div class="toggle-content closed">
335 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700336 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar8838a9f2014-12-15 16:58:03 -0800337 alt=""/>SDK Tools, Revision 24.0.2</a> <em>(December 2014)</em>
338 </p>
339
340 <div class="toggle-content-toggleme">
341
342 <dl>
343 <dt>Dependencies:</dt>
344
345 <dd>
346 <ul>
347 <li>Android SDK Platform-tools revision 19 or later.</li>
348 </ul>
349 </dd>
350
351 <dt>General Notes:</dt>
352 <dd>
353 <ul>
354 <li>Fixed issue with creating projects and activities from templates using Eclipse ADT.</li>
355 </ul>
356 </dd>
357 </div>
358</div>
359
360
361<div class="toggle-content closed">
362 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700363 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar7deca3c2014-12-10 11:27:59 -0800364 alt=""/>SDK Tools, Revision 24.0.1</a> <em>(December 2014)</em>
365 </p>
366
367 <div class="toggle-content-toggleme">
368
369 <dl>
370 <dt>Dependencies:</dt>
371
372 <dd>
373 <ul>
374 <li>Android SDK Platform-tools revision 19 or later.</li>
375 </ul>
376 </dd>
377
378 <dt>General Notes:</dt>
379 <dd>
380 <ul>
381 <li>Fixed Java detection issue on 32-bit Windows systems.</li>
382 </ul>
383 </dd>
384 </div>
385</div>
386
387
388<div class="toggle-content closed">
389 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700390 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogarf7c02ed062014-12-08 09:49:00 -0800391 alt=""/>SDK Tools, Revision 24.0.0</a> <em>(December 2014)</em>
392 </p>
393
394 <div class="toggle-content-toggleme">
395
396 <dl>
397 <dt>Dependencies:</dt>
398
399 <dd>
400 <ul>
401 <li>Android SDK Platform-tools revision 19 or later.</li>
402 </ul>
403 </dd>
404
405 <dt>General Notes:</dt>
406 <dd>
407 <ul>
Rich Slogarb9157af2015-02-26 15:10:54 -0800408 <li>Added support for Android Studio 1.0 and emulator enhancements.</li>
Rich Slogarf7c02ed062014-12-08 09:49:00 -0800409 </ul>
410 </dd>
411 </div>
412</div>
413
414
Rich Slogar7deca3c2014-12-10 11:27:59 -0800415
Rich Slogarf7c02ed062014-12-08 09:49:00 -0800416<div class="toggle-content closed">
417 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700418 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar309b1b32014-10-10 11:03:23 -0700419 alt=""/>SDK Tools, Revision 23.0.5</a> <em>(October 2014)</em>
420 </p>
421
422 <div class="toggle-content-toggleme">
423
424 <dl>
425 <dt>Dependencies:</dt>
426
427 <dd>
428 <ul>
429 <li>Android SDK Platform-tools revision 19 or later.</li>
430 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
431 designed for use with ADT 23.0.4 and later. If you haven't already, update your
432 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.4.</li>
433 <li>If you are developing outside Eclipse, you must have
434 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
435 </ul>
436 </dd>
437
438 <dt>General Notes:</dt>
439 <dd>
440 <ul>
441 <li>Fixed Windows 32-bit compilation issue.</li>
442 </ul>
443 </dd>
444 </div>
445</div>
446
447
448<div class="toggle-content closed">
449 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700450 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar1b0fba62014-10-07 11:06:07 -0700451 alt=""/>SDK Tools, Revision 23.0.4</a> <em>(October 2014)</em>
452 </p>
453
454 <div class="toggle-content-toggleme">
455
456 <dl>
457 <dt>Dependencies:</dt>
458
459 <dd>
460 <ul>
461 <li>Android SDK Platform-tools revision 19 or later.</li>
462 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
463 designed for use with ADT 23.0.4 and later. If you haven't already, update your
464 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.4.</li>
465 <li>If you are developing outside Eclipse, you must have
466 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
467 </ul>
468 </dd>
469
470 <dt>General Notes:</dt>
471 <dd>
472 <ul>
473 <li>Fixed duplicate devices in AVD for Wear and TV.</li>
474 </ul>
475 </dd>
476 </div>
477</div>
478
479
480<div class="toggle-content closed">
481 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700482 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraa4d7e632014-07-02 13:46:49 -0700483 alt=""/>SDK Tools, Revision 23.0.2</a> <em>(July 2014)</em>
484 </p>
485
486 <div class="toggle-content-toggleme">
487
488 <dl>
489 <dt>Dependencies:</dt>
490
491 <dd>
492 <ul>
493 <li>Android SDK Platform-tools revision 19 or later.</li>
494 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
495 designed for use with ADT 23.0.2 and later. If you haven't already, update your
496 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.2.</li>
497 <li>If you are developing outside Eclipse, you must have
498 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
499 </ul>
500 </dd>
501
502 <dt>General Notes:</dt>
503 <dd>
504 <ul>
505 <li>Added ProGuard <code>.bat</code> files that were missing.</li>
506 <li>Added the <code>proguard-android.txt</code> file that was missing.</li>
507 <li>Renamed the <code>lombok-ast-0.2.2.jar</code> file to <code>lombok-ast.jar</code>,
508 which should allow running lint from the command line.</li>
509 </ul>
510 </dd>
511 </div>
512</div>
513
514<div class="toggle-content closed">
515 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700516 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerverab05330c2014-06-25 15:14:17 -0700517 alt=""/>SDK Tools, Revision 23.0.0</a> <em>(June 2014)</em>
518 </p>
519
520 <div class="toggle-content-toggleme">
521
522 <dl>
523 <dt>Dependencies:</dt>
524
525 <dd>
526 <ul>
527 <li>Android SDK Platform-tools revision 19 or later.</li>
528 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
529 designed for use with ADT 23.0.0 and later. If you haven't already, update your
530 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.0.</li>
531 <li>If you are developing outside Eclipse, you must have
532 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
533 </ul>
534 </dd>
535
536 <dt>General Notes:</dt>
537 <dd>
538 <ul>
539 <li>Added the Android Wear tools and system images.</li>
540 </ul>
541 </dd>
542 </div>
543</div>
544
545<div class="toggle-content closed">
546 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700547 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraa01b7002014-06-03 13:27:41 -0700548 alt=""/>SDK Tools, Revision 22.6.4</a> <em>(June 2014)</em>
549 </p>
550
551 <div class="toggle-content-toggleme">
552
553 <dl>
554 <dt>Dependencies:</dt>
555
556 <dd>
557 <ul>
558 <li>Android SDK Platform-tools revision 18 or later.</li>
559 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
560 designed for use with ADT 22.6.3 and later. If you haven't already, update your
561 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.3.</li>
562 <li>If you are developing outside Eclipse, you must have
563 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
564 </ul>
565 </dd>
566
567 <dt>General Notes:</dt>
568 <dd>
569 <ul>
570 <li>Fixed an issue with the x86 emulator that caused Google Maps to crash.
571 (<a href="http://b.android.com/69385">Issue 69385</a>)</li>
572 <li>Fixed minor OpenGL issues.</li>
573 </ul>
574 </dd>
575 </div>
576</div>
577
578<div class="toggle-content closed">
579 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700580 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraa28bcbc2014-04-16 16:30:02 -0700581 alt=""/>SDK Tools, Revision 22.6.3</a> <em>(April 2014)</em>
582 </p>
583
584 <div class="toggle-content-toggleme">
585
586 <dl>
587 <dt>Dependencies:</dt>
588
589 <dd>
590 <ul>
591 <li>Android SDK Platform-tools revision 18 or later.</li>
592 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
593 designed for use with ADT 22.6.3 and later. If you haven't already, update your
594 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.3.</li>
595 <li>If you are developing outside Eclipse, you must have
596 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
597 </ul>
598 </dd>
599
600 <dt>General Notes:</dt>
601 <dd>
602 <ul>
603 <li>Fixed a problem where the AVD manager allowed creating Android Wear virtual devices
604 with a target API Level lower than 19.</li>
605 <li>Fixed the description of Android Wear system images in the SDK Manager.</li>
606 </ul>
607 </dd>
608
609 <dt>Known Issues:</dt>
610 <dd>
611 <p>When you create an Android Wear virtual device in the AVD manager, a target API Level
612 lower than 19 may be selected by default. Make sure you select the target API Level 19
613 when creating Android Wear virtual devices.</p>
614 </dd>
615 </div>
616</div>
617
618<div class="toggle-content closed">
619 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700620 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cervera60bec602014-03-19 14:48:37 -0700621 alt=""/>SDK Tools, Revision 22.6.2</a> <em>(March 2014)</em>
622 </p>
623
624 <div class="toggle-content-toggleme">
625
626 <dl>
627 <dt>Dependencies:</dt>
628
629 <dd>
630 <ul>
631 <li>Android SDK Platform-tools revision 18 or later.</li>
632 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
633 designed for use with ADT 22.6.2 and later. If you haven't already, update your
634 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.2.</li>
635 <li>If you are developing outside Eclipse, you must have
636 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
637 </ul>
638 </dd>
639
640 <dt>General Notes:</dt>
641 <dd>
642 <ul>
643 <li>Fixed a problem where the SDK Manager threw a <code>NullPointerException</code> after
644 removing a virtual device that was created using the Android Wear
Ricardo Cervera39aed832014-03-25 13:50:55 -0700645 system image. (<a href="http://b.android.com/67588">Issue 67588</a>)</li>
Ricardo Cervera60bec602014-03-19 14:48:37 -0700646 <li>Fixed a problem with Nexus 5 Android virtual devices created from the command line
647 where the SD card file system was read-only.</li>
648 </ul>
649 </dd>
650 </div>
651</div>
652
653<div class="toggle-content closed">
654 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700655 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerverae2a40c42014-03-07 14:53:35 -0800656 alt=""/>SDK Tools, Revision 22.6.1</a> <em>(March 2014)</em>
657 </p>
658
659 <div class="toggle-content-toggleme">
660
661 <dl>
662 <dt>Dependencies:</dt>
663
664 <dd>
665 <ul>
666 <li>Android SDK Platform-tools revision 18 or later.</li>
667 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
668 designed for use with ADT 22.6.1 and later. If you haven't already, update your
669 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.1.</li>
670 <li>If you are developing outside Eclipse, you must have
671 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
672 </ul>
673 </dd>
674
675 <dt>General Notes:</dt>
676 <dd>
677 <ul>
678 <li>Fixed a problem where the Android Virtual Device Manager could not create new virtual
679 devices. (<a href="http://b.android.com/66661">Issue 66661</a>)</li>
680 <li><p>Fixed a problem with virtual devices created using ADT 22.3 or earlier.</p>
681 <p>If you created an Android Virtual Device using ADT 22.3 or earlier, the
682 AVD may be listed as <em>broken</em> in the AVD Manager in 22.6.1. To fix
683 this problem, select the virtual device on the AVD Manager and click
684 <strong>Repair</strong>.</p>
685 </li>
686 <li>Fixed a problem with the command line tools when creating virtual devices.
687 (<a href="http://b.android.com/66740">Issue 66740</a>)</li>
688 <li>Fixed a problem with the command line <code>lint</code> script.</li>
689 </ul>
690 </dd>
691
692 <dt>Known Issues:</dt>
693 <dd>
694 <p>When you create an Android virtual device using the Nexus 5 device definition,
695 you must enable the <em>Use Host GPU</em> option, otherwise the virtual device
696 will not start.</p>
697 </dd>
698 </div>
699</div>
700
701<div class="toggle-content closed">
702 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700703 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Ricardo Cerveraea40a262014-02-25 12:01:27 -0800704 alt=""/>SDK Tools, Revision 22.6</a> <em>(March 2014)</em>
705 </p>
706
707 <div class="toggle-content-toggleme">
708
709 <dl>
710 <dt>Dependencies:</dt>
711 <dd>
712 <ul>
713 <li>Android SDK Platform-tools revision 18 or later.</li>
714 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
715 designed for use with ADT 22.6.0 and later. If you haven't already, update your
716 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.0.</li>
717 <li>If you are developing outside Eclipse, you must have
718 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
719 </ul>
720 </dd>
721
722 <dt>General Notes:</dt>
723 <dd>
724 <ul>
725 <li><p>The command line <code>lint</code> script (<code>tools\lint.bat</code> on
726 Windows platforms, <code>tools/lint</code> on other platforms) and the
727 <code>lint</code> target on <code>ant</code> builds fail with the following
728 error:</p>
729 <p><code>Exception in thread "main" java.lang.NoClassDefFoundError:
730 lombok/ast/AstVisitor</code></p>
731 <p>As a temporary workaround, rename the file
732 <code>tools\lib\lombok-ast-0.2.2.jar</code> to
733 <code>tools\lib\lombok-ast.jar</code>.
734 We will release an updated version of the tools with a fix for
735 this issue as soon as possible.</p>
736 </li>
737 <li>Added support for Java 7 language features like multi-catch, try-with-resources,
738 and the diamond operator. These features require version 19 or higher
739 of the Build Tools. Try-with-resources requires <code>minSdkVersion</code>
740 19; the rest of the new language features require
741 <code>minSdkVersion</code> 8 or higher.</li>
742 <li>Added new lint checks:
743 <ul>
744 <li>Security:
745 <ul>
746 <li>Look for code potentially affected by a <code>SecureRandom</code>
747 vulnerability.</li>
748 <li>Check that calls to <code>checkPermission</code> use the return value.</li>
749 </ul>
750 </li>
751 <li>Check that production builds do not use mock location providers.</li>
Ricardo Cervera60bec602014-03-19 14:48:37 -0700752 <li>Look for manifest values that are overwritten by values from Gradle build
Ricardo Cerveraea40a262014-02-25 12:01:27 -0800753 scripts.</li>
754 </ul>
755 </li>
756 <li>Fixed a number of minor issues in the SDK and build system.</li>
757 <li>Emulator:
758 <ul>
759 <li>Fixed a problem with the emulator shutting down immediately for Android 1.5
760 on the Nexus One and Nexus S devices.
761 (<a href="http://b.android.com/64945">Issue 64945</a>)</li>
762 <li>Fixed a problem with port numbers longer than four digits.
763 (<a href="http://b.android.com/60024">Issue 60024</a>)</li>
764 <li>Fixed battery errors for the Nexus One and Nexus S devices.
765 (<a href="http://b.android.com/39959">Issue 39959</a>)</li>
766 <li>Fixed a problem with paths or arguments that contain
767 spaces on Windows platforms.
768 (<a href="http://b.android.com/18317">Issue 18317</a>)</li>
769 <li>Fixed a problem with long path values on Windows platforms.
770 (<a href="http://b.android.com/33336">Issue 33336</a>)</li>
771 <li>Fixed a problem with the {@code -snapshot-list} command line
772 option on 64-bit systems.
773 (<a href="http://b.android.com/34233">Issue 34233</a>)</li>
774 </ul>
775 </li>
Ricardo Cervera60bec602014-03-19 14:48:37 -0700776 <li>Fixed an issue with RenderScript support. Using RenderScript support mode
Ricardo Cerveraea40a262014-02-25 12:01:27 -0800777 now requires version 19.0.3 of the Build Tools.</li>
778 </ul>
779 </dd>
780 </dl>
781 </div>
782</div>
783
784<div class="toggle-content closed">
785 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700786 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez0bcef362013-10-23 11:42:07 -0700787 alt=""/>SDK Tools, Revision 22.3</a> <em>(October 2013)</em>
788 </p>
789
790 <div class="toggle-content-toggleme">
791
792 <dl>
793 <dt>Dependencies:</dt>
794 <dd>
795 <ul>
796 <li>Android SDK Platform-tools revision 18 or later.</li>
797 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
798 designed for use with ADT 22.3.0 and later. If you haven't already, update your
799 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.3.0.</li>
800 <li>If you are developing outside Eclipse, you must have
801 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
802 </ul>
803 </dd>
804
805 <dt>General Notes:</dt>
806 <dd>
807 <ul>
808 <li>Added support for Android 4.4 (API level 19).</li>
809 <li>Fixed a number of minor bugs in the SDK and build system.</li>
810 </ul>
811 </dd>
812 </dl>
813 </div>
814</div>
815
816<div class="toggle-content closed">
817 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700818 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez2ef08f62013-09-18 13:10:09 -0700819 alt=""/>SDK Tools, Revision 22.2.1</a> <em>(September 2013)</em>
820 </p>
821
822 <div class="toggle-content-toggleme">
823
824 <dl>
825 <dt>Dependencies:</dt>
826 <dd>
827 <ul>
828 <li>Android SDK Platform-tools revision 16 or later.</li>
829 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
830 designed for use with ADT 22.2.1 and later. If you haven't already, update your
831 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.2.1.</li>
832 <li>If you are developing outside Eclipse, you must have
833 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
834 </ul>
835 </dd>
836
837 <dt>General Notes:</dt>
838 <dd>
839 <ul>
840 <li>Fixed problem with templates that causes the new project wizard to hang.
841 (<a href="http://b.android.com/60149">Issue 60149</a>)</li>
842 <li>Fixed crash when using the lint command line tool because of mis-matched library
843 dependency. (<a href="http://b.android.com/60190">Issue 60190</a>)</li>
844 </ul>
845 </dd>
846 </dl>
847 </div>
848</div>
849
850<div class="toggle-content closed">
851 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700852 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez8bed7492013-07-26 15:32:10 -0700853 alt=""/>SDK Tools, Revision 22.2</a> <em>(September 2013)</em>
854 </p>
855
856 <div class="toggle-content-toggleme">
857
858 <dl>
859 <dt>Dependencies:</dt>
860 <dd>
861 <ul>
862 <li>Android SDK Platform-tools revision 16 or later.</li>
863 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
864 designed for use with ADT 22.2 and later. If you haven't already, update your
865 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.2.</li>
866 <li>If you are developing outside Eclipse, you must have
867 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
868 </ul>
869 </dd>
870
871 <dt>General Notes:</dt>
872 <dd>
873 <ul>
874 <li>Updated build tools to allow use of RenderScript on older versions of Android
875 using new features in the
876 <a href="{@docRoot}tools/support-library/features.html#v8">Support Library</a>.</li>
Neil Fuller71fbb812015-11-30 09:51:33 +0000877 <li>Moved the Systrace tool to the {@code <sdk>/platform-tools/} directory. </li>
Joe Fernandez8bed7492013-07-26 15:32:10 -0700878 <li>Modified <a href="{@docRoot}tools/help/gltracer.html">Tracer for OpenGL ES</a> to
879 support OpenGL ES 3.0.</li>
880 <li>Lint
881 <ul>
882 <li>Fixed problem with lint not detecting custom namespaces.
883 (<a href="http://b.android.com/55673">Issue 55673</a>)</li>
884 <li>Fixed problem with the XML report including invalid characters.
885 (<a href="http://b.android.com/56205">Issue 56205</a>)</li>
886 <li>Fixed command-line execution of lint to work in headless mode to support execution
887 by build servers. (<a href="http://b.android.com/55820">Issue 55820</a>)</li>
888 </ul>
889 </li>
890 <li>Improved support for path names with spaces in the Windows command-line tools.</li>
891 </ul>
892 </dd>
893 </dl>
894 </div>
895</div>
896
897
898<div class="toggle-content closed">
899 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700900 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez452ff4802013-07-26 11:26:47 -0700901 alt=""/>SDK Tools, Revision 22.0.5</a> <em>(July 2013)</em>
902 </p>
903
904 <div class="toggle-content-toggleme">
905
906 <dl>
907 <dt>Dependencies:</dt>
908 <dd>
909 <ul>
910 <li>Android SDK Platform-tools revision 16 or later.</li>
911 <li>If you are developing in Eclipse with the
912 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a>, note that this version of
913 SDK Tools is designed for use with ADT 22.0.5 and later. If you haven't already, update
914 ADT to 22.0.5.</li>
915 <li>If you are using <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>,
916 note that this version of the SDK Tools is designed to work with Android Studio
917 0.2.x and later.</li>
918 <li>If you are developing without an integrated development environment (IDE), you must have
919 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
920 </ul>
921 </dd>
922
923 <dt>General Notes:</dt>
924 <dd>
925 <ul>
Joe Fernandez8bed7492013-07-26 15:32:10 -0700926 <li>Fixed RenderScript compilation issue for Windows platforms with ant.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700927 <li>Updated <a href="{@docRoot}tools/help/systrace.html">Systrace</a> to work with the
928 Android 4.3 platform image.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -0700929 <li>Fixed packaging of RenderScript compiler.</li>
Scott Mainec6f3272013-07-30 10:09:21 -0700930 <li>Build tools 18.0.0 is obsolete and 18.0.1 should be used instead.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700931 </ul>
932 </dd>
933 </dl>
934 </div>
935</div>
936
937
938<div class="toggle-content closed">
939 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700940 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez5b7e6a32013-07-15 12:35:05 -0700941 alt=""/>SDK Tools, Revision 22.0.4</a> <em>(July 2013)</em>
942 </p>
943
944 <div class="toggle-content-toggleme">
945
946 <dl>
947 <dt>Dependencies:</dt>
948 <dd>
949 <ul>
950 <li>Android SDK Platform-tools revision 16 or later.</li>
951 <li>If you are developing in Eclipse with the
952 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a>, note that this version of
953 SDK Tools is designed for use with ADT 22.0.4 and later. If you haven't already, update
954 ADT to 22.0.4.</li>
955 <li>If you are using <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>,
956 note that this version of the SDK Tools is designed to work with Android Studio
957 0.2.x and later.</li>
958 <li>If you are developing without an integrated development environment (IDE), you must have
959 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
960 </ul>
961 </dd>
962
963 <dt>General Notes:</dt>
964 <dd>
965 <ul>
Joe Fernandez8bed7492013-07-26 15:32:10 -0700966 <li>Fixed problem with compiling RenderScript code.</li>
Joe Fernandez5b7e6a32013-07-15 12:35:05 -0700967 </ul>
968 </dd>
969 </dl>
970 </div>
971</div>
972
973
974<div class="toggle-content closed">
975 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -0700976 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandeza3b33c02013-05-22 22:19:29 -0700977 alt=""/>SDK Tools, Revision 22.0.1</a> <em>(May 2013)</em>
978 </p>
979
980 <div class="toggle-content-toggleme">
981
982 <dl>
983 <dt>Dependencies:</dt>
984 <dd>
985 <ul>
986 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700987 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandeza3b33c02013-05-22 22:19:29 -0700988 designed for use with ADT 22.0.1 and later. If you haven't already, update your
989 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.0.1.</li>
990 <li>If you are developing outside Eclipse, you must have
991 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
992 </ul>
993 </dd>
994
995 <dt>General Notes:</dt>
996 <dd>
997 <ul>
998 <li>Fixed issue with Lint ServiceCast check and fully qualified class names.
999 (<a href="http://code.google.com/p/android/issues/detail?id=55403">Issue 55403</a>)</li>
1000 <li>Fixed crash issue with Lint ArraySizeDetector check.
1001 (<a href="http://code.google.com/p/android/issues/detail?id=54887">Issue 54887</a>)</li>
1002 <li>Fixed a problem with the monkeyrunner tool failing to import standard python classes.
1003 (<a href="http://code.google.com/p/android/issues/detail?id=55632">Issue 55632</a>)</li>
1004 <li>Fixed a problem with DDMS monitor not opening heap and network statistics views due to
1005 a class not found exception.
1006 (<a href="http://code.google.com/p/android/issues/detail?id=55394">Issue 55394</a>)</li>
1007 </ul>
1008
1009 </dd>
1010 </dl>
1011 </div>
1012</div>
1013
1014
1015<div class="toggle-content closed">
1016 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001017 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez82772f12013-03-27 11:30:34 -07001018 alt=""/>SDK Tools, Revision 22</a> <em>(May 2013)</em>
1019 </p>
1020
1021 <div class="toggle-content-toggleme">
1022
1023 <dl>
1024 <dt>Dependencies:</dt>
1025 <dd>
1026 <ul>
1027 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001028 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandez82772f12013-03-27 11:30:34 -07001029 designed for use with ADT 22.0.0 and later. If you haven't already, update your
1030 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.0.0.</li>
1031 <li>If you are developing outside Eclipse, you must have
1032 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1033 </ul>
1034 </dd>
1035
1036 <dt>General Notes:</dt>
1037 <dd>
1038 <ul>
1039 <li>Changed the structure of the SDK by adding a new build tool SDK Component, which is
1040 based on the existing platform-tools component. This change decouples the build tools
1041 versions from the IDE versions, allowing updates to the tools without requiring an
1042 IDE update.</li>
1043 <li>Updated tools to allow libraries to share the same package name as the applications
1044 that use them.</li>
1045 <li>Updated {@code draw9patch} tool to allow easier changing of markers.</li>
1046 <li>Added new Lint checks, including checks for layout consistency,
1047 {@link android.widget.RelativeLayout} siblings, {@link android.os.Parcel} creator,
1048 JavaScript interfaces, {@link android.app.Service} casting, quantity strings, manifest
1049 typos, orientation tags in layouts, overlapping names for 9-patches and images, and class
1050 existence checks.</li>
1051 <li>Updated build tools to sign applications using the BouncyCastle library instead of
1052 relying on Sun JVM specific APIs.</li>
1053 <li>Released some of the Android tools into <a href="http://www.maven.org">Maven
1054 Central</a> to assist third-party tool developers. The following tools are available
1055 in the repository: {@code manifest-merger}, {@code common/sdk_common}, {@code ddmlib},
1056 {@code dvlib}, {@code layoutlib_api}, {@code sdklib}, and {@code lint}.</li>
1057 </ul>
1058 </dd>
1059
1060 <dt>Bug fixes:</dt>
1061 <dd>
1062 <ul>
1063 <li>Fixed a number of minor bugs in the SDK and build system.</li>
1064 </ul>
1065 </dd>
1066 </dl>
1067 </div>
1068</div>
1069
1070<div class="toggle-content closed">
1071 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001072 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez8119f872013-02-13 14:03:27 -08001073 alt=""/>SDK Tools, Revision 21.1</a> <em>(February 2013)</em>
Joe Fernandez46e31ae2013-02-04 11:16:12 -08001074 </p>
1075
1076 <div class="toggle-content-toggleme">
1077
1078 <dl>
1079 <dt>Dependencies:</dt>
1080 <dd>
1081 <ul>
1082 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001083 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandez46e31ae2013-02-04 11:16:12 -08001084 designed for use with ADT 21.1.0 and later. If you haven't already, update your
1085 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.1.0.</li>
1086 <li>If you are developing outside Eclipse, you must have
1087 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1088 </ul>
1089 </dd>
1090
1091 <dt>General Notes:</dt>
1092 <dd>
1093 <ul>
1094 <li>Improved error reporting in {@code dx} when dex merging fails in the build
1095 system.</li>
1096 <li>Added more than 15 new Lint checks, including checks for overriding older APIs, XML
1097 resource problems, graphic asset issues and manifest tags.</li>
1098 <li>Added new aapt feature to compile resources.</li>
1099 </ul>
1100 </dd>
1101 </dl>
1102 </div>
1103</div>
1104
1105<div class="toggle-content closed">
1106 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001107 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez66e97da2012-12-12 15:06:09 -08001108 alt=""/>SDK Tools, Revision 21.0.1</a> <em>(December 2012)</em>
1109 </p>
1110
1111 <div class="toggle-content-toggleme">
1112
1113 <dl>
1114 <dt>Dependencies:</dt>
1115 <dd>
1116 <ul>
1117 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001118 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Joe Fernandez66e97da2012-12-12 15:06:09 -08001119 designed for use with ADT 21.0.1 and later. If you haven't already, update your
Joe Fernandez46e31ae2013-02-04 11:16:12 -08001120 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.0.1.</li>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001121 <li>If you are developing outside Eclipse, you must have
1122 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1123 </ul>
1124 </dd>
1125
1126 <dt>General Notes:</dt>
1127 <dd>
1128 <ul>
1129 <li>Build
1130 <ul>
1131 <li>Updated build to detect and handle package name conflicts between an application and
1132 the libraries it depends on. Libraries cannot share package names unless all of them
1133 share the same package name.
1134 (<a href="http://code.google.com/p/android/issues/detail?id=40152">Issue 40152</a>,
1135 <a href="http://code.google.com/p/android/issues/detail?id=40273">Issue 40273</a>)
1136 </li>
1137 <li>Added a flag to disable dex merging to deal with cases where merging could generate
1138 a broken dex file. If this happens to your project, add the following setting to your
1139 {@code project.properties} file: {@code dex.disable.merger=true} This setting
1140 causes the build system to revert to the older, slower dex processing that does not
1141 pre-dex libraries.</li>
1142 </ul>
1143 </li>
1144
Joe Fernandez8bed7492013-07-26 15:32:10 -07001145 <li>RenderScript
Joe Fernandez66e97da2012-12-12 15:06:09 -08001146 <ul>
1147 <li>Added support for
1148 <a href="{@docRoot}guide/topics/renderscript/compute.html#filterscript">Filterscript</a>
1149 compilation.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001150 <li>Added new project setting to control the RenderScript compilation target separately
Joe Fernandez66e97da2012-12-12 15:06:09 -08001151 from an Android project. Adding the following line to a {@code project.properties}
Joe Fernandez8bed7492013-07-26 15:32:10 -07001152 file causes RenderScript code to be compiled for Android API Level 17, while the
Joe Fernandez66e97da2012-12-12 15:06:09 -08001153 containing application can target a different (lower) API level:
1154 <pre>renderscript.target = 17</pre>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001155 Previously, the RenderScript compilation target was tied to the
Joe Fernandez66e97da2012-12-12 15:06:09 -08001156 {@code android:minSdkVersion} setting in the manifest.
1157 (<a href="http://code.google.com/p/android/issues/detail?id=40487">Issue 40487</a>)
1158 </li>
1159 </ul>
1160 </li>
1161
1162 </ul>
1163 </dd>
1164
1165
1166 <dt>Bug fixes:</dt>
1167 <dd>
1168 <ul>
1169 <li>Lint
1170 <ul>
1171 <li>Corrected check for {@code 0px} values in style XML elements.
1172 (<a href="http://code.google.com/p/android/issues/detail?id=39601">Issue 39601</a>)
1173 </li>
1174 <li>Fixed incorrect flagging of formatting strings.
1175 (<a href="http://code.google.com/p/android/issues/detail?id=39758">Issue 39758</a>)
1176 </li>
1177 <li>Fixed problem where {@code tools:ignore} directive in the manifest file was ignored
1178 by the Lint tool.
1179 (<a href="http://code.google.com/p/android/issues/detail?id=40136">Issue 40136</a>)
1180 </li>
1181 <li>Fixed problem with flagging a wakelock release inside a conditional.
1182 (<a href="http://code.google.com/p/android/issues/detail?id=40424">Issue 40424</a>)
1183 </li>
1184 <li>Fixed incorrect reporting of missing {@code layout_width} and {@code layout_height}
1185 XML fields.
1186 (<a href="http://code.google.com/p/android/issues/detail?id=38958">Issue 38958</a>)
1187 </li>
1188 <li>Fixed handling of custom namespace attributes.</li>
1189 <li>Added fixes for filtering out library project warnings.</li>
1190 <li>Removed warnings about missing classes before a build.</li>
1191 </ul>
1192 </li>
1193
1194 <li>Fixed problem with UI Automator Viewer execution script where Android tools directory
1195 is not set.</li>
1196 <li>Fixed problem with the SDK Manager so that it auto-selects the most recently released
1197 platform on startup.</li>
1198 <li>Fixed Java finding script to look for the currently supported version of Java (1.6 or
1199 higher).</li>
1200 <li>Fixed the SDK Manager launcher in the ADT bundle so that it can properly launch the
1201 SDK Manager program when it is placed at the root of the bundle.</li>
1202 </ul>
1203 </dd>
1204 </dl>
1205 </div>
1206</div>
1207
1208<div class="toggle-content closed">
1209 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001210 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Scott Main52bfaaf2012-11-12 19:39:58 -08001211 alt=""/>SDK Tools, Revision 21</a> <em>(November 2012)</em>
1212 </p>
1213
1214 <div class="toggle-content-toggleme">
1215
1216 <dl>
1217 <dt>Dependencies:</dt>
1218 <dd>
1219 <ul>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001220 <li>Android SDK Platform-tools revision 16 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001221 <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 -08001222 for use with ADT 21.0.0 and later. If you haven't already, update your
1223 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.0.0.</li>
1224 <li>If you are developing outside Eclipse, you must have
1225 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001226 </ul>
Scott Main52bfaaf2012-11-12 19:39:58 -08001227 </dd>
Joe Fernandez66e97da2012-12-12 15:06:09 -08001228
Scott Main52bfaaf2012-11-12 19:39:58 -08001229 <dt>General Notes:</dt>
1230 <dd>
1231 <ul>
1232 <li>Build System
1233 <ul>
1234 <li>Added a flag that sets <em>jumbo mode</em> for DEX files, which allows a larger
1235 number of strings in the DEX files. Enable this mode by adding the following line to
1236 the {@code project.properties} file of your project:
Rich Slogarc819d3d2014-12-15 10:46:18 -08001237 <pre>dex.force.jumbo=true</pre></li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001238 <li>Improved the build time by pre-dexing libraries (both JAR files and library
1239 projects).</li>
1240 <li>Updated the build to generate {@code R} resource classes for library projects
1241 with only the IDs needed by the libraries, reducing the risk of hitting DEX file
1242 limits for fields and methods.</li>
1243 <li>Improved the build so that several editing features (code completion, resource
1244 chooser, go to declaration) properly handle library project resources.</li>
1245 </ul>
1246 </li>
1247 <li>Lint
1248 <ul>
1249 <li>Added over 25 new lint rules for resources, locale settings, layout
1250 files, incorrect use of {@link android.util.SparseArray} and
1251 {@link android.os.PowerManager.WakeLock} and manifest issues.</li>
1252 <li>Updated reporting to include errors in library projects if the library project is
1253 in the list of projects to be checked.</li>
1254 <li>Added a new {@code lint} target to the Ant build system for easier
1255 integration with continuous build systems.</li>
1256 <li>Added new {@code --sources} and {@code --classpath} arguments to point to sources
1257 with different directory structures.</li>
1258 <li>Improved the XML export function to support the <a
1259 href="https://wiki.jenkins-ci.org/display/JENKINS/Android+Lint+Plugin">Jenkins Lint
1260 plugin</a>.
1261 </li>
1262 <li>Added support for class file flow analysis.</li>
1263 </ul>
1264 </li>
1265 <li>Android Virtual Devices (AVD)
1266 <ul>
1267 <li>Added new <strong>Device Definitions</strong> tab in the AVD Manager for configuring
1268 standard size and Nexus virtual devices.</li>
1269 <li>Improved emulators so that they launch with a skin that is dynamically generated and
1270 reflects the actual hardware configured in the AVD Manager.</li>
Joe Fernandez3d4f22912012-11-14 10:37:46 -08001271 <li>Improved support for developing Android apps on MIPS-based devices with new MIPS
1272 System Images for Android Virtual Devices.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001273 </ul>
1274 </li>
1275 <li>Added {@code jobb} tool for creating and encrypting
Dirk Dougherty2b286bb2012-11-29 17:25:09 -08001276 <a href="{@docRoot}google/play/expansion-files.html">APK Expansion Files</a>.
Scott Main52bfaaf2012-11-12 19:39:58 -08001277 (<a href="{@docRoot}tools/help/jobb.html">more info</a>)
1278 <li>Improved the Android JUnit test runner to allow a test to be run on all connected
1279 devices simultaneously.</li>
1280 </ul>
1281 </dd>
1282
1283 <dt>Bug fixes:</dt>
1284 <dd>
1285 <ul>
1286 <li>Fixed manifest merger to properly adapt library classes in the merged manifest.</li>
1287 </ul>
1288 </dd>
1289
1290 </dl>
1291 </div>
1292</div>
1293
1294<div class="toggle-content closed">
1295 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001296 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Scott Main607079d2012-08-09 14:13:22 -07001297 alt=""/>SDK Tools, Revision 20.0.3</a> <em>(August 2012)</em>
1298 </p>
1299
1300 <div class="toggle-content-toggleme">
1301
1302 <dl>
1303 <dt>Dependencies:</dt>
1304 <dd>
1305 <ul>
1306 <li>Android SDK Platform-tools revision 12 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001307 <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 -07001308 for use with ADT 20.0.3 and later. If you haven't already, update your
1309 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.3.</li>
1310 <li>If you are developing outside Eclipse, you must have
1311 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1312 </ul>
1313 </dd>
1314 <dt>Bug fixes:</dt>
1315 <dd>
1316 <ul>
1317 <li>Fixed problem with cached download lists in SDK Manager.</li>
1318 </ul>
1319 </dd>
1320 </dl>
1321 </div>
1322</div>
1323
1324
1325<div class="toggle-content closed">
1326 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001327 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001328 alt=""/>SDK Tools, Revision 20.0.1</a> <em>(July 2012)</em>
1329 </p>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001330
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001331 <div class="toggle-content-toggleme">
1332
1333 <dl>
1334 <dt>Dependencies:</dt>
1335 <dd>
1336 <ul>
1337 <li>Android SDK Platform-tools revision 12 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001338 <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 -07001339 for use with ADT 20.0.1 and later. If you haven't already, update your
1340 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.1.</li>
1341 <li>If you are developing outside Eclipse, you must have
1342 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1343 </ul>
1344 </dd>
1345 <dt>Bug fixes:</dt>
1346 <dd>
1347 <ul>
1348 <li>Fixed wrong check on build state that forced repetitive Java code recompilation.</li>
1349 <li>Fixed problems with running more than one emulator and running multiple emulators
1350with GPU acceleration.</li>
1351 <li>Improved resize algorithm for better rendering on scaled emulator windows.</li>
1352 <li>Fixed a bug in the {@code lint} check for unprotected broadcast receivers to ignore
1353unprotected receivers for default Android actions.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001354 <li>Fixed build issue for projects using RenderScript.</li>
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001355 <li>Fixed memory leak in the emulator.</li>
1356 </ul>
1357 </dd>
1358 </dl>
1359 </div>
1360</div>
1361
1362<div class="toggle-content closed">
1363 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001364 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001365 alt=""/>SDK Tools, Revision 20</a> <em>(June 2012)</em>
1366 </p>
1367
1368 <div class="toggle-content-toggleme">
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001369 <dl>
1370 <dt>Dependencies:</dt>
1371 <dd>
1372 <ul>
1373 <li>Android SDK Platform-tools revision 12 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001374 <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 -07001375 use with ADT 20.0.0 and later. If you haven't already, we highly recommend updating your
1376 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.0.</li>
1377 <li>If you are developing outside Eclipse, you must have
1378 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1379 </ul>
1380 </dd>
1381 <dt>General notes:</dt>
1382 <dd>
1383 <ul>
1384 <li>Added new Device Monitor application, grouping Android debugging tools into a
1385single application, including ddms, traceview, hierarchyviewer and Tracer for GLES. (<a
Joe Fernandez79dee592012-06-29 14:39:00 -07001386href="{@docRoot}tools/help/gltracer.html">more info</a>)</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001387 <li>Added new System Trace new tool for tracing Android system activity. This tool allow you
1388to capture a slice of system activity, plus additional information tagged from the <strong>Settings
1389&gt; Developer Options &gt; Monitoring: Enable traces</strong> or with specific calls added to your
Joe Fernandez79dee592012-06-29 14:39:00 -07001390application code.</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001391 </li>
1392 <li>Build System
1393 <ul>
1394 <li>Added automatic merging of library project manifest files into the including
1395project's manifest. Enable this feature with the {@code manifestmerger.enabled} property.</li>
1396 <li>Added automatic ProGuard support for the {@code aapt -G} flag. This change causes
Scott Main52bfaaf2012-11-12 19:39:58 -08001397the build system to generate a temporary ProGuard {@code keep-rules} file containing classes that
1398are referenced from XML files (such as custom views) and pass this to ProGuard at shrink time. This
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001399can make the resulting APK much smaller when using just a small portion of a large library project
1400(such as the Android Support library), since the catch-all rules to keep all custom views from the
1401default ProGuard configuration file have also been removed.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001402 <li>Added two ProGuard configuration files for use in projects: {@code
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001403proguard-android-optimize.txt} which enables optimizations and {@code proguard-android.txt} which
1404disables them.</li>
1405 </ul>
1406 </li>
1407 <li>SDK Manager
1408 <ul>
1409 <li>Improved caching to reduce downloading of repository definitions.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001410 <li>Added <strong>Tools > Manage Add-on Sites</strong> option to improve performance by
1411 allowing temporary deactivation of third-party sites if they are loading slowly.</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -07001412 <li>Added settings for the SDK Manager download cache (<strong>SDK Manager > Tools >
1413Options</strong>).</li>
1414 </ul>
1415 </li>
1416 </ul>
1417 </dd>
1418 <dt>Bug fixes:</dt>
1419 <dd>
1420 <ul>
1421 <li>Build
1422 <ul>
1423 <li>Fixed problem where test projects did not have access to the full classpath of tested
1424projects, including Library Projects and third-party jars.</li>
1425 <li>Fixed deployment logic so that applications with embedded tests can now be deployed
1426and tested like test applications, including code coverage information.</li>
1427 <li>Fixed Ant support for testing projects with libraries.</li>
1428 </ul>
1429 </li>
1430 </ul>
1431 </dd>
1432 </dl>
1433 </div>
1434</div>
1435
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001436<div class="toggle-content closed">
1437 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001438 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001439 alt=""/>SDK Tools, Revision 19</a> <em>(April 2012)</em>
1440 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001441
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001442 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001443 <p class="note"><strong>Note:</strong> This update of SDK Tools is only available through
1444the <a href="{@docRoot}sdk/exploring.html">Android SDK Manager</a>. Use this tool to
1445download and install this update.</p>
1446
1447 <dl>
1448 <dt>Dependencies:</dt>
1449 <dd>
1450 <ul>
1451 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001452 <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 -07001453 use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your
1454 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li>
1455 <li>If you are developing outside Eclipse, you must have
1456 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1457 </ul>
1458 </dd>
1459 <dt>Bug fixes:</dt>
1460 <dd>
1461 <ul>
1462 <li>Fixed an issue that prevented some developers from running the emulator with GPU
1463acceleration.</li>
1464 </ul>
1465 </dd>
1466 </dl>
1467 </div>
1468</div>
1469
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001470<div class="toggle-content closed">
1471 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001472 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001473 alt=""/>SDK Tools, Revision 18</a> <em>(April 2012)</em>
1474 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001475
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001476 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001477 <p class="caution"><strong>Important:</strong> To download the new Android
1478 4.0 system components from the Android SDK Manager, you must first update the
1479 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1480 the Android 4.0 system components will not be available for download.</p>
1481
1482 <dl>
1483 <dt>Dependencies:</dt>
1484 <dd>
1485 <ul>
1486 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001487 <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 -07001488 use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your
1489 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li>
1490 <li>If you are developing outside Eclipse, you must have
1491 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1492 </ul>
1493 </dd>
1494 <dt>General notes:</dt>
1495 <dd>
1496 <ul>
1497 <li>Updated the SdkController app to encapsulate both sensor and multitouch emulation
1498 functionality.</li>
1499 </ul>
1500 </dd>
1501 <dt>Bug fixes:</dt>
1502 <dd>
1503 <ul>
1504 <li>Fixed Ant issues where some jar libraries in the {@code libs/} folder are not picked up
1505in some cases.</li>
1506 </ul>
1507 </dd>
1508 </dl>
1509 </div>
1510</div>
1511
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001512<div class="toggle-content closed">
1513 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001514 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001515 alt=""/>SDK Tools, Revision 17</a> <em>(March 2012)</em>
1516 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001517
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001518 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001519 <p class="caution"><strong>Important:</strong> To download the new Android
1520 4.0 system components from the Android SDK Manager, you must first update the
1521 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1522 the Android 4.0 system components will not be available for download.</p>
1523
1524 <dl>
1525 <dt>Dependencies:</dt>
1526 <dd>
1527 <ul>
1528 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001529 <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 -07001530 use with ADT 17.0.0 and later. If you haven't already, we highly recommend updating your
1531 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 17.0.0.</li>
1532 <li>If you are developing outside Eclipse, you must have
1533 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
1534 </ul>
1535 </dd>
1536 <dt>General notes:</dt>
1537 <dd>
1538 <ul>
1539 <li>Emulator
1540 <ul>
1541 <li>Added support for hardware accelerated graphics rendering. This feature requires an
1542API Level 15, Revision 3 or later system image.
1543(<a href="{@docRoot}tools/devices/emulator.html#accel-graphics">more info</a>)
1544 </li>
1545 <li>Added support for running Android x86 system images in virtualization mode on
1546Windows and Mac OS X.
1547(<a href="{@docRoot}tools/devices/emulator.html#accel-vm">more info</a>)
1548 <p class="note"><strong>Note:</strong> Use the Android SDK Manager to download and
1549install x86 system images. Android x86 system images are not available for all API levels.</p>
1550 </li>
1551 <li>Added experimental support for multi-touch input by enabing the emulator to receive
1552 touch input from a USB-tethered physical Android device.
1553 (<a href="http://tools.android.com/tips/hardware-emulation">more info</a>)</li>
1554 </ul>
1555 </li>
1556 <li>Added viewing of live detailed network usage of an app in DDMS. (<a
1557 href="http://tools.android.com/recent/detailednetworkusageinddms">more info</a>)</li>
1558 <li>ProGuard
1559 <ul>
1560 <li>Updated the bundled ProGuard tool to version 4.7. In addition to many new features,
1561this update fixes the {@code Conversion to Dalvik format failed with error 1} error some users have
1562experienced.</li>
1563 <li>Updated the default {@code proguard.cfg} file with better default flags for
1564 Android.</li>
1565 <li>Split the ProGuard configuration file has been in half, with project specific flags
1566kept in project and the generic Android flags distributed (and updated) with the tools
1567themselves.</li>
1568 </ul>
1569 </li>
1570 <li>Build
1571 <ul>
1572 <li>Added a feature that allows you to run some code only in debug mode. Builds now
1573generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is
1574automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG})
1575constant in your code to run debug-only functions.</li>
1576 <li>Fixed issue when a project and its libraries include the same jar file in their libs
1577 folder. (<a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">more
1578 info</a>)</li>
1579 <li>Added support for custom views with custom attributes in libraries. Layouts using
1580custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead
1581of the URI that includes the app package name. This URI is replaced with the app specific one at
1582build time.</li>
1583 </ul>
1584 </li>
1585 <li>Lint
1586 <ul>
1587 <li>Updated Lint to check Android application code. Lint rules which previously
1588performed pattern based searches in the application code (such as the unused resource check) have
1589been rewritten to use the more accurate Java-style parse trees.</li>
1590 <li>Added support for checking library projects. This change means that rules such as
1591the unused resource check properly handle resources declared in a library project and referenced in
1592a downstream project.</li>
1593 <li>Added ability to suppress Lint warnings in Java code with the new
1594{@code @SuppressLint} annotation, and in XML files with the new tools: namespace and
1595ignore attribute. (<a
1596 href="http://tools.android.com/recent/ignoringlintwarnings">more info</a>)</li>
1597 <li>New Lint checks:
1598 <ul>
1599 <li>Added check for Android API calls that require a version of Android higher than
1600 the minimum supported version. You can use the new {@code @TargetApi} annotation
1601 to suppress warnings when the code is wrapped in a system version condition.
1602 (<a href="http://tools.android.com/recent/lintapicheck">more info</a>)</li>
1603 <li>Added over 20 new Lint rules, including checks for
1604 <a href="http://tools.android.com/recent/lintperformancechecks">performance</a>,
1605 XML layouts, manifest and file handling.</li>
1606 </ul>
1607 </li>
1608 </ul>
1609 </li>
1610 </ul>
1611 </dd>
1612 </dl>
1613 </div>
1614</div>
1615
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001616<div class="toggle-content closed">
1617 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001618 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001619 alt=""/>SDK Tools, Revision 16</a> <em>(December 2011)</em>
1620 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001621
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001622 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001623 <p class="caution"><strong>Important:</strong> To download the new Android
1624 4.0 system components from the Android SDK Manager, you must first update the
1625 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1626 the Android 4.0 system components will not be available for download.</p>
1627
1628<dl>
1629<dt>Dependencies:</dt>
1630<dd>
1631 <ul>
1632 <li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001633 <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 -07001634 with ADT 16.0.0 and later. If you haven't already, we highly recommend updating your
1635 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 16.0.0.</li>
1636 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1637 Ant</a> 1.8 or later.</li>
1638</ul>
1639</dd>
1640<dt>General notes:</dt>
1641<dd>
1642 <ul>
1643 <li>Added Lint tools to detect common errors in Android projects.
1644 (<a href="http://tools.android.com/recent/lint">more info</a>)</li>
1645 <li>Added sensor emulation support, which allows the emulator to read sensor data from a
1646 physical Android device.
1647 (<a href="http://tools.android.com/recent/sensoremulation">more info</a>)</li>
1648 <li>Added support for using a webcam to emulate a camera on Mac OS X.</li>
1649 </ul>
1650</dd>
1651<dt>Bug fixes:</dt>
1652<dd>
1653 <ul>
1654 <li>Snapshots now work for Android 4.0 system images.</li>
1655 <li>Fixed several small issues for the build file.
1656 (<a href="http://code.google.com/p/android/issues/detail?id=21023">Issue 21023</a>,
1657 <a href="http://code.google.com/p/android/issues/detail?id=21267">Issue 21267</a>,
1658 <a href="http://code.google.com/p/android/issues/detail?id=21465">Issue 21465</a>,
1659 <a href="http://code.google.com/p/android/issues/detail?id=21525">Issue 21525</a>).</li>
1660 </ul>
1661</dd>
1662</dl>
1663</div>
1664</div>
1665
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001666<div class="toggle-content closed">
1667 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001668 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001669 alt=""/>SDK Tools, Revision 15</a> <em>(October 2011)</em>
1670 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001671
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001672 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001673 <p class="caution"><strong>Important:</strong> To download the new Android
1674 4.0 system components from the Android SDK Manager, you must first update the
1675 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
1676 the Android 4.0 system components will not be available for download.</p>
1677 <dl>
1678<dt>Dependencies:</dt>
1679<dd>
1680 <ul><li>Android SDK Platform-tools revision 9 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001681 <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 -07001682 with ADT 15.0.0 and later. If you haven't already, we highly recommend updating your <a
1683 href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 15.0.0.</li>
1684 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1685 Ant</a> 1.8 or later.</li>
1686</ul>
1687
1688<dt>Bug fixes:</dt>
1689<dd>
1690 <ul>
1691 <li>Fixed emulator crash on Linux due to improper webcam detection
1692 (<a href="http://code.google.com/p/android/issues/detail?id=20952">Issue 20952</a>).</li>
1693 <li>Fixed emulator issue when using the <code>-wipe-data</code> argument.</li>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001694 <li>Fixed build issue when using RenderScript in projects that target API levels 11-13
Scott Main50e990c2012-06-21 17:14:39 -07001695 (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li>
1696 <li>Fixed issue when creating an AVD using the GoogleTV addon
1697 (<a href="http://code.google.com/p/android/issues/detail?id=20963">Issue 20963</a>).</li>
1698 <li>Fixed <code>ant test</code>
1699 (<a href="http://code.google.com/p/android/issues/detail?id=20979">Issue 20979</a>).</li>
1700 <li>Fixed <code>android update project</code>
1701 (<a href="http://code.google.com/p/android/issues/detail?id=20535">Issue 20535</a>).</li>
1702 <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li>
1703 <li>Fixed issue with MonkeyRunner
1704 (<a href="http://code.google.com/p/android/issues/detail?id=20964">Issue 20964</a>).</li>
1705 <li>Fixed issues in the SDK Manager
1706 (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>,
1707 <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li>
1708 </ul>
1709</dd>
1710</dl>
1711</div>
1712</div>
1713
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001714<div class="toggle-content closed">
1715 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001716 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001717 alt=""/>SDK Tools, Revision 14</a> <em>(October 2011)</em>
1718 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001719
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001720 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001721 <p class="note"><strong>Important:</strong> To download the new Android
1722 4.0 system components from the Android SDK Manager, you must first update the
1723 SDK tools to revision 14 and restart the Android SDK Manager. If you do not,
1724 the Android 4.0 system components will not be available for download.</p>
1725 <dl>
1726<dt>Dependencies:</dt>
1727<dd>
1728 <ul><li>Android SDK Platform-tools revision 8 or later.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001729 <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 -07001730 with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a
1731 href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li>
1732 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1733 Ant</a> 1.8 or later.</li>
1734</ul>
1735
1736<dt>General notes:</dt>
1737<dd>
1738 <ul>
1739 <li>Added webcam support to Android 4.0 or later platforms to emulate rear-facing cameras when
1740 one webcam is present, and to emulate both rear-facing and front-facing cameras when two
1741 webcams are present. Webcam support is for Windows and Linux only.
1742 Mac support will come in a later release.</li>
1743 <li>Changed <code>default.properties</code> to <code>project.properties</code> and
1744 <code>build.properties</code> to <code>ant.properties</code>. Any existing
1745 projects that you build with Ant must be updated with the <code>android update project</code>
1746 command.</li>
1747 <li>Changed Ant <code>build.xml</code> file to support improvements to the
1748 build system and added and modified Ant commands to support these changes. For a list of Ant
1749commands, see the
1750<a href="{@docRoot}tools/building/building-cmdline.html#AntReference">Ant Command
1751Reference</a>.</li>
1752 <li>Changed how library projects are built.</li>
1753 <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no
1754 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
1755 run once for each library project.</li>
1756 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
1757 crunching all existing PNG files, all the time.</li>
1758 <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
1759info</a>).</li>
1760 </ul>
1761 <p>For a complete overview of the build system changes and what you need to do to support them,
1762see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
1763site</a>.</p>
1764</dd>
1765</dl>
1766</div>
1767</div>
1768
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001769<div class="toggle-content closed">
1770 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001771 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001772 alt=""/>SDK Tools, Revision 13</a> <em>(September 2011)</em>
1773 </p>
1774
1775 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001776 <dl>
1777<dt>Dependencies:</dt>
1778<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001779<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 -07001780ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
1781href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
1782
1783<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1784Ant</a> 1.8 or later.</p>
1785
1786<dt>General notes:</dt>
1787<dd>
1788 <ul>
1789 <li>Fix compilation issue in Ant (<code>dex</code> step) when paths have spaces.</li>
1790 <li>Fix issue in emulator installation when paths have spaces.</li>
1791 <li>Fix issue when AVD paths have spaces.</li>
1792 <li>Fix rendering issue when using emulator scaling (<a href="http://code.google.com/p/android/issues/detail?id=18299">see more</a>).</li>
1793 </ul>
1794</dd>
1795</dl>
1796</div>
1797</div>
1798
1799
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001800<div class="toggle-content closed">
1801 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001802 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001803 alt=""/>SDK Tools, Revision 12</a> <em>(July 2011)</em>
1804 </p>
1805
1806 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001807 <dl>
1808<dt>Dependencies:</dt>
1809<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001810<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 -07001811ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
1812href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
1813
1814<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1815Ant</a> 1.8 or later.</p>
1816
1817<dt>General notes:</dt>
1818<dd>
1819 <ul>
1820 <li>The AVD manager and emulator can now use system images
1821 compiled for ARM v7 and x86 CPUs.</li>
1822 </ul>
1823</dd>
1824</dl>
1825</div>
1826</div>
1827
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001828<div class="toggle-content closed">
1829 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001830 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001831 alt=""/>SDK Tools, Revision 11</a> <em>(May 2011)</em>
1832 </p>
1833
1834 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001835 <dl>
1836<dt>Dependencies:</dt>
1837<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001838<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 -07001839ADT 10.0.1 and later. If you haven't already, we highly recommend updating your <a
1840href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 10.0.1.</p>
1841
1842<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1843Ant</a> 1.8 or later.</p>
1844
1845<dt>General notes:</dt>
1846<dd>
1847 <ul>
1848 <li>Miscellaneous emulator changes to support Android 3.1.</li>
1849 </ul>
1850</dd>
1851</dl>
1852</div>
1853</div>
1854
1855
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001856<div class="toggle-content closed">
1857 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001858 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001859 alt=""/>SDK Tools, Revision 10</a> <em>(February 2011)</em>
1860 </p>
1861
1862 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001863 <dl>
1864<dt>Dependencies:</dt>
1865<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001866<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07001867designed for use with ADT 10.0.0 and later. After installing SDK Tools r10, we
1868highly recommend updating your ADT Plugin to 10.0.0.</p>
1869
1870<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1871Ant</a> 1.8 or later.</p>
1872
1873<dt>General notes:</dt>
1874<dd>
1875 <ul>
1876 <li>The tools now automatically generate Java Programming Language source files (in the
1877<code>gen</code> directory) and
1878 bytecode (in the <code>res/raw</code> directory) from your native <code>.rs</code> files</li>
1879 </ul>
1880</dd>
1881</dl>
1882</div>
1883</div>
1884
1885
1886
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001887<div class="toggle-content closed">
1888 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001889 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001890 alt=""/>SDK Tools, Revision 9</a> <em>(January 2011)</em>
1891 </p>
1892
1893 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001894 <dl>
1895<dt>Dependencies:</dt>
1896<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001897<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07001898designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we
1899highly recommend updating your ADT Plugin to 9.0.0.</p>
1900
1901<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1902Ant</a> 1.8 or later.</p>
1903
1904<dt>Upgrading to SDK Tools r9:</dt>
1905<dd>
1906<p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location
1907for the <code>adb</code> tool has changed from <code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
1908<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
1909add the new location to your PATH and modify any custom build scripts to
1910reference the new location. Copying the <code>adb</code> executable from the new
1911location to the old is not recommended, since subsequent updates to the SDK
1912Tools will delete the file.</p>
1913</dd>
1914
1915<dt>General notes:</dt>
1916<dd>
1917 <ul>
1918 <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes:
1919 <ul>
1920 <li>classes that extend {@link android.preference.Preference}</li>
1921 <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li>
1922 </ul>
1923 </li>
1924 <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>,
1925 and <code>java.target</code> properties.</li>
1926 <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li>
1927 <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li>
1928 <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the
1929 <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li>
1930 <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can
1931enable snapshots for the system state. The emulator will then restore to the state when it last
1932closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active
1933development and might not always perform as expected.</li>
1934 <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li>
1935 <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support
1936 the new location of <code>adb</code>.</li>
1937 <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM
1938instruction set architecture on your computer, emulator performance is slow. We're working hard to
1939resolve the performance issues and it will improve in future releases.</li>
1940 </ul>
1941</dd>
1942</dl>
1943</div>
1944</div>
1945
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001946<div class="toggle-content closed">
1947 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07001948 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001949 alt=""/>SDK Tools, Revision 8</a> <em>(December 2010)</em>
1950 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001951
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07001952 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001953<dl>
1954<dt>Dependencies:</dt>
1955<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001956<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07001957designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we
1958highly recommend updating your ADT Plugin to 8.0.0.</p>
1959
1960<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
1961Ant</a> 1.8 or later.</p>
1962
1963<p>Also note that SDK Tools r8 requires a new SDK component called
1964<em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms
1965(Android 2.1, Android 2.2, and so on) use the same (latest) version of build
1966tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and
1967<code>dx</code>. To download the Platform-tools component, use the Android SDK
1968Manager, as described in <a href="{@docRoot}sdk/exploring.html">Exploring the
1969SDK</a></p>
1970
1971<dt>Upgrading from SDK Tools r7:</dt>
1972<dd>
1973<p>If you are upgrading to SDK Tools r8 from an earlier version, note that the
1974the default installed location for the <code>adb</code> tool has changed from
1975<code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
1976<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
1977add the new location to your PATH and modify any custom build scripts to
1978reference the new location. Copying the <code>adb</code> executable from the new
1979location to the old is not recommended, since subsequent updates to the SDK
1980Tools will delete the file.</p>
1981</dd>
1982
1983<dt>General notes:</dt>
1984<dd>
1985<ul>
1986<li>All SDK platforms now support Library Projects.</li>
1987<li>Support for a true debug build. Developers no longer need to add the
1988<code>android:debuggable</code> attribute to the
1989<code>&lt;application&gt;</code> tag in the manifest &mdash; the build tools add
1990the attribute automatically. In Eclipse/ADT, all incremental builds are assumed
1991to be debug builds, so the tools insert <code>android:debuggable="true"</code>.
1992When exporting a signed release build, the tools do not add the attribute. In
1993Ant, a <code>ant debug</code> command automatically inserts the
1994<code>android:debuggable="true"</code> attribute, while <code>ant release</code>
1995does not. If <code>android:debuggable="true"</code> is manually set, then
1996<code>ant release</code> will actually do a debug build, rather than a release
1997build.</li>
1998<li>Automatic ProGuard support in release builds. Developers generate a ProGuard
1999configuration file using the <code>android</code> tool &mdash; the build tools
2000then automatically run ProGuard against the project sources during the build.
2001For more information, see the <a
2002href="{@docRoot}tools/help/proguard.html">ProGuard</a>
2003documentation. </li>
2004<li>New overridable Ant javac properties: <code>java.encoding</code>,
2005<code>java.source</code>, and <code>java.target</code> (default values are
2006"ascii", "1.5", and "1.5", respectively).</li>
2007<li>New UI for the HierarchyViewer tool.</li>
2008</ul>
2009</dd>
2010</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002011</div>
Scott Main50e990c2012-06-21 17:14:39 -07002012</div>
2013
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002014<div class="toggle-content closed">
2015 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002016 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002017 alt=""/>SDK Tools, Revision 7</a> <em>(September 2010)</em>
2018 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002019
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002020 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002021<dl>
2022<dt>Dependencies:</dt>
2023<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002024<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07002025designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we
2026highly recommend updating your ADT Plugin to 0.9.8.</p>
2027</dd>
2028
2029<dt>General notes:</dt>
2030<dd>
2031<ul>
2032<li>Added support for library projects that depend on other library projects.</li>
2033<li>Adds support for aidl files in library projects.</li>
2034<li>Adds support for extension targets in Ant build to perform tasks between the
2035normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and
2036<code>-post-compile</code>.</li>
2037<li>Adds support for "headless" SDK update. See <code>android -h update sdk</code>
2038for more information.</li>
2039<li>Fixes location control in DDMS to work in any locale not using '.' as a
2040decimal point.</li>
2041</ul>
2042</ul>
2043</dd>
2044</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002045</div>
Scott Main50e990c2012-06-21 17:14:39 -07002046</div>
2047
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002048<div class="toggle-content closed">
2049 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002050 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002051 alt=""/>SDK Tools, Revision 6</a> <em>(May 2010)</em>
2052 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002053
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002054 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002055<dl>
2056<dt>Dependencies:</dt>
2057<dd>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002058<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07002059designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we
2060highly recommend updating your ADT Plugin to 0.9.7.</p>
2061</dd>
2062
2063<dt>Library projects:</dt>
2064<dd>
2065<p>The SDK Tools now support the use of <em>library projects</em> during
2066development, a capability that lets you store shared Android application
2067code and resources in a separate development project. You can then reference the
2068library project from other Android projects and, at build time, the tools
2069compile the shared code and resources as part of the dependent applications.
2070More information about this feature is available in the <a
2071href="{@docRoot}tools/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p>
2072<p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a>
2073provides the equivalent library project support.</p>
2074</dd>
2075</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002076</div>
Scott Main50e990c2012-06-21 17:14:39 -07002077</div>
2078
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002079<div class="toggle-content closed">
2080 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002081 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002082 alt=""/>SDK Tools, Revision 5</a> <em>(March 2010)</em>
2083 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002084
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002085 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002086<dl>
2087<dt>Dependencies:</dt>
2088<dd><ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002089<li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is
Scott Main50e990c2012-06-21 17:14:39 -07002090designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we
2091highly recommend updating your ADT Plugin to 0.9.6.</li>
2092<li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer
2093officially supported. </li>
2094</ul>
2095</dd>
2096
2097<dt>SDK and AVD Manager:</dt>
2098<dd>
2099<ul>
2100<li>Fixes SSL download for the standalone version of the SDK Updater.</li>
2101<li>Fixes issue with 64-bit JVM on Windows.</li>
2102<li>Adds support for platform samples components.</li>
2103<li>Improves support for dependency between components.</li>
2104<li>AVDs now sorted by API level.</li>
2105<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
2106<li>Prevents deletion of running AVDs.</li>
2107<li>Settings are now automatically saved, no need to click "Apply".</li>
2108</ul>
2109</dd>
2110
2111<dt>Emulator:</dt>
2112<dd>
2113<ul>
2114<li>Emulator now requires SD card to be 9MB or more.</li>
2115</ul>
2116</dd>
2117
2118<dt>Layoutopt:</dt>
2119<dd>
2120<ul>
2121<li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li>
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 4</a> <em>(December 2009)</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>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002137<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 -07002138compatible with earlier versions. If you are developing in Eclipse with ADT, you
2139<strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you
2140install SDK Tools r4 in your SDK. </p></dd>
2141
2142<dt>General notes:</dt>
2143<dd>
2144<ul>
2145<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a
2146compatibility issue between GTK and SWT.</li>
2147</ul>
2148</dd>
2149
2150<dt>Android SDK and AVD Manager:</dt>
2151<dd>
2152<ul>
2153<li>AVD Launch dialog now shows scale value.</li>
2154<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no
2155skin name specified.</li>
2156<li>Fixes XML validation issue in on older Java versions.</li>
2157<li>No longer forces the use of Java 1.5 on Mac OS X.</li>
2158</ul>
2159</dd>
2160
2161<dt>Emulator:</dt>
2162<dd>
2163<ul>
2164<li>No longer limits the size of the system partition.</li>
2165</ul>
2166</dd>
2167
2168<dt>Ant build tools:</dt>
2169<dd>
2170<ul>
2171<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
2172</ul>
2173</dd>
2174</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002175</div>
Scott Main50e990c2012-06-21 17:14:39 -07002176</div>
2177
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002178<div class="toggle-content closed">
2179 <p><a href="#" onclick="return toggleContent(this)">
Trevor Johns682c24e2016-04-12 10:13:47 -07002180 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002181 alt=""/>SDK Tools, Revision 3</a> <em>(October 2009)</em>
2182 </p>
Scott Main50e990c2012-06-21 17:14:39 -07002183
Joe Fernandez67e6e0e2012-07-13 17:31:31 -07002184 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07002185<dl>
2186<dt>Dependencies:</dt>
Joe Fernandez452ff4802013-07-26 11:26:47 -07002187<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 -07002188compatible with earlier versions. If you are developing in Eclipse with ADT, you
2189<strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you
2190install SDK Tools r3 in your SDK.</p>
2191</dd>
2192
2193<dt>Android tool:</dt>
2194<dd>
2195<ul>
2196<li>Adds new <code>android create test-project</code> and <code>android update
2197test-project</code> commands to allow for greater flexibility in the location of the
2198main and test projects.</li>
2199</ul>
2200</dd>
2201
2202<dt>DDMS:</dt>
2203<dd>
2204<ul>
2205<li>Adds a button to dump HPROF file for running applications (app must be able
2206to write to the sdcard).</li>
2207<li>Button to start/stop profiling of a running application (app must be able to
2208write to the sdcard). Upon stop, Traceview will automatically be launched to
2209display the trace.</li>
2210<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X
221110.6.</li>
2212<li>Fixed screenshot support for devices running 32-bit framebuffer.</li>
2213</ul>
2214</dd>
2215
2216<dt>Android SDK and AVD Manager:</dt>
2217<dd>
2218<ul>
2219<li>Provides a new UI that lets you set options for controlling
2220the emulator skin, screen size/density, and scale factor used when launching
2221an AVD.</li>
2222<li>Provides improved AVD creation UI, which lets you customize the hardware
2223properties of your AVDs.</li>
2224<li>Now enforces dependencies between platforms and tools components, and
2225between SDK add-ons and platforms.</li>
2226</ul>
2227</dd>
2228
2229<dt>Layoutopt, a new tool for optimizing layouts:</dt>
2230
2231<dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line
2232tool that helps you optimize your layout hierarchies. When run against your
2233layout files, the tool analyzes their hierarchies and notifies you of
2234inefficiencies and other potential issues. The tool also provides simple
2235solutions for the issues it finds. For usage, see <a
2236href="/tools/help/layoutopt.html">layoutopt</a>.</p>
2237</dd>
2238</dl>
Joe Fernandez66e97da2012-12-12 15:06:09 -08002239</div>
Scott Main50e990c2012-06-21 17:14:39 -07002240</div>