Home | History | Annotate | Download | only in revisions
      1 page.title=SDK Build Tools Release Notes
      2 
      3 @jd:body
      4 
      5 <div id="qv-wrapper">
      6 <div id="qv">
      7 
      8   <h2>See Also</h2>
      9   <ol>
     10     <li><a href="{@docRoot}tools/building/index.html">Building and Running</a></li>
     11   </ol>
     12 
     13 </div>
     14 </div>
     15 
     16 <p>Build Tools is a component of the Android SDK required for building Android
     17   application code. The latest version of these tools is included in the
     18   <a href="{@docRoot}sdk/index.html">SDK starter package</a> and installed in the
     19   <code>&lt;sdk&gt;/build-tools/</code> directory.</p>
     20 
     21 <p>You should always keep your Build Tools component updated by downloading the latest version
     22   using the <a href="{@docRoot}tools/help/sdk-manager.html">Android SDK Manager</a>. By default,
     23   the Android SDK uses the most recent downloaded version of the Build Tools. If your projects
     24   depend on older versions of the Build Tools, the SDK Manager allows you to download and maintain
     25   separate versions of the tools for use with those projects.</p>
     26 
     27 <p>To use a specific version of the Build Tools in your application project:</p>
     28 
     29 <div class="toggle-content closed">
     30 <p style="margin-top:5px"><a href="#" onclick="return toggleContent(this)">
     31   <img src="/assets/images/triangle-closed.png" class="toggle-content-img" alt=""
     32   />Using Eclipse</a></p>
     33 
     34   <div class="toggle-content-toggleme">
     35   <ol>
     36     <li>In the root folder of your application project, find the {@code project.properties}
     37       file.</li>
     38     <li>Open the file and specify the Build Tools version by adding a {@code buildtools} property
     39       on a separate line:
     40 <pre>
     41 sdk.buildtools=17.0.0
     42 </pre>
     43     </li>
     44   </ol>
     45   </div>
     46 </div>
     47 
     48 <div class="toggle-content closed">
     49 <p style="margin-top:5px"><a href="#" onclick="return toggleContent(this)">
     50   <img src="/assets/images/triangle-closed.png" class="toggle-content-img" alt=""
     51   />Using Android Studio</a></p>
     52 
     53   <div class="toggle-content-toggleme">
     54   <ol>
     55     <li>In the root folder of your application project, find the {@code build.gradle}
     56       file.</li>
     57     <li>Open the file and specify the Build Tools version by adding a {@code buildToolsVersion}
     58       property to the {@code android} section:
     59 <pre>
     60 android {
     61     ...
     62     buildToolsVersion "17.0.0"
     63     ...
     64 }
     65 </pre>
     66     </li>
     67   </ol>
     68   </div>
     69 </div>
     70 
     71 
     72 <h2 id="notes">Revisions</h2>
     73 
     74 <p>The sections below provide notes about releases of the Build Tools. To determine which
     75 revisions of the Build Tools are available in your SDK, refer to the <em>Installed Packages</em>
     76 listing in the Android SDK Manager.</p>
     77 
     78 <div class="toggle-content opened">
     79   <p><a href="#" onclick="return toggleContent(this)">
     80     <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img"
     81       alt=""/>Build Tools, Revision 21.1.1</a> <em>(November 2014)</em>
     82   </p>
     83   <div class="toggle-content-toggleme">
     84     <p>Fixed multidex script issues.</p>
     85   </div>
     86 </div>
     87 
     88 
     89 <div class="toggle-content closed">
     90   <p><a href="#" onclick="return toggleContent(this)">
     91     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
     92       alt=""/>Build Tools, Revision 21.1</a> <em>(October 2014)</em>
     93   </p>
     94   <div class="toggle-content-toggleme">
     95     <p>Added multidex file support for APKs and Jack suppport to address the 64K method reference
     96     limit.</p>
     97   </div>
     98 </div>
     99 
    100 
    101 <div class="toggle-content closed">
    102   <p><a href="#" onclick="return toggleContent(this)">
    103     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    104       alt=""/>Build Tools, Revision 21.0.2</a> <em>(October 2014)</em>
    105   </p>
    106   <div class="toggle-content-toggleme">
    107     <p>Complete updates for Eclipse ADT to solve instability issues on Windows platforms.</p>
    108   </div>
    109 </div>
    110 
    111 
    112 <div class="toggle-content closed">
    113   <p><a href="#" onclick="return toggleContent(this)">
    114     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    115       alt=""/>Build Tools, Revision 21.0.1</a> <em>(October 2014)</em>
    116   </p>
    117   <div class="toggle-content-toggleme">
    118     <p>Initial updates for Eclipse ADT on Windows. Please use Revision 21.0.2.</p>
    119   </div>
    120 </div>
    121 
    122 
    123 <div class="toggle-content closed">
    124   <p><a href="#" onclick="return toggleContent(this)">
    125     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    126       alt=""/>Build Tools, Revision 21.0.0</a> <em>(October 2014)</em>
    127   </p>
    128   <div class="toggle-content-toggleme">
    129 
    130     <dl>
    131       <dt>General Notes:</dt>
    132       <dd>
    133         <ul>
    134           <li>Added support for Android 5.0 (API level 21).</li>
    135           <li>RenderScript now supports seamless 32/64-bit operation for API level 21 and higher.</li>
    136           <li>Fixed issue with the Gradle build system when using the JaCoCo plugin.
    137           (<a href="http://b.android.com/69174">Issue 69174</a>)</li>
    138           <li>Added an <em>input-list</em> option for use with long command lines on Windows.</li>
    139         </ul>
    140       </dd>
    141     </dl>
    142   </div>
    143 </div>
    144 
    145 
    146 <div class="toggle-content closed">
    147   <p><a href="#" onclick="return toggleContent(this)">
    148     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    149       alt=""/>Build Tools, Revision 20.0.0</a> <em>(June 2014)</em>
    150   </p>
    151   <div class="toggle-content-toggleme">
    152 
    153     <dl>
    154       <dt>General Notes:</dt>
    155       <dd>
    156         <ul>
    157           <li>Added support for Android Wear.</li>
    158         </ul>
    159       </dd>
    160     </dl>
    161 
    162   </div>
    163 </div>
    164 
    165 <div class="toggle-content closed">
    166   <p><a href="#" onclick="return toggleContent(this)">
    167     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    168       alt=""/>Build Tools, Revision 19.1.0</a> <em>(May 2014)</em>
    169   </p>
    170   <div class="toggle-content-toggleme">
    171 
    172     <dl>
    173       <dt>General Notes:</dt>
    174       <dd>
    175         <ul>
    176           <li>Added <code>zipalign</code> to the Build Tools.</li>
    177           <li>Modified <code>aapt</code> to ignore XML files that fail to compile.</li>
    178         </ul>
    179       </dd>
    180     </dl>
    181 
    182   </div>
    183 </div>
    184 
    185 <div class="toggle-content closed">
    186   <p><a href="#" onclick="return toggleContent(this)">
    187     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    188       alt=""/>Build Tools, Revision 19.0.3</a> <em>(March 2014)</em>
    189   </p>
    190   <div class="toggle-content-toggleme">
    191 
    192     <p>Fixed an issue with RenderScript support.</p>
    193 
    194   </div>
    195 </div>
    196 
    197 <div class="toggle-content closed">
    198   <p><a href="#" onclick="return toggleContent(this)">
    199     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    200       alt=""/>Build Tools, Revision 19.0.2</a> <em>(February 2014)</em>
    201   </p>
    202   <div class="toggle-content-toggleme">
    203 
    204     <dl>
    205       <dt>Fixed RenderScript build issues:</dt>
    206       <dd>
    207         <ul>
    208           <li>Fixed a problem with RenderScript bitcode encoding.
    209             (<a href="http://b.android.com/64775">Issue 64775</a>)
    210           </li>
    211           <li>Fixed a problem with RenderScript missing math symbols
    212             (<a href="http://b.android.com/64110">Issue 64110</a>)
    213           </li>
    214         </ul>
    215       </dd>
    216     </dl>
    217     <p></p>
    218 
    219   </div>
    220 </div>
    221 
    222 
    223 
    224 <div class="toggle-content closed">
    225   <p><a href="#" onclick="return toggleContent(this)">
    226     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    227       alt=""/>Build Tools, Revision 19.0.1</a> <em>(December 2013)</em>
    228   </p>
    229   <div class="toggle-content-toggleme">
    230 
    231     <dl>
    232       <dt>Fixed miscellaneous build issues:</dt>
    233       <dd>
    234         <ul>
    235           <li>Fixed support for compiling RenderScript in NDK mode with Gradle.</li>
    236           <li>Fixed {@code BufferOverflowException} problem in the dx build.
    237             (<a href="http://b.android.com/61710">Issue 61710</a>)
    238           </li>
    239         </ul>
    240       </dd>
    241     </dl>
    242     <p></p>
    243 
    244   </div>
    245 </div>
    246 
    247 <div class="toggle-content closed">
    248   <p><a href="#" onclick="return toggleContent(this)">
    249     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    250       alt=""/>Build Tools, Revision 19</a> <em>(October 2013)</em>
    251   </p>
    252   <div class="toggle-content-toggleme">
    253 
    254     <p>Added support for Android 4.4 (API level 19) build targets.</p>
    255 
    256   </div>
    257 </div>
    258 
    259 <div class="toggle-content closed">
    260   <p><a href="#" onclick="return toggleContent(this)">
    261     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    262       alt=""/>Build Tools, Revision 18.1.1</a> <em>(September 2013)</em>
    263   </p>
    264   <div class="toggle-content-toggleme">
    265 
    266     <p>Fixed several minor build issues.</p>
    267 
    268   </div>
    269 </div>
    270 
    271 <div class="toggle-content closed">
    272   <p><a href="#" onclick="return toggleContent(this)">
    273     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    274       alt=""/>Build Tools, Revision 18.1.0</a> <em>(September 2013)</em>
    275   </p>
    276   <div class="toggle-content-toggleme">
    277 
    278     <p>Fixed issue with RenderScript support mode.</p>
    279 
    280   </div>
    281 </div>
    282 
    283 <div class="toggle-content closed">
    284   <p><a href="#" onclick="return toggleContent(this)">
    285     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    286       alt=""/>Build Tools, Revision 18.0.1</a> <em>(July 2013)</em>
    287   </p>
    288   <div class="toggle-content-toggleme">
    289 
    290     <p>Added support for Android 4.3 (API level 18) build targets.</p>
    291 
    292   </div>
    293 </div>
    294 
    295 <div class="toggle-content closed">
    296   <p><a href="#" onclick="return toggleContent(this)">
    297     <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
    298       alt=""/>Build Tools, Revision 17</a> <em>(May 2013)</em>
    299   </p>
    300   <div class="toggle-content-toggleme">
    301 
    302     <p>Initial release.</p>
    303 
    304     <dl>
    305       <dt>General Notes:</dt>
    306       <dd>
    307         <ul>
    308           <li>Included support for Android 4.2 (API level 17) build targets.</li>
    309           <li>Decoupled the build-specific components of the Android SDK from the platform-tools
    310           component, so that the build tools can be updated independently of the integrated
    311           development environment (IDE) components.</li>
    312         </ul>
    313       </dd>
    314     </dl>
    315 
    316   </div>
    317 </div>
    318