1page.title=SDK Tools Release Notes 2excludeFromSuggestions=true 3@jd:body 4 5<p>SDK Tools is a downloadable component for the Android SDK. It includes the 6complete 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> 8 9<p>If you are already using the SDK and you want to update to the latest version 10of the SDK Tools, use the <a 11href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a> to get the 12update.</p> 13 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 24 25 26 27<div class="toggle-content opened"> 28 <p><a href="#" onclick="return toggleContent(this)"> 29 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img" 30 alt=""/>SDK Tools, Revision 24.3.4</a> <em>(August 2015)</em> 31 </p> 32 33 <div class="toggle-content-toggleme"> 34 35 <dl> 36 <dt>Dependencies:</dt> 37 38 <dd> 39 <ul> 40 <li>Android SDK Platform-tools revision 23 or later.</li> 41 </ul> 42 </dd> 43 44 <dt>General Notes:</dt> 45 <dd> 46 <ul> 47 <li>Added support for Android 6.0 (API level 23) platform.</li> 48 </ul> 49 </dd> 50 51 <dt>Emulator:</dt> 52 <dd> 53 <ul> 54 <li>Improved emulator performance on multi-core Windows desktops. 55 (<a href="http://b.android.com/101040">Issue 101040</a>)</li> 56 <li>Added support for GPU emulation on Windows and Linux platforms using the 57 {@code -gpu mesa} command line option.</li> 58 <li>Enabled support for running emulators with GPU emulation through remote desktop 59 services, including Chrome Remote Desktop, Windows Terminal Services, and NoMachine.</li> 60 <li>Added support for emulators with 280 dpi and 360 dpi screen resolutions.</li> 61 <li>Improved support for GLES 2.0 extensions.</li> 62 <li>Fixed several issues with GPU emulation support.</li> 63 <li>Added support for setting the storage size on emulators using Android 4.4 (API level 19) 64 and higher. 65 (<a href="http://b.android.com/75141">Issue 75141</a>)</li> 66 <li>Fixed problem with sending long SMS messages between emulators. 67 (<a href="http://b.android.com/3539">Issue 3539</a>)</li> 68 <li>Fixed issue with emulator getting incorrect time from location objects. 69 (<a href="http://b.android.com/27272">Issue 27272</a>)</li> 70 <li>Added handling for unusual characters in paths and file names when starting emulators. 71 (<a href="http://b.android.com/35889">Issue 35889</a>)</li> 72 </ul> 73 </dd> 74 75 </div> 76</div> 77 78 79<div class="toggle-content closed"> 80 <p><a href="#" onclick="return toggleContent(this)"> 81 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 82 alt=""/>SDK Tools, Revision 24.3.3</a> <em>(June 2015)</em> 83 </p> 84 85 <div class="toggle-content-toggleme"> 86 87 <dl> 88 <dt>Dependencies:</dt> 89 90 <dd> 91 <ul> 92 <li>Android SDK Platform-tools revision 19 or later.</li> 93 </ul> 94 </dd> 95 96 <dt>General Notes:</dt> 97 <dd> 98 <ul> 99 <li>Fixed issues with using Ant build tasks with the Eclipse ADT build structure. </li> 100 <li>Fixed the emulator boot problem on Mac OS X 10.8.5.</li> 101 </ul> 102 </dd> 103 </div> 104</div> 105 106 107<div class="toggle-content closed"> 108 <p><a href="#" onclick="return toggleContent(this)"> 109 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 110 alt=""/>SDK Tools, Revision 24.3.2</a> <em>(June 2015)</em> 111 </p> 112 113 <div class="toggle-content-toggleme"> 114 115 <dl> 116 <dt>Dependencies:</dt> 117 118 <dd> 119 <ul> 120 <li>Android SDK Platform-tools revision 19 or later.</li> 121 </ul> 122 </dd> 123 124 <dt>General Notes:</dt> 125 <dd> 126 <ul> 127 <li>Fixed issues with the ARM 64-bit emulator.</li> 128 </ul> 129 </dd> 130 </div> 131</div> 132 133 134<div class="toggle-content closed"> 135 <p><a href="#" onclick="return toggleContent(this)"> 136 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 137 alt=""/>SDK Tools, Revision 24.3.1</a> <em>(June 2015)</em> 138 </p> 139 140 <div class="toggle-content-toggleme"> 141 142 <dl> 143 <dt>Dependencies:</dt> 144 145 <dd> 146 <ul> 147 <li>Android SDK Platform-tools revision 19 or later.</li> 148 </ul> 149 </dd> 150 151 <dt>General Notes:</dt> 152 <dd> 153 <ul> 154 <li>Fixed issue with the <code>root/</code> and <code>lib/</code> folders. </li> 155 </ul> 156 <p class="caution"><strong>Caution:</strong> This release is known to contain issues which 157 prevent builds from completing. We strongly recommend that you update to SDK Tools 24.3.2 158 as soon as possible. </p> 159 </dd> 160 </div> 161</div> 162 163 164<div class="toggle-content closed"> 165 <p><a href="#" onclick="return toggleContent(this)"> 166 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 167 alt=""/>SDK Tools, Revision 24.3.0</a> <em>(June 2015)</em> 168 </p> 169 170 <div class="toggle-content-toggleme"> 171 172 <dl> 173 <dt>Dependencies:</dt> 174 175 <dd> 176 <ul> 177 <li>Android SDK Platform-tools revision 19 or later.</li> 178 </ul> 179 </dd> 180 181 <dt>General Notes:</dt> 182 <dd> 183 <ul> 184 <li>Fixed several minor emulator issues.</li> 185 </ul> 186 <p class="caution"><strong>Caution:</strong> This release is known to contain issues which 187 prevent builds from completing. We strongly recommend that you update to SDK Tools 24.3.2 188 as soon as possible. </p> 189 </dd> 190 </div> 191</div> 192 193 194 195<div class="toggle-content closed"> 196 <p><a href="#" onclick="return toggleContent(this)"> 197 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 198 alt=""/>SDK Tools, Revision 24.2.0</a> <em>(May 2015)</em> 199 </p> 200 201 <div class="toggle-content-toggleme"> 202 203 <dl> 204 <dt>Dependencies:</dt> 205 206 <dd> 207 <ul> 208 <li>Android SDK Platform-tools revision 19 or later.</li> 209 </ul> 210 </dd> 211 212 <dt>General Notes:</dt> 213 <dd> 214 <ul> 215 <li>Fixed several minor emulator issues.</li> 216 </ul> 217 </dd> 218 </div> 219</div> 220 221 222<div class="toggle-content closed"> 223 <p><a href="#" onclick="return toggleContent(this)"> 224 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 225 alt=""/>SDK Tools, Revision 24.1.2</a> <em>(February 2015)</em> 226 </p> 227 228 <div class="toggle-content-toggleme"> 229 230 <dl> 231 <dt>Dependencies:</dt> 232 233 <dd> 234 <ul> 235 <li>Android SDK Platform-tools revision 19 or later.</li> 236 </ul> 237 </dd> 238 239 <dt>General Notes:</dt> 240 <dd> 241 <ul> 242 <li>Fixed boot failures of MIPS system images on Mac OS X.</li> 243 <li>Fixed AVD screen capture issues when using GPU emulation.</li> 244 <li>Fixed memory leaks in emulator system.</li> 245 </ul> 246 </dd> 247 </div> 248</div> 249 250 251<div class="toggle-content closed"> 252 <p><a href="#" onclick="return toggleContent(this)"> 253 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 254 alt=""/>SDK Tools, Revision 24.0.2</a> <em>(December 2014)</em> 255 </p> 256 257 <div class="toggle-content-toggleme"> 258 259 <dl> 260 <dt>Dependencies:</dt> 261 262 <dd> 263 <ul> 264 <li>Android SDK Platform-tools revision 19 or later.</li> 265 </ul> 266 </dd> 267 268 <dt>General Notes:</dt> 269 <dd> 270 <ul> 271 <li>Fixed issue with creating projects and activities from templates using Eclipse ADT.</li> 272 </ul> 273 </dd> 274 </div> 275</div> 276 277 278<div class="toggle-content closed"> 279 <p><a href="#" onclick="return toggleContent(this)"> 280 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 281 alt=""/>SDK Tools, Revision 24.0.1</a> <em>(December 2014)</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 Java detection issue on 32-bit Windows systems.</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)"> 307 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 308 alt=""/>SDK Tools, Revision 24.0.0</a> <em>(December 2014)</em> 309 </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>Added support for Android Studio 1.0 and emulator enhancements.</li> 326 </ul> 327 </dd> 328 </div> 329</div> 330 331 332 333<div class="toggle-content closed"> 334 <p><a href="#" onclick="return toggleContent(this)"> 335 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 336 alt=""/>SDK Tools, Revision 23.0.5</a> <em>(October 2014)</em> 337 </p> 338 339 <div class="toggle-content-toggleme"> 340 341 <dl> 342 <dt>Dependencies:</dt> 343 344 <dd> 345 <ul> 346 <li>Android SDK Platform-tools revision 19 or later.</li> 347 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 348 designed for use with ADT 23.0.4 and later. If you haven't already, update your 349 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.4.</li> 350 <li>If you are developing outside Eclipse, you must have 351 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 352 </ul> 353 </dd> 354 355 <dt>General Notes:</dt> 356 <dd> 357 <ul> 358 <li>Fixed Windows 32-bit compilation issue.</li> 359 </ul> 360 </dd> 361 </div> 362</div> 363 364 365<div class="toggle-content closed"> 366 <p><a href="#" onclick="return toggleContent(this)"> 367 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 368 alt=""/>SDK Tools, Revision 23.0.4</a> <em>(October 2014)</em> 369 </p> 370 371 <div class="toggle-content-toggleme"> 372 373 <dl> 374 <dt>Dependencies:</dt> 375 376 <dd> 377 <ul> 378 <li>Android SDK Platform-tools revision 19 or later.</li> 379 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 380 designed for use with ADT 23.0.4 and later. If you haven't already, update your 381 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.4.</li> 382 <li>If you are developing outside Eclipse, you must have 383 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 384 </ul> 385 </dd> 386 387 <dt>General Notes:</dt> 388 <dd> 389 <ul> 390 <li>Fixed duplicate devices in AVD for Wear and TV.</li> 391 </ul> 392 </dd> 393 </div> 394</div> 395 396 397<div class="toggle-content closed"> 398 <p><a href="#" onclick="return toggleContent(this)"> 399 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 400 alt=""/>SDK Tools, Revision 23.0.2</a> <em>(July 2014)</em> 401 </p> 402 403 <div class="toggle-content-toggleme"> 404 405 <dl> 406 <dt>Dependencies:</dt> 407 408 <dd> 409 <ul> 410 <li>Android SDK Platform-tools revision 19 or later.</li> 411 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 412 designed for use with ADT 23.0.2 and later. If you haven't already, update your 413 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.2.</li> 414 <li>If you are developing outside Eclipse, you must have 415 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 416 </ul> 417 </dd> 418 419 <dt>General Notes:</dt> 420 <dd> 421 <ul> 422 <li>Added ProGuard <code>.bat</code> files that were missing.</li> 423 <li>Added the <code>proguard-android.txt</code> file that was missing.</li> 424 <li>Renamed the <code>lombok-ast-0.2.2.jar</code> file to <code>lombok-ast.jar</code>, 425 which should allow running lint from the command line.</li> 426 </ul> 427 </dd> 428 </div> 429</div> 430 431<div class="toggle-content closed"> 432 <p><a href="#" onclick="return toggleContent(this)"> 433 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 434 alt=""/>SDK Tools, Revision 23.0.0</a> <em>(June 2014)</em> 435 </p> 436 437 <div class="toggle-content-toggleme"> 438 439 <dl> 440 <dt>Dependencies:</dt> 441 442 <dd> 443 <ul> 444 <li>Android SDK Platform-tools revision 19 or later.</li> 445 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 446 designed for use with ADT 23.0.0 and later. If you haven't already, update your 447 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 23.0.0.</li> 448 <li>If you are developing outside Eclipse, you must have 449 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 450 </ul> 451 </dd> 452 453 <dt>General Notes:</dt> 454 <dd> 455 <ul> 456 <li>Added the Android Wear tools and system images.</li> 457 </ul> 458 </dd> 459 </div> 460</div> 461 462<div class="toggle-content closed"> 463 <p><a href="#" onclick="return toggleContent(this)"> 464 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 465 alt=""/>SDK Tools, Revision 22.6.4</a> <em>(June 2014)</em> 466 </p> 467 468 <div class="toggle-content-toggleme"> 469 470 <dl> 471 <dt>Dependencies:</dt> 472 473 <dd> 474 <ul> 475 <li>Android SDK Platform-tools revision 18 or later.</li> 476 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 477 designed for use with ADT 22.6.3 and later. If you haven't already, update your 478 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.3.</li> 479 <li>If you are developing outside Eclipse, you must have 480 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 481 </ul> 482 </dd> 483 484 <dt>General Notes:</dt> 485 <dd> 486 <ul> 487 <li>Fixed an issue with the x86 emulator that caused Google Maps to crash. 488 (<a href="http://b.android.com/69385">Issue 69385</a>)</li> 489 <li>Fixed minor OpenGL issues.</li> 490 </ul> 491 </dd> 492 </div> 493</div> 494 495<div class="toggle-content closed"> 496 <p><a href="#" onclick="return toggleContent(this)"> 497 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 498 alt=""/>SDK Tools, Revision 22.6.3</a> <em>(April 2014)</em> 499 </p> 500 501 <div class="toggle-content-toggleme"> 502 503 <dl> 504 <dt>Dependencies:</dt> 505 506 <dd> 507 <ul> 508 <li>Android SDK Platform-tools revision 18 or later.</li> 509 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 510 designed for use with ADT 22.6.3 and later. If you haven't already, update your 511 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.3.</li> 512 <li>If you are developing outside Eclipse, you must have 513 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 514 </ul> 515 </dd> 516 517 <dt>General Notes:</dt> 518 <dd> 519 <ul> 520 <li>Fixed a problem where the AVD manager allowed creating Android Wear virtual devices 521 with a target API Level lower than 19.</li> 522 <li>Fixed the description of Android Wear system images in the SDK Manager.</li> 523 </ul> 524 </dd> 525 526 <dt>Known Issues:</dt> 527 <dd> 528 <p>When you create an Android Wear virtual device in the AVD manager, a target API Level 529 lower than 19 may be selected by default. Make sure you select the target API Level 19 530 when creating Android Wear virtual devices.</p> 531 </dd> 532 </div> 533</div> 534 535<div class="toggle-content closed"> 536 <p><a href="#" onclick="return toggleContent(this)"> 537 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 538 alt=""/>SDK Tools, Revision 22.6.2</a> <em>(March 2014)</em> 539 </p> 540 541 <div class="toggle-content-toggleme"> 542 543 <dl> 544 <dt>Dependencies:</dt> 545 546 <dd> 547 <ul> 548 <li>Android SDK Platform-tools revision 18 or later.</li> 549 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 550 designed for use with ADT 22.6.2 and later. If you haven't already, update your 551 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.2.</li> 552 <li>If you are developing outside Eclipse, you must have 553 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 554 </ul> 555 </dd> 556 557 <dt>General Notes:</dt> 558 <dd> 559 <ul> 560 <li>Fixed a problem where the SDK Manager threw a <code>NullPointerException</code> after 561 removing a virtual device that was created using the Android Wear 562 system image. (<a href="http://b.android.com/67588">Issue 67588</a>)</li> 563 <li>Fixed a problem with Nexus 5 Android virtual devices created from the command line 564 where the SD card file system was read-only.</li> 565 </ul> 566 </dd> 567 </div> 568</div> 569 570<div class="toggle-content closed"> 571 <p><a href="#" onclick="return toggleContent(this)"> 572 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 573 alt=""/>SDK Tools, Revision 22.6.1</a> <em>(March 2014)</em> 574 </p> 575 576 <div class="toggle-content-toggleme"> 577 578 <dl> 579 <dt>Dependencies:</dt> 580 581 <dd> 582 <ul> 583 <li>Android SDK Platform-tools revision 18 or later.</li> 584 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 585 designed for use with ADT 22.6.1 and later. If you haven't already, update your 586 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.1.</li> 587 <li>If you are developing outside Eclipse, you must have 588 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 589 </ul> 590 </dd> 591 592 <dt>General Notes:</dt> 593 <dd> 594 <ul> 595 <li>Fixed a problem where the Android Virtual Device Manager could not create new virtual 596 devices. (<a href="http://b.android.com/66661">Issue 66661</a>)</li> 597 <li><p>Fixed a problem with virtual devices created using ADT 22.3 or earlier.</p> 598 <p>If you created an Android Virtual Device using ADT 22.3 or earlier, the 599 AVD may be listed as <em>broken</em> in the AVD Manager in 22.6.1. To fix 600 this problem, select the virtual device on the AVD Manager and click 601 <strong>Repair</strong>.</p> 602 </li> 603 <li>Fixed a problem with the command line tools when creating virtual devices. 604 (<a href="http://b.android.com/66740">Issue 66740</a>)</li> 605 <li>Fixed a problem with the command line <code>lint</code> script.</li> 606 </ul> 607 </dd> 608 609 <dt>Known Issues:</dt> 610 <dd> 611 <p>When you create an Android virtual device using the Nexus 5 device definition, 612 you must enable the <em>Use Host GPU</em> option, otherwise the virtual device 613 will not start.</p> 614 </dd> 615 </div> 616</div> 617 618<div class="toggle-content closed"> 619 <p><a href="#" onclick="return toggleContent(this)"> 620 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 621 alt=""/>SDK Tools, Revision 22.6</a> <em>(March 2014)</em> 622 </p> 623 624 <div class="toggle-content-toggleme"> 625 626 <dl> 627 <dt>Dependencies:</dt> 628 <dd> 629 <ul> 630 <li>Android SDK Platform-tools revision 18 or later.</li> 631 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 632 designed for use with ADT 22.6.0 and later. If you haven't already, update your 633 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.6.0.</li> 634 <li>If you are developing outside Eclipse, you must have 635 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 636 </ul> 637 </dd> 638 639 <dt>General Notes:</dt> 640 <dd> 641 <ul> 642 <li><p>The command line <code>lint</code> script (<code>tools\lint.bat</code> on 643 Windows platforms, <code>tools/lint</code> on other platforms) and the 644 <code>lint</code> target on <code>ant</code> builds fail with the following 645 error:</p> 646 <p><code>Exception in thread "main" java.lang.NoClassDefFoundError: 647 lombok/ast/AstVisitor</code></p> 648 <p>As a temporary workaround, rename the file 649 <code>tools\lib\lombok-ast-0.2.2.jar</code> to 650 <code>tools\lib\lombok-ast.jar</code>. 651 We will release an updated version of the tools with a fix for 652 this issue as soon as possible.</p> 653 </li> 654 <li>Added support for Java 7 language features like multi-catch, try-with-resources, 655 and the diamond operator. These features require version 19 or higher 656 of the Build Tools. Try-with-resources requires <code>minSdkVersion</code> 657 19; the rest of the new language features require 658 <code>minSdkVersion</code> 8 or higher.</li> 659 <li>Added new lint checks: 660 <ul> 661 <li>Security: 662 <ul> 663 <li>Look for code potentially affected by a <code>SecureRandom</code> 664 vulnerability.</li> 665 <li>Check that calls to <code>checkPermission</code> use the return value.</li> 666 </ul> 667 </li> 668 <li>Check that production builds do not use mock location providers.</li> 669 <li>Look for manifest values that are overwritten by values from Gradle build 670 scripts.</li> 671 </ul> 672 </li> 673 <li>Fixed a number of minor issues in the SDK and build system.</li> 674 <li>Emulator: 675 <ul> 676 <li>Fixed a problem with the emulator shutting down immediately for Android 1.5 677 on the Nexus One and Nexus S devices. 678 (<a href="http://b.android.com/64945">Issue 64945</a>)</li> 679 <li>Fixed a problem with port numbers longer than four digits. 680 (<a href="http://b.android.com/60024">Issue 60024</a>)</li> 681 <li>Fixed battery errors for the Nexus One and Nexus S devices. 682 (<a href="http://b.android.com/39959">Issue 39959</a>)</li> 683 <li>Fixed a problem with paths or arguments that contain 684 spaces on Windows platforms. 685 (<a href="http://b.android.com/18317">Issue 18317</a>)</li> 686 <li>Fixed a problem with long path values on Windows platforms. 687 (<a href="http://b.android.com/33336">Issue 33336</a>)</li> 688 <li>Fixed a problem with the {@code -snapshot-list} command line 689 option on 64-bit systems. 690 (<a href="http://b.android.com/34233">Issue 34233</a>)</li> 691 </ul> 692 </li> 693 <li>Fixed an issue with RenderScript support. Using RenderScript support mode 694 now requires version 19.0.3 of the Build Tools.</li> 695 </ul> 696 </dd> 697 </dl> 698 </div> 699</div> 700 701<div class="toggle-content closed"> 702 <p><a href="#" onclick="return toggleContent(this)"> 703 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 704 alt=""/>SDK Tools, Revision 22.3</a> <em>(October 2013)</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.3.0 and later. If you haven't already, update your 716 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.3.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>Added support for Android 4.4 (API level 19).</li> 726 <li>Fixed a number of minor bugs in the SDK and build system.</li> 727 </ul> 728 </dd> 729 </dl> 730 </div> 731</div> 732 733<div class="toggle-content closed"> 734 <p><a href="#" onclick="return toggleContent(this)"> 735 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 736 alt=""/>SDK Tools, Revision 22.2.1</a> <em>(September 2013)</em> 737 </p> 738 739 <div class="toggle-content-toggleme"> 740 741 <dl> 742 <dt>Dependencies:</dt> 743 <dd> 744 <ul> 745 <li>Android SDK Platform-tools revision 16 or later.</li> 746 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 747 designed for use with ADT 22.2.1 and later. If you haven't already, update your 748 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.2.1.</li> 749 <li>If you are developing outside Eclipse, you must have 750 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 751 </ul> 752 </dd> 753 754 <dt>General Notes:</dt> 755 <dd> 756 <ul> 757 <li>Fixed problem with templates that causes the new project wizard to hang. 758 (<a href="http://b.android.com/60149">Issue 60149</a>)</li> 759 <li>Fixed crash when using the lint command line tool because of mis-matched library 760 dependency. (<a href="http://b.android.com/60190">Issue 60190</a>)</li> 761 </ul> 762 </dd> 763 </dl> 764 </div> 765</div> 766 767<div class="toggle-content closed"> 768 <p><a href="#" onclick="return toggleContent(this)"> 769 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 770 alt=""/>SDK Tools, Revision 22.2</a> <em>(September 2013)</em> 771 </p> 772 773 <div class="toggle-content-toggleme"> 774 775 <dl> 776 <dt>Dependencies:</dt> 777 <dd> 778 <ul> 779 <li>Android SDK Platform-tools revision 16 or later.</li> 780 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 781 designed for use with ADT 22.2 and later. If you haven't already, update your 782 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.2.</li> 783 <li>If you are developing outside Eclipse, you must have 784 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 785 </ul> 786 </dd> 787 788 <dt>General Notes:</dt> 789 <dd> 790 <ul> 791 <li>Updated build tools to allow use of RenderScript on older versions of Android 792 using new features in the 793 <a href="{@docRoot}tools/support-library/features.html#v8">Support Library</a>.</li> 794 <li>Moved the Systrace tool to the {@code >sdk</platform-tools/} directory. </li> 795 <li>Modified <a href="{@docRoot}tools/help/gltracer.html">Tracer for OpenGL ES</a> to 796 support OpenGL ES 3.0.</li> 797 <li>Lint 798 <ul> 799 <li>Fixed problem with lint not detecting custom namespaces. 800 (<a href="http://b.android.com/55673">Issue 55673</a>)</li> 801 <li>Fixed problem with the XML report including invalid characters. 802 (<a href="http://b.android.com/56205">Issue 56205</a>)</li> 803 <li>Fixed command-line execution of lint to work in headless mode to support execution 804 by build servers. (<a href="http://b.android.com/55820">Issue 55820</a>)</li> 805 </ul> 806 </li> 807 <li>Improved support for path names with spaces in the Windows command-line tools.</li> 808 </ul> 809 </dd> 810 </dl> 811 </div> 812</div> 813 814 815<div class="toggle-content closed"> 816 <p><a href="#" onclick="return toggleContent(this)"> 817 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 818 alt=""/>SDK Tools, Revision 22.0.5</a> <em>(July 2013)</em> 819 </p> 820 821 <div class="toggle-content-toggleme"> 822 823 <dl> 824 <dt>Dependencies:</dt> 825 <dd> 826 <ul> 827 <li>Android SDK Platform-tools revision 16 or later.</li> 828 <li>If you are developing in Eclipse with the 829 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a>, note that this version of 830 SDK Tools is designed for use with ADT 22.0.5 and later. If you haven't already, update 831 ADT to 22.0.5.</li> 832 <li>If you are using <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>, 833 note that this version of the SDK Tools is designed to work with Android Studio 834 0.2.x and later.</li> 835 <li>If you are developing without an integrated development environment (IDE), you must have 836 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 837 </ul> 838 </dd> 839 840 <dt>General Notes:</dt> 841 <dd> 842 <ul> 843 <li>Fixed RenderScript compilation issue for Windows platforms with ant.</li> 844 <li>Updated <a href="{@docRoot}tools/help/systrace.html">Systrace</a> to work with the 845 Android 4.3 platform image.</li> 846 <li>Fixed packaging of RenderScript compiler.</li> 847 <li>Build tools 18.0.0 is obsolete and 18.0.1 should be used instead.</li> 848 </ul> 849 </dd> 850 </dl> 851 </div> 852</div> 853 854 855<div class="toggle-content closed"> 856 <p><a href="#" onclick="return toggleContent(this)"> 857 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 858 alt=""/>SDK Tools, Revision 22.0.4</a> <em>(July 2013)</em> 859 </p> 860 861 <div class="toggle-content-toggleme"> 862 863 <dl> 864 <dt>Dependencies:</dt> 865 <dd> 866 <ul> 867 <li>Android SDK Platform-tools revision 16 or later.</li> 868 <li>If you are developing in Eclipse with the 869 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a>, note that this version of 870 SDK Tools is designed for use with ADT 22.0.4 and later. If you haven't already, update 871 ADT to 22.0.4.</li> 872 <li>If you are using <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>, 873 note that this version of the SDK Tools is designed to work with Android Studio 874 0.2.x and later.</li> 875 <li>If you are developing without an integrated development environment (IDE), you must have 876 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 877 </ul> 878 </dd> 879 880 <dt>General Notes:</dt> 881 <dd> 882 <ul> 883 <li>Fixed problem with compiling RenderScript code.</li> 884 </ul> 885 </dd> 886 </dl> 887 </div> 888</div> 889 890 891<div class="toggle-content closed"> 892 <p><a href="#" onclick="return toggleContent(this)"> 893 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 894 alt=""/>SDK Tools, Revision 22.0.1</a> <em>(May 2013)</em> 895 </p> 896 897 <div class="toggle-content-toggleme"> 898 899 <dl> 900 <dt>Dependencies:</dt> 901 <dd> 902 <ul> 903 <li>Android SDK Platform-tools revision 16 or later.</li> 904 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 905 designed for use with ADT 22.0.1 and later. If you haven't already, update your 906 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.0.1.</li> 907 <li>If you are developing outside Eclipse, you must have 908 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 909 </ul> 910 </dd> 911 912 <dt>General Notes:</dt> 913 <dd> 914 <ul> 915 <li>Fixed issue with Lint ServiceCast check and fully qualified class names. 916 (<a href="http://code.google.com/p/android/issues/detail?id=55403">Issue 55403</a>)</li> 917 <li>Fixed crash issue with Lint ArraySizeDetector check. 918 (<a href="http://code.google.com/p/android/issues/detail?id=54887">Issue 54887</a>)</li> 919 <li>Fixed a problem with the monkeyrunner tool failing to import standard python classes. 920 (<a href="http://code.google.com/p/android/issues/detail?id=55632">Issue 55632</a>)</li> 921 <li>Fixed a problem with DDMS monitor not opening heap and network statistics views due to 922 a class not found exception. 923 (<a href="http://code.google.com/p/android/issues/detail?id=55394">Issue 55394</a>)</li> 924 </ul> 925 926 </dd> 927 </dl> 928 </div> 929</div> 930 931 932<div class="toggle-content closed"> 933 <p><a href="#" onclick="return toggleContent(this)"> 934 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 935 alt=""/>SDK Tools, Revision 22</a> <em>(May 2013)</em> 936 </p> 937 938 <div class="toggle-content-toggleme"> 939 940 <dl> 941 <dt>Dependencies:</dt> 942 <dd> 943 <ul> 944 <li>Android SDK Platform-tools revision 16 or later.</li> 945 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 946 designed for use with ADT 22.0.0 and later. If you haven't already, update your 947 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 22.0.0.</li> 948 <li>If you are developing outside Eclipse, you must have 949 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 950 </ul> 951 </dd> 952 953 <dt>General Notes:</dt> 954 <dd> 955 <ul> 956 <li>Changed the structure of the SDK by adding a new build tool SDK Component, which is 957 based on the existing platform-tools component. This change decouples the build tools 958 versions from the IDE versions, allowing updates to the tools without requiring an 959 IDE update.</li> 960 <li>Updated tools to allow libraries to share the same package name as the applications 961 that use them.</li> 962 <li>Updated {@code draw9patch} tool to allow easier changing of markers.</li> 963 <li>Added new Lint checks, including checks for layout consistency, 964 {@link android.widget.RelativeLayout} siblings, {@link android.os.Parcel} creator, 965 JavaScript interfaces, {@link android.app.Service} casting, quantity strings, manifest 966 typos, orientation tags in layouts, overlapping names for 9-patches and images, and class 967 existence checks.</li> 968 <li>Updated build tools to sign applications using the BouncyCastle library instead of 969 relying on Sun JVM specific APIs.</li> 970 <li>Released some of the Android tools into <a href="http://www.maven.org">Maven 971 Central</a> to assist third-party tool developers. The following tools are available 972 in the repository: {@code manifest-merger}, {@code common/sdk_common}, {@code ddmlib}, 973 {@code dvlib}, {@code layoutlib_api}, {@code sdklib}, and {@code lint}.</li> 974 </ul> 975 </dd> 976 977 <dt>Bug fixes:</dt> 978 <dd> 979 <ul> 980 <li>Fixed a number of minor bugs in the SDK and build system.</li> 981 </ul> 982 </dd> 983 </dl> 984 </div> 985</div> 986 987<div class="toggle-content closed"> 988 <p><a href="#" onclick="return toggleContent(this)"> 989 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 990 alt=""/>SDK Tools, Revision 21.1</a> <em>(February 2013)</em> 991 </p> 992 993 <div class="toggle-content-toggleme"> 994 995 <dl> 996 <dt>Dependencies:</dt> 997 <dd> 998 <ul> 999 <li>Android SDK Platform-tools revision 16 or later.</li> 1000 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 1001 designed for use with ADT 21.1.0 and later. If you haven't already, update your 1002 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.1.0.</li> 1003 <li>If you are developing outside Eclipse, you must have 1004 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1005 </ul> 1006 </dd> 1007 1008 <dt>General Notes:</dt> 1009 <dd> 1010 <ul> 1011 <li>Improved error reporting in {@code dx} when dex merging fails in the build 1012 system.</li> 1013 <li>Added more than 15 new Lint checks, including checks for overriding older APIs, XML 1014 resource problems, graphic asset issues and manifest tags.</li> 1015 <li>Added new aapt feature to compile resources.</li> 1016 </ul> 1017 </dd> 1018 </dl> 1019 </div> 1020</div> 1021 1022<div class="toggle-content closed"> 1023 <p><a href="#" onclick="return toggleContent(this)"> 1024 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1025 alt=""/>SDK Tools, Revision 21.0.1</a> <em>(December 2012)</em> 1026 </p> 1027 1028 <div class="toggle-content-toggleme"> 1029 1030 <dl> 1031 <dt>Dependencies:</dt> 1032 <dd> 1033 <ul> 1034 <li>Android SDK Platform-tools revision 16 or later.</li> 1035 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 1036 designed for use with ADT 21.0.1 and later. If you haven't already, update your 1037 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.0.1.</li> 1038 <li>If you are developing outside Eclipse, you must have 1039 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1040 </ul> 1041 </dd> 1042 1043 <dt>General Notes:</dt> 1044 <dd> 1045 <ul> 1046 <li>Build 1047 <ul> 1048 <li>Updated build to detect and handle package name conflicts between an application and 1049 the libraries it depends on. Libraries cannot share package names unless all of them 1050 share the same package name. 1051 (<a href="http://code.google.com/p/android/issues/detail?id=40152">Issue 40152</a>, 1052 <a href="http://code.google.com/p/android/issues/detail?id=40273">Issue 40273</a>) 1053 </li> 1054 <li>Added a flag to disable dex merging to deal with cases where merging could generate 1055 a broken dex file. If this happens to your project, add the following setting to your 1056 {@code project.properties} file: {@code dex.disable.merger=true} This setting 1057 causes the build system to revert to the older, slower dex processing that does not 1058 pre-dex libraries.</li> 1059 </ul> 1060 </li> 1061 1062 <li>RenderScript 1063 <ul> 1064 <li>Added support for 1065 <a href="{@docRoot}guide/topics/renderscript/compute.html#filterscript">Filterscript</a> 1066 compilation.</li> 1067 <li>Added new project setting to control the RenderScript compilation target separately 1068 from an Android project. Adding the following line to a {@code project.properties} 1069 file causes RenderScript code to be compiled for Android API Level 17, while the 1070 containing application can target a different (lower) API level: 1071 <pre>renderscript.target = 17</pre> 1072 Previously, the RenderScript compilation target was tied to the 1073 {@code android:minSdkVersion} setting in the manifest. 1074 (<a href="http://code.google.com/p/android/issues/detail?id=40487">Issue 40487</a>) 1075 </li> 1076 </ul> 1077 </li> 1078 1079 </ul> 1080 </dd> 1081 1082 1083 <dt>Bug fixes:</dt> 1084 <dd> 1085 <ul> 1086 <li>Lint 1087 <ul> 1088 <li>Corrected check for {@code 0px} values in style XML elements. 1089 (<a href="http://code.google.com/p/android/issues/detail?id=39601">Issue 39601</a>) 1090 </li> 1091 <li>Fixed incorrect flagging of formatting strings. 1092 (<a href="http://code.google.com/p/android/issues/detail?id=39758">Issue 39758</a>) 1093 </li> 1094 <li>Fixed problem where {@code tools:ignore} directive in the manifest file was ignored 1095 by the Lint tool. 1096 (<a href="http://code.google.com/p/android/issues/detail?id=40136">Issue 40136</a>) 1097 </li> 1098 <li>Fixed problem with flagging a wakelock release inside a conditional. 1099 (<a href="http://code.google.com/p/android/issues/detail?id=40424">Issue 40424</a>) 1100 </li> 1101 <li>Fixed incorrect reporting of missing {@code layout_width} and {@code layout_height} 1102 XML fields. 1103 (<a href="http://code.google.com/p/android/issues/detail?id=38958">Issue 38958</a>) 1104 </li> 1105 <li>Fixed handling of custom namespace attributes.</li> 1106 <li>Added fixes for filtering out library project warnings.</li> 1107 <li>Removed warnings about missing classes before a build.</li> 1108 </ul> 1109 </li> 1110 1111 <li>Fixed problem with UI Automator Viewer execution script where Android tools directory 1112 is not set.</li> 1113 <li>Fixed problem with the SDK Manager so that it auto-selects the most recently released 1114 platform on startup.</li> 1115 <li>Fixed Java finding script to look for the currently supported version of Java (1.6 or 1116 higher).</li> 1117 <li>Fixed the SDK Manager launcher in the ADT bundle so that it can properly launch the 1118 SDK Manager program when it is placed at the root of the bundle.</li> 1119 </ul> 1120 </dd> 1121 </dl> 1122 </div> 1123</div> 1124 1125<div class="toggle-content closed"> 1126 <p><a href="#" onclick="return toggleContent(this)"> 1127 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1128 alt=""/>SDK Tools, Revision 21</a> <em>(November 2012)</em> 1129 </p> 1130 1131 <div class="toggle-content-toggleme"> 1132 1133 <dl> 1134 <dt>Dependencies:</dt> 1135 <dd> 1136 <ul> 1137 <li>Android SDK Platform-tools revision 16 or later.</li> 1138 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed 1139 for use with ADT 21.0.0 and later. If you haven't already, update your 1140 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.0.0.</li> 1141 <li>If you are developing outside Eclipse, you must have 1142 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1143 </ul> 1144 </dd> 1145 1146 <dt>General Notes:</dt> 1147 <dd> 1148 <ul> 1149 <li>Build System 1150 <ul> 1151 <li>Added a flag that sets <em>jumbo mode</em> for DEX files, which allows a larger 1152 number of strings in the DEX files. Enable this mode by adding the following line to 1153 the {@code project.properties} file of your project: 1154 <pre>dex.force.jumbo=true</pre></li> 1155 <li>Improved the build time by pre-dexing libraries (both JAR files and library 1156 projects).</li> 1157 <li>Updated the build to generate {@code R} resource classes for library projects 1158 with only the IDs needed by the libraries, reducing the risk of hitting DEX file 1159 limits for fields and methods.</li> 1160 <li>Improved the build so that several editing features (code completion, resource 1161 chooser, go to declaration) properly handle library project resources.</li> 1162 </ul> 1163 </li> 1164 <li>Lint 1165 <ul> 1166 <li>Added over 25 new lint rules for resources, locale settings, layout 1167 files, incorrect use of {@link android.util.SparseArray} and 1168 {@link android.os.PowerManager.WakeLock} and manifest issues.</li> 1169 <li>Updated reporting to include errors in library projects if the library project is 1170 in the list of projects to be checked.</li> 1171 <li>Added a new {@code lint} target to the Ant build system for easier 1172 integration with continuous build systems.</li> 1173 <li>Added new {@code --sources} and {@code --classpath} arguments to point to sources 1174 with different directory structures.</li> 1175 <li>Improved the XML export function to support the <a 1176 href="https://wiki.jenkins-ci.org/display/JENKINS/Android+Lint+Plugin">Jenkins Lint 1177 plugin</a>. 1178 </li> 1179 <li>Added support for class file flow analysis.</li> 1180 </ul> 1181 </li> 1182 <li>Android Virtual Devices (AVD) 1183 <ul> 1184 <li>Added new <strong>Device Definitions</strong> tab in the AVD Manager for configuring 1185 standard size and Nexus virtual devices.</li> 1186 <li>Improved emulators so that they launch with a skin that is dynamically generated and 1187 reflects the actual hardware configured in the AVD Manager.</li> 1188 <li>Improved support for developing Android apps on MIPS-based devices with new MIPS 1189 System Images for Android Virtual Devices.</li> 1190 </ul> 1191 </li> 1192 <li>Added {@code jobb} tool for creating and encrypting 1193 <a href="{@docRoot}google/play/expansion-files.html">APK Expansion Files</a>. 1194 (<a href="{@docRoot}tools/help/jobb.html">more info</a>) 1195 <li>Improved the Android JUnit test runner to allow a test to be run on all connected 1196 devices simultaneously.</li> 1197 </ul> 1198 </dd> 1199 1200 <dt>Bug fixes:</dt> 1201 <dd> 1202 <ul> 1203 <li>Fixed manifest merger to properly adapt library classes in the merged manifest.</li> 1204 </ul> 1205 </dd> 1206 1207 </dl> 1208 </div> 1209</div> 1210 1211<div class="toggle-content closed"> 1212 <p><a href="#" onclick="return toggleContent(this)"> 1213 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1214 alt=""/>SDK Tools, Revision 20.0.3</a> <em>(August 2012)</em> 1215 </p> 1216 1217 <div class="toggle-content-toggleme"> 1218 1219 <dl> 1220 <dt>Dependencies:</dt> 1221 <dd> 1222 <ul> 1223 <li>Android SDK Platform-tools revision 12 or later.</li> 1224 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed 1225 for use with ADT 20.0.3 and later. If you haven't already, update your 1226 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.3.</li> 1227 <li>If you are developing outside Eclipse, you must have 1228 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1229 </ul> 1230 </dd> 1231 <dt>Bug fixes:</dt> 1232 <dd> 1233 <ul> 1234 <li>Fixed problem with cached download lists in SDK Manager.</li> 1235 </ul> 1236 </dd> 1237 </dl> 1238 </div> 1239</div> 1240 1241 1242<div class="toggle-content closed"> 1243 <p><a href="#" onclick="return toggleContent(this)"> 1244 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1245 alt=""/>SDK Tools, Revision 20.0.1</a> <em>(July 2012)</em> 1246 </p> 1247 1248 <div class="toggle-content-toggleme"> 1249 1250 <dl> 1251 <dt>Dependencies:</dt> 1252 <dd> 1253 <ul> 1254 <li>Android SDK Platform-tools revision 12 or later.</li> 1255 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed 1256 for use with ADT 20.0.1 and later. If you haven't already, update your 1257 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.1.</li> 1258 <li>If you are developing outside Eclipse, you must have 1259 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1260 </ul> 1261 </dd> 1262 <dt>Bug fixes:</dt> 1263 <dd> 1264 <ul> 1265 <li>Fixed wrong check on build state that forced repetitive Java code recompilation.</li> 1266 <li>Fixed problems with running more than one emulator and running multiple emulators 1267with GPU acceleration.</li> 1268 <li>Improved resize algorithm for better rendering on scaled emulator windows.</li> 1269 <li>Fixed a bug in the {@code lint} check for unprotected broadcast receivers to ignore 1270unprotected receivers for default Android actions.</li> 1271 <li>Fixed build issue for projects using RenderScript.</li> 1272 <li>Fixed memory leak in the emulator.</li> 1273 </ul> 1274 </dd> 1275 </dl> 1276 </div> 1277</div> 1278 1279<div class="toggle-content closed"> 1280 <p><a href="#" onclick="return toggleContent(this)"> 1281 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1282 alt=""/>SDK Tools, Revision 20</a> <em>(June 2012)</em> 1283 </p> 1284 1285 <div class="toggle-content-toggleme"> 1286 <dl> 1287 <dt>Dependencies:</dt> 1288 <dd> 1289 <ul> 1290 <li>Android SDK Platform-tools revision 12 or later.</li> 1291 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for 1292 use with ADT 20.0.0 and later. If you haven't already, we highly recommend updating your 1293 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 20.0.0.</li> 1294 <li>If you are developing outside Eclipse, you must have 1295 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1296 </ul> 1297 </dd> 1298 <dt>General notes:</dt> 1299 <dd> 1300 <ul> 1301 <li>Added new Device Monitor application, grouping Android debugging tools into a 1302single application, including ddms, traceview, hierarchyviewer and Tracer for GLES. (<a 1303href="{@docRoot}tools/help/gltracer.html">more info</a>)</li> 1304 <li>Added new System Trace new tool for tracing Android system activity. This tool allow you 1305to capture a slice of system activity, plus additional information tagged from the <strong>Settings 1306> Developer Options > Monitoring: Enable traces</strong> or with specific calls added to your 1307application code.</li> 1308 </li> 1309 <li>Build System 1310 <ul> 1311 <li>Added automatic merging of library project manifest files into the including 1312project's manifest. Enable this feature with the {@code manifestmerger.enabled} property.</li> 1313 <li>Added automatic ProGuard support for the {@code aapt -G} flag. This change causes 1314the build system to generate a temporary ProGuard {@code keep-rules} file containing classes that 1315are referenced from XML files (such as custom views) and pass this to ProGuard at shrink time. This 1316can make the resulting APK much smaller when using just a small portion of a large library project 1317(such as the Android Support library), since the catch-all rules to keep all custom views from the 1318default ProGuard configuration file have also been removed.</li> 1319 <li>Added two ProGuard configuration files for use in projects: {@code 1320proguard-android-optimize.txt} which enables optimizations and {@code proguard-android.txt} which 1321disables them.</li> 1322 </ul> 1323 </li> 1324 <li>SDK Manager 1325 <ul> 1326 <li>Improved caching to reduce downloading of repository definitions.</li> 1327 <li>Added <strong>Tools > Manage Add-on Sites</strong> option to improve performance by 1328 allowing temporary deactivation of third-party sites if they are loading slowly.</li> 1329 <li>Added settings for the SDK Manager download cache (<strong>SDK Manager > Tools > 1330Options</strong>).</li> 1331 </ul> 1332 </li> 1333 </ul> 1334 </dd> 1335 <dt>Bug fixes:</dt> 1336 <dd> 1337 <ul> 1338 <li>Build 1339 <ul> 1340 <li>Fixed problem where test projects did not have access to the full classpath of tested 1341projects, including Library Projects and third-party jars.</li> 1342 <li>Fixed deployment logic so that applications with embedded tests can now be deployed 1343and tested like test applications, including code coverage information.</li> 1344 <li>Fixed Ant support for testing projects with libraries.</li> 1345 </ul> 1346 </li> 1347 </ul> 1348 </dd> 1349 </dl> 1350 </div> 1351</div> 1352 1353<div class="toggle-content closed"> 1354 <p><a href="#" onclick="return toggleContent(this)"> 1355 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1356 alt=""/>SDK Tools, Revision 19</a> <em>(April 2012)</em> 1357 </p> 1358 1359 <div class="toggle-content-toggleme"> 1360 <p class="note"><strong>Note:</strong> This update of SDK Tools is only available through 1361the <a href="{@docRoot}sdk/exploring.html">Android SDK Manager</a>. Use this tool to 1362download and install this update.</p> 1363 1364 <dl> 1365 <dt>Dependencies:</dt> 1366 <dd> 1367 <ul> 1368 <li>Android SDK Platform-tools revision 9 or later.</li> 1369 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for 1370 use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your 1371 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li> 1372 <li>If you are developing outside Eclipse, you must have 1373 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1374 </ul> 1375 </dd> 1376 <dt>Bug fixes:</dt> 1377 <dd> 1378 <ul> 1379 <li>Fixed an issue that prevented some developers from running the emulator with GPU 1380acceleration.</li> 1381 </ul> 1382 </dd> 1383 </dl> 1384 </div> 1385</div> 1386 1387<div class="toggle-content closed"> 1388 <p><a href="#" onclick="return toggleContent(this)"> 1389 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1390 alt=""/>SDK Tools, Revision 18</a> <em>(April 2012)</em> 1391 </p> 1392 1393 <div class="toggle-content-toggleme"> 1394 <p class="caution"><strong>Important:</strong> To download the new Android 1395 4.0 system components from the Android SDK Manager, you must first update the 1396 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, 1397 the Android 4.0 system components will not be available for download.</p> 1398 1399 <dl> 1400 <dt>Dependencies:</dt> 1401 <dd> 1402 <ul> 1403 <li>Android SDK Platform-tools revision 9 or later.</li> 1404 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for 1405 use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your 1406 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li> 1407 <li>If you are developing outside Eclipse, you must have 1408 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1409 </ul> 1410 </dd> 1411 <dt>General notes:</dt> 1412 <dd> 1413 <ul> 1414 <li>Updated the SdkController app to encapsulate both sensor and multitouch emulation 1415 functionality.</li> 1416 </ul> 1417 </dd> 1418 <dt>Bug fixes:</dt> 1419 <dd> 1420 <ul> 1421 <li>Fixed Ant issues where some jar libraries in the {@code libs/} folder are not picked up 1422in some cases.</li> 1423 </ul> 1424 </dd> 1425 </dl> 1426 </div> 1427</div> 1428 1429<div class="toggle-content closed"> 1430 <p><a href="#" onclick="return toggleContent(this)"> 1431 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1432 alt=""/>SDK Tools, Revision 17</a> <em>(March 2012)</em> 1433 </p> 1434 1435 <div class="toggle-content-toggleme"> 1436 <p class="caution"><strong>Important:</strong> To download the new Android 1437 4.0 system components from the Android SDK Manager, you must first update the 1438 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, 1439 the Android 4.0 system components will not be available for download.</p> 1440 1441 <dl> 1442 <dt>Dependencies:</dt> 1443 <dd> 1444 <ul> 1445 <li>Android SDK Platform-tools revision 9 or later.</li> 1446 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for 1447 use with ADT 17.0.0 and later. If you haven't already, we highly recommend updating your 1448 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 17.0.0.</li> 1449 <li>If you are developing outside Eclipse, you must have 1450 <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> 1451 </ul> 1452 </dd> 1453 <dt>General notes:</dt> 1454 <dd> 1455 <ul> 1456 <li>Emulator 1457 <ul> 1458 <li>Added support for hardware accelerated graphics rendering. This feature requires an 1459API Level 15, Revision 3 or later system image. 1460(<a href="{@docRoot}tools/devices/emulator.html#accel-graphics">more info</a>) 1461 </li> 1462 <li>Added support for running Android x86 system images in virtualization mode on 1463Windows and Mac OS X. 1464(<a href="{@docRoot}tools/devices/emulator.html#accel-vm">more info</a>) 1465 <p class="note"><strong>Note:</strong> Use the Android SDK Manager to download and 1466install x86 system images. Android x86 system images are not available for all API levels.</p> 1467 </li> 1468 <li>Added experimental support for multi-touch input by enabing the emulator to receive 1469 touch input from a USB-tethered physical Android device. 1470 (<a href="http://tools.android.com/tips/hardware-emulation">more info</a>)</li> 1471 </ul> 1472 </li> 1473 <li>Added viewing of live detailed network usage of an app in DDMS. (<a 1474 href="http://tools.android.com/recent/detailednetworkusageinddms">more info</a>)</li> 1475 <li>ProGuard 1476 <ul> 1477 <li>Updated the bundled ProGuard tool to version 4.7. In addition to many new features, 1478this update fixes the {@code Conversion to Dalvik format failed with error 1} error some users have 1479experienced.</li> 1480 <li>Updated the default {@code proguard.cfg} file with better default flags for 1481 Android.</li> 1482 <li>Split the ProGuard configuration file has been in half, with project specific flags 1483kept in project and the generic Android flags distributed (and updated) with the tools 1484themselves.</li> 1485 </ul> 1486 </li> 1487 <li>Build 1488 <ul> 1489 <li>Added a feature that allows you to run some code only in debug mode. Builds now 1490generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is 1491automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG}) 1492constant in your code to run debug-only functions.</li> 1493 <li>Fixed issue when a project and its libraries include the same jar file in their libs 1494 folder. (<a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">more 1495 info</a>)</li> 1496 <li>Added support for custom views with custom attributes in libraries. Layouts using 1497custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead 1498of the URI that includes the app package name. This URI is replaced with the app specific one at 1499build time.</li> 1500 </ul> 1501 </li> 1502 <li>Lint 1503 <ul> 1504 <li>Updated Lint to check Android application code. Lint rules which previously 1505performed pattern based searches in the application code (such as the unused resource check) have 1506been rewritten to use the more accurate Java-style parse trees.</li> 1507 <li>Added support for checking library projects. This change means that rules such as 1508the unused resource check properly handle resources declared in a library project and referenced in 1509a downstream project.</li> 1510 <li>Added ability to suppress Lint warnings in Java code with the new 1511{@code @SuppressLint} annotation, and in XML files with the new tools: namespace and 1512ignore attribute. (<a 1513 href="http://tools.android.com/recent/ignoringlintwarnings">more info</a>)</li> 1514 <li>New Lint checks: 1515 <ul> 1516 <li>Added check for Android API calls that require a version of Android higher than 1517 the minimum supported version. You can use the new {@code @TargetApi} annotation 1518 to suppress warnings when the code is wrapped in a system version condition. 1519 (<a href="http://tools.android.com/recent/lintapicheck">more info</a>)</li> 1520 <li>Added over 20 new Lint rules, including checks for 1521 <a href="http://tools.android.com/recent/lintperformancechecks">performance</a>, 1522 XML layouts, manifest and file handling.</li> 1523 </ul> 1524 </li> 1525 </ul> 1526 </li> 1527 </ul> 1528 </dd> 1529 </dl> 1530 </div> 1531</div> 1532 1533<div class="toggle-content closed"> 1534 <p><a href="#" onclick="return toggleContent(this)"> 1535 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1536 alt=""/>SDK Tools, Revision 16</a> <em>(December 2011)</em> 1537 </p> 1538 1539 <div class="toggle-content-toggleme"> 1540 <p class="caution"><strong>Important:</strong> To download the new Android 1541 4.0 system components from the Android SDK Manager, you must first update the 1542 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, 1543 the Android 4.0 system components will not be available for download.</p> 1544 1545<dl> 1546<dt>Dependencies:</dt> 1547<dd> 1548 <ul> 1549 <li>Android SDK Platform-tools revision 9 or later.</li> 1550 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use 1551 with ADT 16.0.0 and later. If you haven't already, we highly recommend updating your 1552 <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 16.0.0.</li> 1553 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1554 Ant</a> 1.8 or later.</li> 1555</ul> 1556</dd> 1557<dt>General notes:</dt> 1558<dd> 1559 <ul> 1560 <li>Added Lint tools to detect common errors in Android projects. 1561 (<a href="http://tools.android.com/recent/lint">more info</a>)</li> 1562 <li>Added sensor emulation support, which allows the emulator to read sensor data from a 1563 physical Android device. 1564 (<a href="http://tools.android.com/recent/sensoremulation">more info</a>)</li> 1565 <li>Added support for using a webcam to emulate a camera on Mac OS X.</li> 1566 </ul> 1567</dd> 1568<dt>Bug fixes:</dt> 1569<dd> 1570 <ul> 1571 <li>Snapshots now work for Android 4.0 system images.</li> 1572 <li>Fixed several small issues for the build file. 1573 (<a href="http://code.google.com/p/android/issues/detail?id=21023">Issue 21023</a>, 1574 <a href="http://code.google.com/p/android/issues/detail?id=21267">Issue 21267</a>, 1575 <a href="http://code.google.com/p/android/issues/detail?id=21465">Issue 21465</a>, 1576 <a href="http://code.google.com/p/android/issues/detail?id=21525">Issue 21525</a>).</li> 1577 </ul> 1578</dd> 1579</dl> 1580</div> 1581</div> 1582 1583<div class="toggle-content closed"> 1584 <p><a href="#" onclick="return toggleContent(this)"> 1585 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1586 alt=""/>SDK Tools, Revision 15</a> <em>(October 2011)</em> 1587 </p> 1588 1589 <div class="toggle-content-toggleme"> 1590 <p class="caution"><strong>Important:</strong> To download the new Android 1591 4.0 system components from the Android SDK Manager, you must first update the 1592 SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, 1593 the Android 4.0 system components will not be available for download.</p> 1594 <dl> 1595<dt>Dependencies:</dt> 1596<dd> 1597 <ul><li>Android SDK Platform-tools revision 9 or later.</li> 1598 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use 1599 with ADT 15.0.0 and later. If you haven't already, we highly recommend updating your <a 1600 href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 15.0.0.</li> 1601 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1602 Ant</a> 1.8 or later.</li> 1603</ul> 1604 1605<dt>Bug fixes:</dt> 1606<dd> 1607 <ul> 1608 <li>Fixed emulator crash on Linux due to improper webcam detection 1609 (<a href="http://code.google.com/p/android/issues/detail?id=20952">Issue 20952</a>).</li> 1610 <li>Fixed emulator issue when using the <code>-wipe-data</code> argument.</li> 1611 <li>Fixed build issue when using RenderScript in projects that target API levels 11-13 1612 (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li> 1613 <li>Fixed issue when creating an AVD using the GoogleTV addon 1614 (<a href="http://code.google.com/p/android/issues/detail?id=20963">Issue 20963</a>).</li> 1615 <li>Fixed <code>ant test</code> 1616 (<a href="http://code.google.com/p/android/issues/detail?id=20979">Issue 20979</a>).</li> 1617 <li>Fixed <code>android update project</code> 1618 (<a href="http://code.google.com/p/android/issues/detail?id=20535">Issue 20535</a>).</li> 1619 <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li> 1620 <li>Fixed issue with MonkeyRunner 1621 (<a href="http://code.google.com/p/android/issues/detail?id=20964">Issue 20964</a>).</li> 1622 <li>Fixed issues in the SDK Manager 1623 (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>, 1624 <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li> 1625 </ul> 1626</dd> 1627</dl> 1628</div> 1629</div> 1630 1631<div class="toggle-content closed"> 1632 <p><a href="#" onclick="return toggleContent(this)"> 1633 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1634 alt=""/>SDK Tools, Revision 14</a> <em>(October 2011)</em> 1635 </p> 1636 1637 <div class="toggle-content-toggleme"> 1638 <p class="note"><strong>Important:</strong> To download the new Android 1639 4.0 system components from the Android SDK Manager, you must first update the 1640 SDK tools to revision 14 and restart the Android SDK Manager. If you do not, 1641 the Android 4.0 system components will not be available for download.</p> 1642 <dl> 1643<dt>Dependencies:</dt> 1644<dd> 1645 <ul><li>Android SDK Platform-tools revision 8 or later.</li> 1646 <li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use 1647 with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a 1648 href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li> 1649 <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1650 Ant</a> 1.8 or later.</li> 1651</ul> 1652 1653<dt>General notes:</dt> 1654<dd> 1655 <ul> 1656 <li>Added webcam support to Android 4.0 or later platforms to emulate rear-facing cameras when 1657 one webcam is present, and to emulate both rear-facing and front-facing cameras when two 1658 webcams are present. Webcam support is for Windows and Linux only. 1659 Mac support will come in a later release.</li> 1660 <li>Changed <code>default.properties</code> to <code>project.properties</code> and 1661 <code>build.properties</code> to <code>ant.properties</code>. Any existing 1662 projects that you build with Ant must be updated with the <code>android update project</code> 1663 command.</li> 1664 <li>Changed Ant <code>build.xml</code> file to support improvements to the 1665 build system and added and modified Ant commands to support these changes. For a list of Ant 1666commands, see the 1667<a href="{@docRoot}tools/building/building-cmdline.html#AntReference">Ant Command 1668Reference</a>.</li> 1669 <li>Changed how library projects are built.</li> 1670 <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no 1671 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer 1672 run once for each library project.</li> 1673 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of 1674 crunching all existing PNG files, all the time.</li> 1675 <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more 1676info</a>).</li> 1677 </ul> 1678 <p>For a complete overview of the build system changes and what you need to do to support them, 1679see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project 1680site</a>.</p> 1681</dd> 1682</dl> 1683</div> 1684</div> 1685 1686<div class="toggle-content closed"> 1687 <p><a href="#" onclick="return toggleContent(this)"> 1688 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1689 alt=""/>SDK Tools, Revision 13</a> <em>(September 2011)</em> 1690 </p> 1691 1692 <div class="toggle-content-toggleme"> 1693 <dl> 1694<dt>Dependencies:</dt> 1695<dd> 1696<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with 1697ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a 1698href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p> 1699 1700<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1701Ant</a> 1.8 or later.</p> 1702 1703<dt>General notes:</dt> 1704<dd> 1705 <ul> 1706 <li>Fix compilation issue in Ant (<code>dex</code> step) when paths have spaces.</li> 1707 <li>Fix issue in emulator installation when paths have spaces.</li> 1708 <li>Fix issue when AVD paths have spaces.</li> 1709 <li>Fix rendering issue when using emulator scaling (<a href="http://code.google.com/p/android/issues/detail?id=18299">see more</a>).</li> 1710 </ul> 1711</dd> 1712</dl> 1713</div> 1714</div> 1715 1716 1717<div class="toggle-content closed"> 1718 <p><a href="#" onclick="return toggleContent(this)"> 1719 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1720 alt=""/>SDK Tools, Revision 12</a> <em>(July 2011)</em> 1721 </p> 1722 1723 <div class="toggle-content-toggleme"> 1724 <dl> 1725<dt>Dependencies:</dt> 1726<dd> 1727<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with 1728ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a 1729href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p> 1730 1731<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1732Ant</a> 1.8 or later.</p> 1733 1734<dt>General notes:</dt> 1735<dd> 1736 <ul> 1737 <li>The AVD manager and emulator can now use system images 1738 compiled for ARM v7 and x86 CPUs.</li> 1739 </ul> 1740</dd> 1741</dl> 1742</div> 1743</div> 1744 1745<div class="toggle-content closed"> 1746 <p><a href="#" onclick="return toggleContent(this)"> 1747 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1748 alt=""/>SDK Tools, Revision 11</a> <em>(May 2011)</em> 1749 </p> 1750 1751 <div class="toggle-content-toggleme"> 1752 <dl> 1753<dt>Dependencies:</dt> 1754<dd> 1755<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with 1756ADT 10.0.1 and later. If you haven't already, we highly recommend updating your <a 1757href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 10.0.1.</p> 1758 1759<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1760Ant</a> 1.8 or later.</p> 1761 1762<dt>General notes:</dt> 1763<dd> 1764 <ul> 1765 <li>Miscellaneous emulator changes to support Android 3.1.</li> 1766 </ul> 1767</dd> 1768</dl> 1769</div> 1770</div> 1771 1772 1773<div class="toggle-content closed"> 1774 <p><a href="#" onclick="return toggleContent(this)"> 1775 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1776 alt=""/>SDK Tools, Revision 10</a> <em>(February 2011)</em> 1777 </p> 1778 1779 <div class="toggle-content-toggleme"> 1780 <dl> 1781<dt>Dependencies:</dt> 1782<dd> 1783<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 1784designed for use with ADT 10.0.0 and later. After installing SDK Tools r10, we 1785highly recommend updating your ADT Plugin to 10.0.0.</p> 1786 1787<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1788Ant</a> 1.8 or later.</p> 1789 1790<dt>General notes:</dt> 1791<dd> 1792 <ul> 1793 <li>The tools now automatically generate Java Programming Language source files (in the 1794<code>gen</code> directory) and 1795 bytecode (in the <code>res/raw</code> directory) from your native <code>.rs</code> files</li> 1796 </ul> 1797</dd> 1798</dl> 1799</div> 1800</div> 1801 1802 1803 1804<div class="toggle-content closed"> 1805 <p><a href="#" onclick="return toggleContent(this)"> 1806 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1807 alt=""/>SDK Tools, Revision 9</a> <em>(January 2011)</em> 1808 </p> 1809 1810 <div class="toggle-content-toggleme"> 1811 <dl> 1812<dt>Dependencies:</dt> 1813<dd> 1814<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 1815designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we 1816highly recommend updating your ADT Plugin to 9.0.0.</p> 1817 1818<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1819Ant</a> 1.8 or later.</p> 1820 1821<dt>Upgrading to SDK Tools r9:</dt> 1822<dd> 1823<p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location 1824for the <code>adb</code> tool has changed from <code><<em>SDK</em>>/tools/adb</code> to 1825<code><<em>SDK</em>>/platform-tools/adb</code>. This means that you should 1826add the new location to your PATH and modify any custom build scripts to 1827reference the new location. Copying the <code>adb</code> executable from the new 1828location to the old is not recommended, since subsequent updates to the SDK 1829Tools will delete the file.</p> 1830</dd> 1831 1832<dt>General notes:</dt> 1833<dd> 1834 <ul> 1835 <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes: 1836 <ul> 1837 <li>classes that extend {@link android.preference.Preference}</li> 1838 <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li> 1839 </ul> 1840 </li> 1841 <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>, 1842 and <code>java.target</code> properties.</li> 1843 <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li> 1844 <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li> 1845 <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the 1846 <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li> 1847 <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can 1848enable snapshots for the system state. The emulator will then restore to the state when it last 1849closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active 1850development and might not always perform as expected.</li> 1851 <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li> 1852 <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support 1853 the new location of <code>adb</code>.</li> 1854 <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM 1855instruction set architecture on your computer, emulator performance is slow. We're working hard to 1856resolve the performance issues and it will improve in future releases.</li> 1857 </ul> 1858</dd> 1859</dl> 1860</div> 1861</div> 1862 1863<div class="toggle-content closed"> 1864 <p><a href="#" onclick="return toggleContent(this)"> 1865 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1866 alt=""/>SDK Tools, Revision 8</a> <em>(December 2010)</em> 1867 </p> 1868 1869 <div class="toggle-content-toggleme"> 1870<dl> 1871<dt>Dependencies:</dt> 1872<dd> 1873<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 1874designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we 1875highly recommend updating your ADT Plugin to 8.0.0.</p> 1876 1877<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache 1878Ant</a> 1.8 or later.</p> 1879 1880<p>Also note that SDK Tools r8 requires a new SDK component called 1881<em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms 1882(Android 2.1, Android 2.2, and so on) use the same (latest) version of build 1883tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and 1884<code>dx</code>. To download the Platform-tools component, use the Android SDK 1885Manager, as described in <a href="{@docRoot}sdk/exploring.html">Exploring the 1886SDK</a></p> 1887 1888<dt>Upgrading from SDK Tools r7:</dt> 1889<dd> 1890<p>If you are upgrading to SDK Tools r8 from an earlier version, note that the 1891the default installed location for the <code>adb</code> tool has changed from 1892<code><<em>SDK</em>>/tools/adb</code> to 1893<code><<em>SDK</em>>/platform-tools/adb</code>. This means that you should 1894add the new location to your PATH and modify any custom build scripts to 1895reference the new location. Copying the <code>adb</code> executable from the new 1896location to the old is not recommended, since subsequent updates to the SDK 1897Tools will delete the file.</p> 1898</dd> 1899 1900<dt>General notes:</dt> 1901<dd> 1902<ul> 1903<li>All SDK platforms now support Library Projects.</li> 1904<li>Support for a true debug build. Developers no longer need to add the 1905<code>android:debuggable</code> attribute to the 1906<code><application></code> tag in the manifest — the build tools add 1907the attribute automatically. In Eclipse/ADT, all incremental builds are assumed 1908to be debug builds, so the tools insert <code>android:debuggable="true"</code>. 1909When exporting a signed release build, the tools do not add the attribute. In 1910Ant, a <code>ant debug</code> command automatically inserts the 1911<code>android:debuggable="true"</code> attribute, while <code>ant release</code> 1912does not. If <code>android:debuggable="true"</code> is manually set, then 1913<code>ant release</code> will actually do a debug build, rather than a release 1914build.</li> 1915<li>Automatic ProGuard support in release builds. Developers generate a ProGuard 1916configuration file using the <code>android</code> tool — the build tools 1917then automatically run ProGuard against the project sources during the build. 1918For more information, see the <a 1919href="{@docRoot}tools/help/proguard.html">ProGuard</a> 1920documentation. </li> 1921<li>New overridable Ant javac properties: <code>java.encoding</code>, 1922<code>java.source</code>, and <code>java.target</code> (default values are 1923"ascii", "1.5", and "1.5", respectively).</li> 1924<li>New UI for the HierarchyViewer tool.</li> 1925</ul> 1926</dd> 1927</dl> 1928</div> 1929</div> 1930 1931<div class="toggle-content closed"> 1932 <p><a href="#" onclick="return toggleContent(this)"> 1933 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1934 alt=""/>SDK Tools, Revision 7</a> <em>(September 2010)</em> 1935 </p> 1936 1937 <div class="toggle-content-toggleme"> 1938<dl> 1939<dt>Dependencies:</dt> 1940<dd> 1941<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 1942designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we 1943highly recommend updating your ADT Plugin to 0.9.8.</p> 1944</dd> 1945 1946<dt>General notes:</dt> 1947<dd> 1948<ul> 1949<li>Added support for library projects that depend on other library projects.</li> 1950<li>Adds support for aidl files in library projects.</li> 1951<li>Adds support for extension targets in Ant build to perform tasks between the 1952normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and 1953<code>-post-compile</code>.</li> 1954<li>Adds support for "headless" SDK update. See <code>android -h update sdk</code> 1955for more information.</li> 1956<li>Fixes location control in DDMS to work in any locale not using '.' as a 1957decimal point.</li> 1958</ul> 1959</ul> 1960</dd> 1961</dl> 1962</div> 1963</div> 1964 1965<div class="toggle-content closed"> 1966 <p><a href="#" onclick="return toggleContent(this)"> 1967 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1968 alt=""/>SDK Tools, Revision 6</a> <em>(May 2010)</em> 1969 </p> 1970 1971 <div class="toggle-content-toggleme"> 1972<dl> 1973<dt>Dependencies:</dt> 1974<dd> 1975<p>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 1976designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we 1977highly recommend updating your ADT Plugin to 0.9.7.</p> 1978</dd> 1979 1980<dt>Library projects:</dt> 1981<dd> 1982<p>The SDK Tools now support the use of <em>library projects</em> during 1983development, a capability that lets you store shared Android application 1984code and resources in a separate development project. You can then reference the 1985library project from other Android projects and, at build time, the tools 1986compile the shared code and resources as part of the dependent applications. 1987More information about this feature is available in the <a 1988href="{@docRoot}tools/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p> 1989<p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a> 1990provides the equivalent library project support.</p> 1991</dd> 1992</dl> 1993</div> 1994</div> 1995 1996<div class="toggle-content closed"> 1997 <p><a href="#" onclick="return toggleContent(this)"> 1998 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 1999 alt=""/>SDK Tools, Revision 5</a> <em>(March 2010)</em> 2000 </p> 2001 2002 <div class="toggle-content-toggleme"> 2003<dl> 2004<dt>Dependencies:</dt> 2005<dd><ul> 2006<li>If you are developing in Eclipse with ADT, note that this version of SDK Tools is 2007designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we 2008highly recommend updating your ADT Plugin to 0.9.6.</li> 2009<li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer 2010officially supported. </li> 2011</ul> 2012</dd> 2013 2014<dt>SDK and AVD Manager:</dt> 2015<dd> 2016<ul> 2017<li>Fixes SSL download for the standalone version of the SDK Updater.</li> 2018<li>Fixes issue with 64-bit JVM on Windows.</li> 2019<li>Adds support for platform samples components.</li> 2020<li>Improves support for dependency between components.</li> 2021<li>AVDs now sorted by API level.</li> 2022<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li> 2023<li>Prevents deletion of running AVDs.</li> 2024<li>Settings are now automatically saved, no need to click "Apply".</li> 2025</ul> 2026</dd> 2027 2028<dt>Emulator:</dt> 2029<dd> 2030<ul> 2031<li>Emulator now requires SD card to be 9MB or more.</li> 2032</ul> 2033</dd> 2034 2035<dt>Layoutopt:</dt> 2036<dd> 2037<ul> 2038<li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li> 2039</ul> 2040</dd> 2041</dl> 2042</div> 2043</div> 2044 2045<div class="toggle-content closed"> 2046 <p><a href="#" onclick="return toggleContent(this)"> 2047 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 2048 alt=""/>SDK Tools, Revision 4</a> <em>(December 2009)</em> 2049 </p> 2050 2051 <div class="toggle-content-toggleme"> 2052<dl> 2053<dt>Dependencies:</dt> 2054<dd><p>This version of SDK Tools is compatible with ADT 0.9.5 and later, but not 2055compatible with earlier versions. If you are developing in Eclipse with ADT, you 2056<strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you 2057install SDK Tools r4 in your SDK. </p></dd> 2058 2059<dt>General notes:</dt> 2060<dd> 2061<ul> 2062<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a 2063compatibility issue between GTK and SWT.</li> 2064</ul> 2065</dd> 2066 2067<dt>Android SDK and AVD Manager:</dt> 2068<dd> 2069<ul> 2070<li>AVD Launch dialog now shows scale value.</li> 2071<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no 2072skin name specified.</li> 2073<li>Fixes XML validation issue in on older Java versions.</li> 2074<li>No longer forces the use of Java 1.5 on Mac OS X.</li> 2075</ul> 2076</dd> 2077 2078<dt>Emulator:</dt> 2079<dd> 2080<ul> 2081<li>No longer limits the size of the system partition.</li> 2082</ul> 2083</dd> 2084 2085<dt>Ant build tools:</dt> 2086<dd> 2087<ul> 2088<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li> 2089</ul> 2090</dd> 2091</dl> 2092</div> 2093</div> 2094 2095<div class="toggle-content closed"> 2096 <p><a href="#" onclick="return toggleContent(this)"> 2097 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 2098 alt=""/>SDK Tools, Revision 3</a> <em>(October 2009)</em> 2099 </p> 2100 2101 <div class="toggle-content-toggleme"> 2102<dl> 2103<dt>Dependencies:</dt> 2104<dd><p>This version of SDK Tools is compatible with ADT 0.9.4 and later, but not 2105compatible with earlier versions. If you are developing in Eclipse with ADT, you 2106<strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you 2107install SDK Tools r3 in your SDK.</p> 2108</dd> 2109 2110<dt>Android tool:</dt> 2111<dd> 2112<ul> 2113<li>Adds new <code>android create test-project</code> and <code>android update 2114test-project</code> commands to allow for greater flexibility in the location of the 2115main and test projects.</li> 2116</ul> 2117</dd> 2118 2119<dt>DDMS:</dt> 2120<dd> 2121<ul> 2122<li>Adds a button to dump HPROF file for running applications (app must be able 2123to write to the sdcard).</li> 2124<li>Button to start/stop profiling of a running application (app must be able to 2125write to the sdcard). Upon stop, Traceview will automatically be launched to 2126display the trace.</li> 2127<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X 212810.6.</li> 2129<li>Fixed screenshot support for devices running 32-bit framebuffer.</li> 2130</ul> 2131</dd> 2132 2133<dt>Android SDK and AVD Manager:</dt> 2134<dd> 2135<ul> 2136<li>Provides a new UI that lets you set options for controlling 2137the emulator skin, screen size/density, and scale factor used when launching 2138an AVD.</li> 2139<li>Provides improved AVD creation UI, which lets you customize the hardware 2140properties of your AVDs.</li> 2141<li>Now enforces dependencies between platforms and tools components, and 2142between SDK add-ons and platforms.</li> 2143</ul> 2144</dd> 2145 2146<dt>Layoutopt, a new tool for optimizing layouts:</dt> 2147 2148<dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line 2149tool that helps you optimize your layout hierarchies. When run against your 2150layout files, the tool analyzes their hierarchies and notifies you of 2151inefficiencies and other potential issues. The tool also provides simple 2152solutions for the issues it finds. For usage, see <a 2153href="/tools/help/layoutopt.html">layoutopt</a>.</p> 2154</dd> 2155</dl> 2156</div> 2157</div> 2158