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