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