Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 1 | page.title=SDK Tools |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 2 | @jd:body |
| 3 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 4 | <p>SDK Tools is a downloadable component for the Android SDK. It includes the |
Robert Ly | 6c81c30 | 2011-10-05 12:59:29 -0700 | [diff] [blame] | 5 | complete set of development and debugging tools for the Android SDK.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 6 | |
Robert Ly | dec9736 | 2011-09-22 10:33:28 -0700 | [diff] [blame] | 7 | <p>If you are new to the Android SDK, the <a |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 8 | href="{@docRoot}sdk/index.html">SDK starter package</a> installs the |
| 9 | latest revision of the SDK Tools in the <code><sdk>/tools</code> directory.</p> |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 10 | |
Dirk Dougherty | 5c2a502 | 2009-12-17 16:59:46 -0800 | [diff] [blame] | 11 | <p>If you are already using the SDK and you want to update to the latest version |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 12 | of the SDK Tools, use the <em>Android SDK Manager</em> to get the |
Dirk Dougherty | 5c2a502 | 2009-12-17 16:59:46 -0800 | [diff] [blame] | 13 | update, rather than downloading a new SDK starter package. For more information |
| 14 | about how to update, see <a |
| 15 | href="{@docRoot}sdk/adding-components.html#UpdatingComponents">Updating SDK |
Robert Ly | 6c81c30 | 2011-10-05 12:59:29 -0700 | [diff] [blame] | 16 | Components</a>.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 17 | |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 18 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 19 | <h2 id="notes">Revisions</h2> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 20 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 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 |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 23 | Tools you are using, refer to the "Installed Packages" listing in the Android SDK Manager. </p> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 24 | |
Scott Main | e0974327 | 2011-10-14 11:25:46 -0700 | [diff] [blame] | 25 | <p>For a summary of all known issues in SDK Tools, see <a |
Scott Main | b321cd9 | 2011-10-20 12:57:43 -0700 | [diff] [blame] | 26 | href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p> |
Scott Main | e0974327 | 2011-10-14 11:25:46 -0700 | [diff] [blame] | 27 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 28 | <script type="text/javascript"> |
| 29 | function toggleDiv(link) { |
| 30 | var toggleable = $(link).parent(); |
| 31 | if (toggleable.hasClass("closed")) { |
| 32 | //$(".toggleme", toggleable).slideDown("fast"); |
| 33 | toggleable.removeClass("closed"); |
| 34 | toggleable.addClass("open"); |
| 35 | $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png")); |
| 36 | } else { |
| 37 | //$(".toggleme", toggleable).slideUp("fast"); |
| 38 | toggleable.removeClass("open"); |
| 39 | toggleable.addClass("closed"); |
| 40 | $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png")); |
| 41 | } |
| 42 | return false; |
| 43 | } |
| 44 | </script> |
| 45 | <style> |
| 46 | .toggleable { |
| 47 | padding: .25em 1em; |
| 48 | } |
| 49 | .toggleme { |
| 50 | padding: 1em 1em 0 2em; |
| 51 | line-height:1em; |
| 52 | } |
| 53 | .toggleable a { |
| 54 | text-decoration:none; |
| 55 | } |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 56 | .toggleme a { |
| 57 | text-decoration:underline; |
| 58 | } |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 59 | .toggleable.closed .toggleme { |
| 60 | display:none; |
| 61 | } |
| 62 | #jd-content .toggle-img { |
| 63 | margin:0; |
| 64 | } |
| 65 | </style> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 66 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 67 | <div class="toggleable opened"> |
| 68 | <a href="#" onclick="return toggleDiv(this)"> |
Robert Ly | 6c81c30 | 2011-10-05 12:59:29 -0700 | [diff] [blame] | 69 | <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 70 | width="9px" /> |
Joe Fernandez | 6882223 | 2012-04-17 14:48:03 -0700 | [diff] [blame] | 71 | SDK Tools, Revision 19</a> <em>(April 2012)</em> |
| 72 | |
| 73 | <div class="toggleme"> |
| 74 | <p class="note"><strong>Note:</strong> This update of SDK Tools is only available through |
| 75 | the <a href="{@docRoot}sdk/adding-components.html">Android SDK Manager</a>. Use this tool to |
| 76 | download and install this update.</p> |
| 77 | |
| 78 | <dl> |
| 79 | <dt>Dependencies:</dt> |
| 80 | <dd> |
| 81 | <ul> |
| 82 | <li>Android SDK Platform-tools revision 9 or later.</li> |
| 83 | <li>If you are developing in Eclipse with ADT, note that the SDK Tools r19 is designed for |
| 84 | use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your |
| 85 | <a href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li> |
| 86 | <li>If you are developing outside Eclipse, you must have |
| 87 | <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> |
| 88 | </ul> |
| 89 | </dd> |
| 90 | <dt>Bug fixes:</dt> |
| 91 | <dd> |
| 92 | <ul> |
| 93 | <li>Fixed an issue that prevented some developers from running the emulator with GPU |
| 94 | acceleration.</li> |
| 95 | </ul> |
| 96 | </dd> |
| 97 | </dl> |
| 98 | </div> |
| 99 | </div> |
| 100 | |
| 101 | <div class="toggleable closed"> |
| 102 | <a href="#" onclick="return toggleDiv(this)"> |
| 103 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
| 104 | width="9px" /> |
Joe Fernandez | eae02e6 | 2012-03-26 11:50:13 -0700 | [diff] [blame] | 105 | SDK Tools, Revision 18</a> <em>(April 2012)</em> |
| 106 | |
| 107 | <div class="toggleme"> |
| 108 | <p class="caution"><strong>Important:</strong> To download the new Android |
| 109 | 4.0 system components from the Android SDK Manager, you must first update the |
| 110 | SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, |
| 111 | the Android 4.0 system components will not be available for download.</p> |
| 112 | |
| 113 | <dl> |
| 114 | <dt>Dependencies:</dt> |
| 115 | <dd> |
| 116 | <ul> |
| 117 | <li>Android SDK Platform-tools revision 9 or later.</li> |
| 118 | <li>If you are developing in Eclipse with ADT, note that the SDK Tools r18 is designed for |
| 119 | use with ADT 18.0.0 and later. If you haven't already, we highly recommend updating your |
| 120 | <a href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 18.0.0.</li> |
| 121 | <li>If you are developing outside Eclipse, you must have |
| 122 | <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> |
| 123 | </ul> |
| 124 | </dd> |
| 125 | <dt>General notes:</dt> |
| 126 | <dd> |
| 127 | <ul> |
| 128 | <li>Updated the SdkController app to encapsulate both sensor and multitouch emulation |
| 129 | functionality.</li> |
| 130 | </ul> |
| 131 | </dd> |
| 132 | <dt>Bug fixes:</dt> |
| 133 | <dd> |
| 134 | <ul> |
| 135 | <li>Fixed Ant issues where some jar libraries in the {@code libs/} folder are not picked up |
| 136 | in some cases.</li> |
| 137 | </ul> |
| 138 | </dd> |
| 139 | </dl> |
| 140 | </div> |
| 141 | </div> |
| 142 | |
| 143 | <div class="toggleable closed"> |
| 144 | <a href="#" onclick="return toggleDiv(this)"> |
| 145 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
| 146 | width="9px" /> |
Joe Fernandez | dad557e | 2012-03-16 01:17:58 -0700 | [diff] [blame] | 147 | SDK Tools, Revision 17</a> <em>(March 2012)</em> |
| 148 | |
| 149 | <div class="toggleme"> |
| 150 | <p class="caution"><strong>Important:</strong> To download the new Android |
| 151 | 4.0 system components from the Android SDK Manager, you must first update the |
| 152 | SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, |
| 153 | the Android 4.0 system components will not be available for download.</p> |
| 154 | |
| 155 | <dl> |
| 156 | <dt>Dependencies:</dt> |
| 157 | <dd> |
| 158 | <ul> |
| 159 | <li>Android SDK Platform-tools revision 9 or later.</li> |
| 160 | <li>If you are developing in Eclipse with ADT, note that the SDK Tools r17 is designed for |
| 161 | use with ADT 17.0.0 and later. If you haven't already, we highly recommend updating your |
| 162 | <a href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 17.0.0.</li> |
| 163 | <li>If you are developing outside Eclipse, you must have |
| 164 | <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li> |
| 165 | </ul> |
| 166 | </dd> |
| 167 | <dt>General notes:</dt> |
| 168 | <dd> |
| 169 | <ul> |
| 170 | <li>Emulator |
| 171 | <ul> |
| 172 | <li>Added support for hardware accelerated graphics rendering. This feature requires an |
| 173 | API Level 15, Revision 3 or later system image. |
| 174 | (<a href="{@docRoot}guide/developing/devices/emulator.html#accel-graphics">more info</a>) |
Joe Fernandez | dad557e | 2012-03-16 01:17:58 -0700 | [diff] [blame] | 175 | </li> |
| 176 | <li>Added support for running Android x86 system images in virtualization mode on |
| 177 | Windows and Mac OS X. |
Joe Fernandez | eae02e6 | 2012-03-26 11:50:13 -0700 | [diff] [blame] | 178 | (<a href="{@docRoot}guide/developing/devices/emulator.html#accel-vm">more info</a>) |
| 179 | <p class="note"><strong>Note:</strong> Use the Android SDK Manager to download and |
| 180 | install x86 system images. Android x86 system images are not available for all API levels.</p> |
| 181 | </li> |
Joe Fernandez | dad557e | 2012-03-16 01:17:58 -0700 | [diff] [blame] | 182 | <li>Added experimental support for multi-touch input by enabing the emulator to receive |
| 183 | touch input from a USB-tethered physical Android device. |
| 184 | (<a href="http://tools.android.com/tips/hardware-emulation">more info</a>)</li> |
| 185 | </ul> |
| 186 | </li> |
| 187 | <li>Added viewing of live detailed network usage of an app in DDMS. (<a |
| 188 | href="http://tools.android.com/recent/detailednetworkusageinddms">more info</a>)</li> |
| 189 | <li>ProGuard |
| 190 | <ul> |
| 191 | <li>Updated the bundled ProGuard tool to version 4.7. In addition to many new features, |
| 192 | this update fixes the {@code Conversion to Dalvik format failed with error 1} error some users have |
| 193 | experienced.</li> |
| 194 | <li>Updated the default {@code proguard.cfg} file with better default flags for |
| 195 | Android.</li> |
| 196 | <li>Split the ProGuard configuration file has been in half, with project specific flags |
| 197 | kept in project and the generic Android flags distributed (and updated) with the tools |
| 198 | themselves.</li> |
| 199 | </ul> |
| 200 | </li> |
| 201 | <li>Build |
| 202 | <ul> |
| 203 | <li>Added a feature that allows you to run some code only in debug mode. Builds now |
| 204 | generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is |
| 205 | automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG}) |
| 206 | constant in your code to run debug-only functions.</li> |
| 207 | <li>Fixed issue when a project and its libraries include the same jar file in their libs |
Joe Fernandez | 1e72b34 | 2012-03-21 16:25:21 -0700 | [diff] [blame] | 208 | folder. (<a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">more |
| 209 | info</a>)</li> |
Joe Fernandez | dad557e | 2012-03-16 01:17:58 -0700 | [diff] [blame] | 210 | <li>Added support for custom views with custom attributes in libraries. Layouts using |
| 211 | custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead |
| 212 | of the URI that includes the app package name. This URI is replaced with the app specific one at |
| 213 | build time.</li> |
| 214 | </ul> |
| 215 | </li> |
| 216 | <li>Lint |
| 217 | <ul> |
| 218 | <li>Updated Lint to check Android application code. Lint rules which previously |
| 219 | performed pattern based searches in the application code (such as the unused resource check) have |
| 220 | been rewritten to use the more accurate Java-style parse trees.</li> |
| 221 | <li>Added support for checking library projects. This change means that rules such as |
| 222 | the unused resource check properly handle resources declared in a library project and referenced in |
| 223 | a downstream project.</li> |
| 224 | <li>Added ability to suppress Lint warnings in Java code with the new |
| 225 | {@code @SuppressLint} annotation, and in XML files with the new tools: namespace and |
| 226 | ignore attribute. (<a |
| 227 | href="http://tools.android.com/recent/ignoringlintwarnings">more info</a>)</li> |
| 228 | <li>New Lint checks: |
| 229 | <ul> |
| 230 | <li>Added check for Android API calls that require a version of Android higher than |
| 231 | the minimum supported version. You can use the new {@code @TargetApi} annotation |
| 232 | to suppress warnings when the code is wrapped in a system version condition. |
| 233 | (<a href="http://tools.android.com/recent/lintapicheck">more info</a>)</li> |
| 234 | <li>Added over 20 new Lint rules, including checks for |
| 235 | <a href="http://tools.android.com/recent/lintperformancechecks">performance</a>, |
| 236 | XML layouts, manifest and file handling.</li> |
| 237 | </ul> |
| 238 | </li> |
| 239 | </ul> |
| 240 | </li> |
| 241 | </ul> |
| 242 | </dd> |
| 243 | </dl> |
| 244 | </div> |
| 245 | </div> |
| 246 | |
| 247 | <div class="toggleable closed"> |
| 248 | <a href="#" onclick="return toggleDiv(this)"> |
| 249 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
| 250 | width="9px" /> |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 251 | SDK Tools, Revision 16</a> <em>(December 2011)</em> |
| 252 | |
| 253 | <div class="toggleme"> |
| 254 | <p class="caution"><strong>Important:</strong> To download the new Android |
| 255 | 4.0 system components from the Android SDK Manager, you must first update the |
| 256 | SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, |
| 257 | the Android 4.0 system components will not be available for download.</p> |
| 258 | |
| 259 | <dl> |
| 260 | <dt>Dependencies:</dt> |
| 261 | <dd> |
| 262 | <ul> |
| 263 | <li>Android SDK Platform-tools revision 9 or later.</li> |
| 264 | <li>If you are developing in Eclipse with ADT, note that the SDK Tools r16 is designed for use |
| 265 | with ADT 16.0.0 and later. If you haven't already, we highly recommend updating your |
| 266 | <a href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 16.0.0.</li> |
| 267 | <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 268 | Ant</a> 1.8 or later.</li> |
| 269 | </ul> |
| 270 | </dd> |
| 271 | <dt>General notes:</dt> |
| 272 | <dd> |
| 273 | <ul> |
Joe Fernandez | dad557e | 2012-03-16 01:17:58 -0700 | [diff] [blame] | 274 | <li>Added Lint tools to detect common errors in Android projects. |
Joe Fernandez | e4f2031 | 2011-12-15 13:23:53 -0800 | [diff] [blame] | 275 | (<a href="http://tools.android.com/recent/lint">more info</a>)</li> |
Joe Fernandez | 71d5c1d | 2011-12-15 22:33:41 -0800 | [diff] [blame] | 276 | <li>Added sensor emulation support, which allows the emulator to read sensor data from a |
Joe Fernandez | dad557e | 2012-03-16 01:17:58 -0700 | [diff] [blame] | 277 | physical Android device. |
Joe Fernandez | e4f2031 | 2011-12-15 13:23:53 -0800 | [diff] [blame] | 278 | (<a href="http://tools.android.com/recent/sensoremulation">more info</a>)</li> |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 279 | <li>Added support for using a webcam to emulate a camera on Mac OS X.</li> |
| 280 | </ul> |
| 281 | </dd> |
| 282 | <dt>Bug fixes:</dt> |
| 283 | <dd> |
| 284 | <ul> |
| 285 | <li>Snapshots now work for Android 4.0 system images.</li> |
| 286 | <li>Fixed several small issues for the build file. |
| 287 | (<a href="http://code.google.com/p/android/issues/detail?id=21023">Issue 21023</a>, |
| 288 | <a href="http://code.google.com/p/android/issues/detail?id=21267">Issue 21267</a>, |
| 289 | <a href="http://code.google.com/p/android/issues/detail?id=21465">Issue 21465</a>, |
| 290 | <a href="http://code.google.com/p/android/issues/detail?id=21525">Issue 21525</a>).</li> |
| 291 | </ul> |
| 292 | </dd> |
| 293 | </dl> |
| 294 | </div> |
| 295 | </div> |
| 296 | |
| 297 | <div class="toggleable closed"> |
| 298 | <a href="#" onclick="return toggleDiv(this)"> |
| 299 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
| 300 | width="9px" /> |
| 301 | SDK Tools, Revision 15</a> <em>(October 2011)</em> |
Robert Ly | 490463f | 2011-10-24 11:06:36 -0700 | [diff] [blame] | 302 | |
| 303 | <div class="toggleme"> |
| 304 | <p class="caution"><strong>Important:</strong> To download the new Android |
| 305 | 4.0 system components from the Android SDK Manager, you must first update the |
| 306 | SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, |
| 307 | the Android 4.0 system components will not be available for download.</p> |
| 308 | <dl> |
| 309 | <dt>Dependencies:</dt> |
| 310 | <dd> |
| 311 | <ul><li>Android SDK Platform-tools revision 9 or later.</li> |
| 312 | <li>If you are developing in Eclipse with ADT, note that the SDK Tools r15 is designed for use |
| 313 | with ADT 15.0.0 and later. If you haven't already, we highly recommend updating your <a |
| 314 | href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 15.0.0.</li> |
| 315 | <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 316 | Ant</a> 1.8 or later.</li> |
| 317 | </ul> |
| 318 | |
| 319 | <dt>Bug fixes:</dt> |
| 320 | <dd> |
| 321 | <ul> |
| 322 | <li>Fixed emulator crash on Linux due to improper webcam detection |
| 323 | (<a href="http://code.google.com/p/android/issues/detail?id=20952">Issue 20952</a>).</li> |
| 324 | <li>Fixed emulator issue when using the <code>-wipe-data</code> argument.</li> |
| 325 | <li>Fixed build issue when using Renderscript in projects that target API levels 11-13 |
| 326 | (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li> |
| 327 | <li>Fixed issue when creating an AVD using the GoogleTV addon |
| 328 | (<a href="http://code.google.com/p/android/issues/detail?id=20963">Issue 20963</a>).</li> |
| 329 | <li>Fixed <code>ant test</code> |
| 330 | (<a href="http://code.google.com/p/android/issues/detail?id=20979">Issue 20979</a>).</li> |
| 331 | <li>Fixed <code>android update project</code> |
| 332 | (<a href="http://code.google.com/p/android/issues/detail?id=20535">Issue 20535</a>).</li> |
| 333 | <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li> |
| 334 | <li>Fixed issue with MonkeyRunner |
| 335 | (<a href="http://code.google.com/p/android/issues/detail?id=20964">Issue 20964</a>).</li> |
| 336 | <li>Fixed issues in the SDK Manager |
| 337 | (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>, |
| 338 | <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li> |
| 339 | </ul> |
| 340 | </dd> |
| 341 | </dl> |
| 342 | </div> |
| 343 | </div> |
| 344 | |
| 345 | <div class="toggleable closed"> |
| 346 | <a href="#" onclick="return toggleDiv(this)"> |
| 347 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 348 | width="9px" /> |
| 349 | SDK Tools, Revision 14</a> <em>(October 2011)</em> |
Robert Ly | 6cf7d9a | 2011-10-12 15:30:35 -0700 | [diff] [blame] | 350 | |
Robert Ly | 6c81c30 | 2011-10-05 12:59:29 -0700 | [diff] [blame] | 351 | <div class="toggleme"> |
Robert Ly | 6cf7d9a | 2011-10-12 15:30:35 -0700 | [diff] [blame] | 352 | <p class="note"><strong>Important:</strong> To download the new Android |
| 353 | 4.0 system components from the Android SDK Manager, you must first update the |
| 354 | SDK tools to revision 14 and restart the Android SDK Manager. If you do not, |
| 355 | the Android 4.0 system components will not be available for download.</p> |
Robert Ly | 6c81c30 | 2011-10-05 12:59:29 -0700 | [diff] [blame] | 356 | <dl> |
| 357 | <dt>Dependencies:</dt> |
| 358 | <dd> |
| 359 | <ul><li>Android SDK Platform-tools revision 8 or later.</li> |
| 360 | <li>If you are developing in Eclipse with ADT, note that the SDK Tools r14 is designed for use |
| 361 | with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a |
| 362 | href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li> |
| 363 | <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 364 | Ant</a> 1.8 or later.</li> |
| 365 | </ul> |
| 366 | |
| 367 | <dt>General notes:</dt> |
| 368 | <dd> |
| 369 | <ul> |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 370 | <li>Added webcam support to Android 4.0 or later platforms to emulate rear-facing cameras when |
| 371 | one webcam is present, and to emulate both rear-facing and front-facing cameras when two |
| 372 | webcams are present. Webcam support is for Windows and Linux only. |
Robert Ly | 6cf7d9a | 2011-10-12 15:30:35 -0700 | [diff] [blame] | 373 | Mac support will come in a later release.</li> |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 374 | <li>Changed <code>default.properties</code> to <code>project.properties</code> and |
Robert Ly | 6c81c30 | 2011-10-05 12:59:29 -0700 | [diff] [blame] | 375 | <code>build.properties</code> to <code>ant.properties</code>. Any existing |
| 376 | projects that you build with Ant must be updated with the <code>android update project</code> |
| 377 | command.</li> |
| 378 | <li>Changed Ant <code>build.xml</code> file to support improvements to the |
| 379 | build system and added and modified Ant commands to support these changes. For a list of Ant |
| 380 | commands, see the |
| 381 | <a href="{@docRoot}guide/developing/building/building-cmdline.html#AntReference">Ant Command |
| 382 | Reference</a>.</li> |
Joe Fernandez | 71d5c1d | 2011-12-15 22:33:41 -0800 | [diff] [blame] | 383 | <li>Changed how library projects are built.</li> |
Robert Ly | 6c81c30 | 2011-10-05 12:59:29 -0700 | [diff] [blame] | 384 | <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no |
| 385 | longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer |
| 386 | run once for each library project.</li> |
| 387 | <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of |
| 388 | crunching all existing PNG files, all the time.</li> |
| 389 | <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more |
| 390 | info</a>).</li> |
| 391 | </ul> |
| 392 | <p>For a complete overview of the build system changes and what you need to do to support them, |
| 393 | see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project |
| 394 | site</a>.</p> |
| 395 | </dd> |
| 396 | </dl> |
| 397 | </div> |
| 398 | </div> |
| 399 | |
| 400 | <div class="toggleable closed"> |
| 401 | <a href="#" onclick="return toggleDiv(this)"> |
| 402 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
| 403 | width="9px" /> |
Robert Ly | dec9736 | 2011-09-22 10:33:28 -0700 | [diff] [blame] | 404 | SDK Tools, Revision 13</a> <em>(September 2011)</em> |
| 405 | <div class="toggleme"> |
| 406 | <dl> |
| 407 | <dt>Dependencies:</dt> |
| 408 | <dd> |
| 409 | <p>If you are developing in Eclipse with ADT, note that the SDK Tools r13 is designed for use with |
| 410 | ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a |
| 411 | href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p> |
| 412 | |
| 413 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 414 | Ant</a> 1.8 or later.</p> |
| 415 | |
| 416 | <dt>General notes:</dt> |
| 417 | <dd> |
| 418 | <ul> |
| 419 | <li>Fix compilation issue in Ant (<code>dex</code> step) when paths have spaces.</li> |
| 420 | <li>Fix issue in emulator installation when paths have spaces.</li> |
| 421 | <li>Fix issue when AVD paths have spaces.</li> |
| 422 | <li>Fix rendering issue when using emulator scaling (<a href="http://code.google.com/p/android/issues/detail?id=18299">see more</a>).</li> |
| 423 | </ul> |
| 424 | </dd> |
| 425 | </dl> |
| 426 | </div> |
| 427 | </div> |
| 428 | |
| 429 | |
| 430 | <div class="toggleable closed"> |
| 431 | <a href="#" onclick="return toggleDiv(this)"> |
| 432 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Robert Ly | 31ee77e | 2011-07-06 11:16:19 -0700 | [diff] [blame] | 433 | SDK Tools, Revision 12</a> <em>(July 2011)</em> |
Robert Ly | 205d1c3 | 2011-06-28 13:13:14 -0700 | [diff] [blame] | 434 | <div class="toggleme"> |
| 435 | <dl> |
| 436 | <dt>Dependencies:</dt> |
| 437 | <dd> |
| 438 | <p>If you are developing in Eclipse with ADT, note that the SDK Tools r12 is designed for use with |
| 439 | ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a |
| 440 | href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p> |
| 441 | |
| 442 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 443 | Ant</a> 1.8 or later.</p> |
| 444 | |
| 445 | <dt>General notes:</dt> |
| 446 | <dd> |
| 447 | <ul> |
| 448 | <li>The AVD manager and emulator can now use system images |
| 449 | compiled for ARM v7 and x86 CPUs.</li> |
| 450 | </ul> |
| 451 | </dd> |
| 452 | </dl> |
| 453 | </div> |
| 454 | </div> |
| 455 | |
| 456 | <div class="toggleable closed"> |
| 457 | <a href="#" onclick="return toggleDiv(this)"> |
| 458 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | b7c7f15 | 2011-03-25 11:54:46 -0700 | [diff] [blame] | 459 | SDK Tools, Revision 11</a> <em>(May 2011)</em> |
Robert Ly | ccea5d2 | 2011-02-11 14:59:36 -0800 | [diff] [blame] | 460 | <div class="toggleme"> |
| 461 | <dl> |
| 462 | <dt>Dependencies:</dt> |
| 463 | <dd> |
Scott Main | 19f7201 | 2011-05-05 18:27:49 -0700 | [diff] [blame] | 464 | <p>If you are developing in Eclipse with ADT, note that the SDK Tools r11 is designed for use with |
| 465 | ADT 10.0.1 and later. If you haven't already, we highly recommend updating your <a |
| 466 | href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 10.0.1.</p> |
| 467 | |
| 468 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 469 | Ant</a> 1.8 or later.</p> |
| 470 | |
| 471 | <dt>General notes:</dt> |
| 472 | <dd> |
| 473 | <ul> |
| 474 | <li>Miscellaneous emulator changes to support Android 3.1.</li> |
| 475 | </ul> |
| 476 | </dd> |
| 477 | </dl> |
| 478 | </div> |
| 479 | </div> |
| 480 | |
| 481 | |
| 482 | <div class="toggleable closed"> |
| 483 | <a href="#" onclick="return toggleDiv(this)"> |
| 484 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
| 485 | width="9px" /> |
| 486 | SDK Tools, Revision 10</a> <em>(February 2011)</em> |
| 487 | <div class="toggleme"> |
| 488 | <dl> |
| 489 | <dt>Dependencies:</dt> |
| 490 | <dd> |
Robert Ly | ccea5d2 | 2011-02-11 14:59:36 -0800 | [diff] [blame] | 491 | <p>If you are developing in Eclipse with ADT, note that the SDK Tools r10 is |
| 492 | designed for use with ADT 10.0.0 and later. After installing SDK Tools r10, we |
| 493 | highly recommend updating your ADT Plugin to 10.0.0.</p> |
| 494 | |
| 495 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 496 | Ant</a> 1.8 or later.</p> |
| 497 | |
| 498 | <dt>General notes:</dt> |
| 499 | <dd> |
| 500 | <ul> |
Scott Main | 19f7201 | 2011-05-05 18:27:49 -0700 | [diff] [blame] | 501 | <li>The tools now automatically generate Java Programming Language source files (in the |
| 502 | <code>gen</code> directory) and |
Robert Ly | ccea5d2 | 2011-02-11 14:59:36 -0800 | [diff] [blame] | 503 | bytecode (in the <code>res/raw</code> directory) from your native <code>.rs</code> files</li> |
| 504 | </ul> |
| 505 | </dd> |
| 506 | </dl> |
| 507 | </div> |
| 508 | </div> |
| 509 | |
| 510 | |
| 511 | |
| 512 | <div class="toggleable closed"> |
| 513 | <a href="#" onclick="return toggleDiv(this)"> |
| 514 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 515 | SDK Tools, Revision 9</a> <em>(January 2011)</em> |
| 516 | <div class="toggleme"> |
| 517 | <dl> |
| 518 | <dt>Dependencies:</dt> |
| 519 | <dd> |
| 520 | <p>If you are developing in Eclipse with ADT, note that the SDK Tools r9 is |
| 521 | designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we |
| 522 | highly recommend updating your ADT Plugin to 9.0.0.</p> |
| 523 | |
| 524 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 525 | Ant</a> 1.8 or later.</p> |
| 526 | |
| 527 | <dt>Upgrading to SDK Tools r9:</dt> |
| 528 | <dd> |
| 529 | <p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location |
| 530 | for the <code>adb</code> tool has changed from <code><<em>SDK</em>>/tools/adb</code> to |
| 531 | <code><<em>SDK</em>>/platform-tools/adb</code>. This means that you should |
| 532 | add the new location to your PATH and modify any custom build scripts to |
| 533 | reference the new location. Copying the <code>adb</code> executable from the new |
| 534 | location to the old is not recommended, since subsequent updates to the SDK |
| 535 | Tools will delete the file.</p> |
| 536 | </dd> |
| 537 | |
| 538 | <dt>General notes:</dt> |
| 539 | <dd> |
| 540 | <ul> |
| 541 | <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes: |
| 542 | <ul> |
| 543 | <li>classes that extend {@link android.preference.Preference}</li> |
| 544 | <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li> |
| 545 | </ul> |
| 546 | </li> |
| 547 | <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>, |
| 548 | and <code>java.target</code> properties.</li> |
| 549 | <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li> |
| 550 | <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li> |
| 551 | <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the |
| 552 | <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li> |
Scott Main | f9af301 | 2011-01-27 11:26:29 -0800 | [diff] [blame] | 553 | <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can |
| 554 | enable snapshots for the system state. The emulator will then restore to the state when it last |
| 555 | closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active |
| 556 | development and might not always perform as expected.</li> |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 557 | <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li> |
| 558 | <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support |
| 559 | the new location of <code>adb</code>.</li> |
Scott Main | 04f04b2 | 2011-01-21 19:11:23 -0800 | [diff] [blame] | 560 | <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM |
| 561 | instruction set architecture on your computer, emulator performance is slow. We're working hard to |
| 562 | resolve the performance issues and it will improve in future releases.</li> |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 563 | </ul> |
| 564 | </dd> |
| 565 | </dl> |
| 566 | </div> |
| 567 | </div> |
| 568 | |
| 569 | <div class="toggleable closed"> |
| 570 | <a href="#" onclick="return toggleDiv(this)"> |
| 571 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 9f7580d | 2010-10-26 09:29:03 -0700 | [diff] [blame] | 572 | SDK Tools, Revision 8</a> <em>(December 2010)</em> |
| 573 | <div class="toggleme"> |
| 574 | |
| 575 | <dl> |
| 576 | <dt>Dependencies:</dt> |
| 577 | <dd> |
| 578 | <p>If you are developing in Eclipse with ADT, note that SDK Tools r8 is |
| 579 | designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we |
| 580 | highly recommend updating your ADT Plugin to 8.0.0.</p> |
| 581 | |
Scott Main | 92b0308 | 2010-12-14 17:55:27 -0800 | [diff] [blame] | 582 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 583 | Ant</a> 1.8 or later.</p> |
| 584 | |
Dirk Dougherty | 9f7580d | 2010-10-26 09:29:03 -0700 | [diff] [blame] | 585 | <p>Also note that SDK Tools r8 requires a new SDK component called |
| 586 | <em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms |
| 587 | (Android 2.1, Android 2.2, and so on) use the same (latest) version of build |
| 588 | tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and |
| 589 | <code>dx</code>. To download the Platform-tools component, use the Android SDK |
| 590 | Manager, as described in <a href="adding-components.html">Adding SDK |
| 591 | Components</a></p> |
| 592 | |
| 593 | <dt>Upgrading from SDK Tools r7:</dt> |
| 594 | <dd> |
| 595 | <p>If you are upgrading to SDK Tools r8 from an earlier version, note that the |
| 596 | the default installed location for the <code>adb</code> tool has changed from |
| 597 | <code><<em>SDK</em>>/tools/adb</code> to |
| 598 | <code><<em>SDK</em>>/platform-tools/adb</code>. This means that you should |
| 599 | add the new location to your PATH and modify any custom build scripts to |
| 600 | reference the new location. Copying the <code>adb</code> executable from the new |
| 601 | location to the old is not recommended, since subsequent updates to the SDK |
| 602 | Tools will delete the file.</p> |
| 603 | </dd> |
| 604 | |
| 605 | <dt>General notes:</dt> |
| 606 | <dd> |
| 607 | <ul> |
| 608 | <li>All SDK platforms now support Library Projects.</li> |
| 609 | <li>Support for a true debug build. Developers no longer need to add the |
| 610 | <code>android:debuggable</code> attribute to the |
| 611 | <code><application></code> tag in the manifest — the build tools add |
| 612 | the attribute automatically. In Eclipse/ADT, all incremental builds are assumed |
| 613 | to be debug builds, so the tools insert <code>android:debuggable="true"</code>. |
| 614 | When exporting a signed release build, the tools do not add the attribute. In |
| 615 | Ant, a <code>ant debug</code> command automatically inserts the |
| 616 | <code>android:debuggable="true"</code> attribute, while <code>ant release</code> |
| 617 | does not. If <code>android:debuggable="true"</code> is manually set, then |
| 618 | <code>ant release</code> will actually do a debug build, rather than a release |
| 619 | build.</li> |
| 620 | <li>Automatic ProGuard support in release builds. Developers generate a ProGuard |
| 621 | configuration file using the <code>android</code> tool — the build tools |
| 622 | then automatically run ProGuard against the project sources during the build. |
| 623 | For more information, see the <a |
| 624 | href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a> |
| 625 | documentation. </li> |
| 626 | <li>New overridable Ant javac properties: <code>java.encoding</code>, |
| 627 | <code>java.source</code>, and <code>java.target</code> (default values are |
| 628 | "ascii", "1.5", and "1.5", respectively).</li> |
| 629 | <li>New UI for the HierarchyViewer tool.</li> |
| 630 | </ul> |
| 631 | </dd> |
| 632 | </dl> |
| 633 | </div> |
| 634 | </div> |
| 635 | |
| 636 | <div class="toggleable closed"> |
| 637 | <a href="#" onclick="return toggleDiv(this)"> |
| 638 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 639 | SDK Tools, Revision 7</a> <em>(September 2010)</em> |
| 640 | <div class="toggleme"> |
| 641 | |
| 642 | <dl> |
| 643 | <dt>Dependencies:</dt> |
| 644 | <dd> |
| 645 | <p>If you are developing in Eclipse with ADT, note that SDK Tools r7 is |
| 646 | designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we |
| 647 | highly recommend updating your ADT Plugin to 0.9.8.</p> |
| 648 | </dd> |
| 649 | |
| 650 | <dt>General notes:</dt> |
| 651 | <dd> |
| 652 | <ul> |
| 653 | <li>Added support for library projects that depend on other library projects.</li> |
| 654 | <li>Adds support for aidl files in library projects.</li> |
| 655 | <li>Adds support for extension targets in Ant build to perform tasks between the |
| 656 | normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and |
| 657 | <code>-post-compile</code>.</li> |
| 658 | <li>Adds support for "headless" SDK update. See <code>android -h update sdk</code> |
| 659 | for more information.</li> |
| 660 | <li>Fixes location control in DDMS to work in any locale not using '.' as a |
| 661 | decimal point.</li> |
Joe Fernandez | 890f7ea | 2011-11-28 17:00:27 -0800 | [diff] [blame] | 662 | </ul> |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 663 | </ul> |
| 664 | </dd> |
| 665 | </dl> |
| 666 | </div> |
| 667 | </div> |
| 668 | |
| 669 | <div class="toggleable closed"> |
| 670 | <a href="#" onclick="return toggleDiv(this)"> |
| 671 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 672 | SDK Tools, Revision 6</a> <em>(May 2010)</em> |
| 673 | <div class="toggleme"> |
| 674 | |
| 675 | <dl> |
| 676 | <dt>Dependencies:</dt> |
| 677 | <dd> |
| 678 | <p>If you are developing in Eclipse with ADT, note that SDK Tools r6 is |
| 679 | designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we |
| 680 | highly recommend updating your ADT Plugin to 0.9.7.</p> |
| 681 | </dd> |
| 682 | |
| 683 | <dt>Library projects:</dt> |
| 684 | <dd> |
| 685 | <p>The SDK Tools now support the use of <em>library projects</em> during |
| 686 | development, a capability that lets you store shared Android application |
| 687 | code and resources in a separate development project. You can then reference the |
| 688 | library project from other Android projects and, at build time, the tools |
| 689 | compile the shared code and resources as part of the dependent applications. |
| 690 | More information about this feature is available in the <a |
Robert Ly | c74a69a8 | 2011-01-04 22:48:02 -0800 | [diff] [blame] | 691 | href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p> |
| 692 | <p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 693 | provides the equivalent library project support.</p> |
| 694 | </dd> |
| 695 | </dl> |
| 696 | </div> |
| 697 | </div> |
| 698 | |
| 699 | <div class="toggleable closed"> |
| 700 | <a href="#" onclick="return toggleDiv(this)"> |
Dirk Dougherty | 74a74d3 | 2010-09-09 18:40:13 -0700 | [diff] [blame] | 701 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 702 | SDK Tools, Revision 5</a> <em>(March 2010)</em> |
| 703 | <div class="toggleme"> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 704 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 705 | <dl> |
| 706 | <dt>Dependencies:</dt> |
| 707 | <dd><ul> |
| 708 | <li>If you are developing in Eclipse with ADT, note that SDK Tools r5 is |
| 709 | designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we |
| 710 | highly recommend updating your ADT Plugin to 0.9.6.</li> |
| 711 | <li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer |
| 712 | officially supported. </li> |
| 713 | </ul> |
| 714 | </dd> |
| 715 | |
| 716 | <dt>SDK and AVD Manager:</dt> |
| 717 | <dd> |
| 718 | <ul> |
| 719 | <li>Fixes SSL download for the standalone version of the SDK Updater.</li> |
| 720 | <li>Fixes issue with 64-bit JVM on Windows.</li> |
| 721 | <li>Adds support for platform samples components.</li> |
| 722 | <li>Improves support for dependency between components.</li> |
| 723 | <li>AVDs now sorted by API level.</li> |
| 724 | <li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li> |
| 725 | <li>Prevents deletion of running AVDs.</li> |
| 726 | <li>Settings are now automatically saved, no need to click "Apply".</li> |
| 727 | </ul> |
| 728 | </dd> |
| 729 | |
| 730 | <dt>Emulator:</dt> |
| 731 | <dd> |
| 732 | <ul> |
| 733 | <li>Emulator now requires SD card to be 9MB or more.</li> |
| 734 | </ul> |
| 735 | </dd> |
| 736 | |
| 737 | <dt>Layoutopt:</dt> |
| 738 | <dd> |
| 739 | <ul> |
| 740 | <li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li> |
| 741 | </ul> |
| 742 | </dd> |
| 743 | </dl> |
| 744 | </div> |
| 745 | </div> |
| 746 | |
| 747 | <div class="toggleable closed"> |
| 748 | <a href="#" onclick="return toggleDiv(this)"> |
| 749 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 750 | SDK Tools, Revision 4</a> <em>(December 2009)</em> |
| 751 | <div class="toggleme"> |
| 752 | |
| 753 | <dl> |
| 754 | <dt>Dependencies:</dt> |
| 755 | <dd><p>SDK Tools r4 is compatible with ADT 0.9.5 and later, but not |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 756 | compatible with earlier versions. If you are developing in Eclipse with ADT, you |
| 757 | <strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 758 | install SDK Tools r4 in your SDK. </p></dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 759 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 760 | <dt>General notes:</dt> |
| 761 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 762 | <ul> |
Robert Ly | dec9736 | 2011-09-22 10:33:28 -0700 | [diff] [blame] | 763 | <li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 764 | compatibility issue between GTK and SWT.</li> |
| 765 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 766 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 767 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 768 | <dt>Android SDK and AVD Manager:</dt> |
| 769 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 770 | <ul> |
| 771 | <li>AVD Launch dialog now shows scale value.</li> |
Robert Ly | dec9736 | 2011-09-22 10:33:28 -0700 | [diff] [blame] | 772 | <li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 773 | skin name specified.</li> |
| 774 | <li>Fixes XML validation issue in on older Java versions.</li> |
| 775 | <li>No longer forces the use of Java 1.5 on Mac OS X.</li> |
| 776 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 777 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 778 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 779 | <dt>Emulator:</dt> |
| 780 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 781 | <ul> |
| 782 | <li>No longer limits the size of the system partition.</li> |
| 783 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 784 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 785 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 786 | <dt>Ant build tools:</dt> |
| 787 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 788 | <ul> |
| 789 | <li>.apk packaging now properly ignores vi swap files as well as hidden files.</li> |
| 790 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 791 | </dd> |
| 792 | </dl> |
| 793 | </div> |
| 794 | </div> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 795 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 796 | <div class="toggleable closed"> |
| 797 | <a href="#" onclick="return toggleDiv(this)"> |
| 798 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 799 | SDK Tools, Revision 3</a> <em>(October 2009)</em> |
| 800 | <div class="toggleme"> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 801 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 802 | <dl> |
| 803 | <dt>Dependencies:</dt> |
| 804 | <dd><p>SDK Tools r3 is compatible with ADT 0.9.4 and later, but not |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 805 | compatible with earlier versions. If you are developing in Eclipse with ADT, you |
| 806 | <strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 807 | install SDK Tools r3 in your SDK.</p> |
| 808 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 809 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 810 | <dt>Android tool:</dt> |
| 811 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 812 | <ul> |
| 813 | <li>Adds new <code>android create test-project</code> and <code>android update |
| 814 | test-project</code> commands to allow for greater flexibility in the location of the |
| 815 | main and test projects.</li> |
| 816 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 817 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 818 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 819 | <dt>DDMS:</dt> |
| 820 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 821 | <ul> |
Scott Main | 19f7201 | 2011-05-05 18:27:49 -0700 | [diff] [blame] | 822 | <li>Adds a button to dump HPROF file for running applications (app must be able |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 823 | to write to the sdcard).</li> |
| 824 | <li>Button to start/stop profiling of a running application (app must be able to |
| 825 | write to the sdcard). Upon stop, Traceview will automatically be launched to |
| 826 | display the trace.</li> |
| 827 | <li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X |
| 828 | 10.6.</li> |
| 829 | <li>Fixed screenshot support for devices running 32-bit framebuffer.</li> |
| 830 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 831 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 832 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 833 | <dt>Android SDK and AVD Manager:</dt> |
| 834 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 835 | <ul> |
| 836 | <li>Provides a new UI that lets you set options for controlling |
Robert Ly | dec9736 | 2011-09-22 10:33:28 -0700 | [diff] [blame] | 837 | the emulator skin, screen size/density, and scale factor used when launching |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 838 | an AVD.</li> |
| 839 | <li>Provides improved AVD creation UI, which lets you customize the hardware |
| 840 | properties of your AVDs.</li> |
| 841 | <li>Now enforces dependencies between platforms and tools components, and |
| 842 | between SDK add-ons and platforms.</li> |
| 843 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 844 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 845 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 846 | <dt>Layoutopt, a new tool for optimizing layouts:</dt> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 847 | |
Robert Ly | dec9736 | 2011-09-22 10:33:28 -0700 | [diff] [blame] | 848 | <dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line |
| 849 | tool that helps you optimize your layout hierarchies. When run against your |
| 850 | layout files, the tool analyzes their hierarchies and notifies you of |
| 851 | inefficiencies and other potential issues. The tool also provides simple |
| 852 | solutions for the issues it finds. For usage, see <a |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 853 | href="/guide/developing/tools/layoutopt.html">layoutopt</a>.</p> |
| 854 | </dd> |
| 855 | </dl> |
| 856 | </div> |
| 857 | </div> |