1page.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><sdk>/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> 41sdk.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> 60android { 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 75revisions of the Build Tools are available in your SDK, refer to the <em>Installed Packages</em> 76listing 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 23.0.0</a> <em>(August 2015)</em> 82 </p> 83 <div class="toggle-content-toggleme"> 84 <p>Added support for the Android 6.0 (API level 23) release.</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 22.0.1</a> <em>(March 2015)</em> 93 </p> 94 <div class="toggle-content-toggleme"> 95 <p>Fixed compatibility issues with 96 <a href="{@docRoot}guide/topics/renderscript/compute.html">RenderScript</a> kernels on 97 Android 4.4 (API level 19) to Android 4.1 (API level 16) devices.</p> 98 </div> 99</div> 100 101 102<div class="toggle-content closed"> 103 <p><a href="#" onclick="return toggleContent(this)"> 104 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 105 alt=""/>Build Tools, Revision 22.0.0</a> <em>(March 2015)</em> 106 </p> 107 <div class="toggle-content-toggleme"> 108 <p>Added support for Android 5.1 (API level 22).</p> 109 </div> 110</div> 111 112 113<div class="toggle-content closed"> 114 <p><a href="#" onclick="return toggleContent(this)"> 115 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 116 alt=""/>Build Tools, Revision 21.1.2</a> <em>(February 2015)</em> 117 </p> 118 <div class="toggle-content-toggleme"> 119 <p>Fixed problem with building data layouts in 32-bit mode.</p> 120 </div> 121</div> 122 123 124<div class="toggle-content closed"> 125 <p><a href="#" onclick="return toggleContent(this)"> 126 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 127 alt=""/>Build Tools, Revision 21.1.1</a> <em>(November 2014)</em> 128 </p> 129 <div class="toggle-content-toggleme"> 130 <p>Fixed multidex script issues.</p> 131 </div> 132</div> 133 134 135<div class="toggle-content closed"> 136 <p><a href="#" onclick="return toggleContent(this)"> 137 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 138 alt=""/>Build Tools, Revision 21.1</a> <em>(October 2014)</em> 139 </p> 140 <div class="toggle-content-toggleme"> 141 <p>Added multidex file support for APKs and Jack support to address the 64K method reference 142 limit.</p> 143 </div> 144</div> 145 146 147<div class="toggle-content closed"> 148 <p><a href="#" onclick="return toggleContent(this)"> 149 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 150 alt=""/>Build Tools, Revision 21.0.2</a> <em>(October 2014)</em> 151 </p> 152 <div class="toggle-content-toggleme"> 153 <p>Complete updates for Eclipse ADT to solve instability issues on Windows platforms.</p> 154 </div> 155</div> 156 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=""/>Build Tools, Revision 21.0.1</a> <em>(October 2014)</em> 162 </p> 163 <div class="toggle-content-toggleme"> 164 <p>Initial updates for Eclipse ADT on Windows. Please use Revision 21.0.2.</p> 165 </div> 166</div> 167 168 169<div class="toggle-content closed"> 170 <p><a href="#" onclick="return toggleContent(this)"> 171 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 172 alt=""/>Build Tools, Revision 21.0.0</a> <em>(October 2014)</em> 173 </p> 174 <div class="toggle-content-toggleme"> 175 176 <dl> 177 <dt>General Notes:</dt> 178 <dd> 179 <ul> 180 <li>Added support for Android 5.0 (API level 21).</li> 181 <li>RenderScript now supports seamless 32/64-bit operation for API level 21 and higher.</li> 182 <li>Fixed issue with the Gradle build system when using the JaCoCo plugin. 183 (<a href="http://b.android.com/69174">Issue 69174</a>)</li> 184 <li>Added an <em>input-list</em> option for use with long command lines on Windows.</li> 185 </ul> 186 </dd> 187 </dl> 188 </div> 189</div> 190 191 192<div class="toggle-content closed"> 193 <p><a href="#" onclick="return toggleContent(this)"> 194 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 195 alt=""/>Build Tools, Revision 20.0.0</a> <em>(June 2014)</em> 196 </p> 197 <div class="toggle-content-toggleme"> 198 199 <dl> 200 <dt>General Notes:</dt> 201 <dd> 202 <ul> 203 <li>Added support for Android Wear.</li> 204 </ul> 205 </dd> 206 </dl> 207 208 </div> 209</div> 210 211<div class="toggle-content closed"> 212 <p><a href="#" onclick="return toggleContent(this)"> 213 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 214 alt=""/>Build Tools, Revision 19.1.0</a> <em>(May 2014)</em> 215 </p> 216 <div class="toggle-content-toggleme"> 217 218 <dl> 219 <dt>General Notes:</dt> 220 <dd> 221 <ul> 222 <li>Added <code>zipalign</code> to the Build Tools.</li> 223 <li>Modified <code>aapt</code> to ignore XML files that fail to compile.</li> 224 </ul> 225 </dd> 226 </dl> 227 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=""/>Build Tools, Revision 19.0.3</a> <em>(March 2014)</em> 235 </p> 236 <div class="toggle-content-toggleme"> 237 238 <p>Fixed an issue with RenderScript support.</p> 239 240 </div> 241</div> 242 243<div class="toggle-content closed"> 244 <p><a href="#" onclick="return toggleContent(this)"> 245 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 246 alt=""/>Build Tools, Revision 19.0.2</a> <em>(February 2014)</em> 247 </p> 248 <div class="toggle-content-toggleme"> 249 250 <dl> 251 <dt>Fixed RenderScript build issues:</dt> 252 <dd> 253 <ul> 254 <li>Fixed a problem with RenderScript bitcode encoding. 255 (<a href="http://b.android.com/64775">Issue 64775</a>) 256 </li> 257 <li>Fixed a problem with RenderScript missing math symbols 258 (<a href="http://b.android.com/64110">Issue 64110</a>) 259 </li> 260 </ul> 261 </dd> 262 </dl> 263 <p></p> 264 265 </div> 266</div> 267 268 269 270<div class="toggle-content closed"> 271 <p><a href="#" onclick="return toggleContent(this)"> 272 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 273 alt=""/>Build Tools, Revision 19.0.1</a> <em>(December 2013)</em> 274 </p> 275 <div class="toggle-content-toggleme"> 276 277 <dl> 278 <dt>Fixed miscellaneous build issues:</dt> 279 <dd> 280 <ul> 281 <li>Fixed support for compiling RenderScript in NDK mode with Gradle.</li> 282 <li>Fixed {@code BufferOverflowException} problem in the dx build. 283 (<a href="http://b.android.com/61710">Issue 61710</a>) 284 </li> 285 </ul> 286 </dd> 287 </dl> 288 <p></p> 289 290 </div> 291</div> 292 293<div class="toggle-content closed"> 294 <p><a href="#" onclick="return toggleContent(this)"> 295 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 296 alt=""/>Build Tools, Revision 19</a> <em>(October 2013)</em> 297 </p> 298 <div class="toggle-content-toggleme"> 299 300 <p>Added support for Android 4.4 (API level 19) build targets.</p> 301 302 </div> 303</div> 304 305<div class="toggle-content closed"> 306 <p><a href="#" onclick="return toggleContent(this)"> 307 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 308 alt=""/>Build Tools, Revision 18.1.1</a> <em>(September 2013)</em> 309 </p> 310 <div class="toggle-content-toggleme"> 311 312 <p>Fixed several minor build issues.</p> 313 314 </div> 315</div> 316 317<div class="toggle-content closed"> 318 <p><a href="#" onclick="return toggleContent(this)"> 319 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 320 alt=""/>Build Tools, Revision 18.1.0</a> <em>(September 2013)</em> 321 </p> 322 <div class="toggle-content-toggleme"> 323 324 <p>Fixed issue with RenderScript support mode.</p> 325 326 </div> 327</div> 328 329<div class="toggle-content closed"> 330 <p><a href="#" onclick="return toggleContent(this)"> 331 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 332 alt=""/>Build Tools, Revision 18.0.1</a> <em>(July 2013)</em> 333 </p> 334 <div class="toggle-content-toggleme"> 335 336 <p>Added support for Android 4.3 (API level 18) build targets.</p> 337 338 </div> 339</div> 340 341<div class="toggle-content closed"> 342 <p><a href="#" onclick="return toggleContent(this)"> 343 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 344 alt=""/>Build Tools, Revision 17</a> <em>(May 2013)</em> 345 </p> 346 <div class="toggle-content-toggleme"> 347 348 <p>Initial release.</p> 349 350 <dl> 351 <dt>General Notes:</dt> 352 <dd> 353 <ul> 354 <li>Included support for Android 4.2 (API level 17) build targets.</li> 355 <li>Decoupled the build-specific components of the Android SDK from the platform-tools 356 component, so that the build tools can be updated independently of the integrated 357 development environment (IDE) components.</li> 358 </ul> 359 </dd> 360 </dl> 361 362 </div> 363</div> 364