1 page.title=Android Studio 2 page.tags="studio" 3 page.image=images/resource-card-android-studio.png 4 page.metaDescription=Learn about the new features in the beta release of our new IDE. 5 @jd:body 6 7 8 9 10 <div style="position:relative;min-height:660px;"> 11 12 <h3 style="color:#FF4444;margin:-30px 0 20px">BETA</h3> 13 14 <div id="tos" style="position:absolute;display:none;width:inherit;"> 15 <div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> 16 17 18 <p class="sdk-terms-intro">Before installing the Android SDK, you must agree to the following terms and conditions.</p> 19 20 <div class="sdk-terms" onfocus="this.blur()"> 21 <h2 class="norule">Terms and Conditions</h2> 22 This is the Android Software Development Kit License Agreement 23 24 <h3>1. Introduction</h3> 25 1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 26 27 1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. 28 29 1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. 30 31 32 <h3>2. Accepting this License Agreement</h3> 33 2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement. 34 35 2.2 By clicking to accept, you hereby agree to the terms of this License Agreement. 36 37 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK. 38 39 2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. 40 41 42 <h3>3. SDK License from Google</h3> 43 3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform. 44 45 3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. 46 47 3.3 You may not use the SDK for any purpose not expressly permitted by this License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. 48 49 3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the SDK. 50 51 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement. 52 53 3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. 54 55 3.7 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. 56 57 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. 58 59 60 <h3>4. Use of the SDK by You</h3> 61 4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. 62 63 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). 64 65 4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. 66 67 4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. 68 69 4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. 70 71 4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. 72 73 74 <h3>5. Your Developer Credentials</h3> 75 5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. 76 77 78 <h3>6. Privacy and Information</h3> 79 6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. 80 81 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. 82 83 84 <h3>7. Third Party Applications</h3> 85 7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. 86 87 7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. 88 89 7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties. 90 91 92 <h3>8. Using Android APIs</h3> 93 8.1 Google Data APIs 94 95 8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. 96 97 8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. 98 99 100 <h3>9. Terminating this License Agreement</h3> 101 9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below. 102 103 9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. 104 105 9.3 Google may at any time, terminate this License Agreement with you if: 106 (A) you have breached any provision of this License Agreement; or 107 (B) Google is required to do so by law; or 108 (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or 109 (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. 110 111 9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. 112 113 114 <h3>10. DISCLAIMER OF WARRANTIES</h3> 115 10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. 116 117 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. 118 119 10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 120 121 122 <h3>11. LIMITATION OF LIABILITY</h3> 123 11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. 124 125 126 <h3>12. Indemnification</h3> 127 12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement. 128 129 130 <h3>13. Changes to the License Agreement</h3> 131 13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. 132 133 134 <h3>14. General Legal Terms</h3> 135 14.1 This License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. 136 137 14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. 138 139 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License Agreement is invalid, then that provision will be removed from this License Agreement without affecting the rest of this License Agreement. The remaining provisions of this License Agreement will continue to be valid and enforceable. 140 141 14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to this License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to this License Agreement. 142 143 14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. 144 145 14.6 The rights granted in this License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under this License Agreement without the prior written approval of the other party. 146 147 14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. 148 149 150 <em>November 13, 2012</em> 151 </div> 152 153 154 155 <div id="sdk-terms-form"> 156 <p> 157 <input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> 158 <label id="agreeLabel" for="agree">I have read and agree with the above terms and conditions</label> 159 </p> 160 <p id="bitpicker" style="display:none"> 161 <input id="32" onclick="onAgreeChecked()" type="radio" name="bit" value="32"> 162 <label for="32">32-bit</label> 163 <input id="64" onclick="onAgreeChecked()" type="radio" name="bit" value="64"> 164 <label for="64">64-bit</label> 165 </p> 166 <p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> 167 </div> 168 169 170 171 </div><!-- end TOS --> 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 <div id="main"> 189 190 <div class="figure" style="width:400px;margin-top:-75px"> 191 <img src="{@docRoot}images/tools/laptop-studio.png" height="366" width="400" style="margin-bottom:20px" /> 192 193 <a class="big button subtitle" id="download-ide-button" 194 href="" style="display:none;width:368px;margin:0 auto;display:block;font-size:18px" ></a> 195 <div style="margin:20px 0 0 0"> 196 197 <p style="margin-bottom:8px">This download includes:</p> 198 <ul style="margin-bottom:20px"> 199 <li>Android Studio Beta</li> 200 <li>All the Android SDK Tools to design, test, and debug your app</li> 201 <li>A version of the Android platform to compile your app</li> 202 <li>A version of the Android system image to run your app in the emulator</li> 203 </ul> 204 205 </div> 206 </div> 207 208 209 210 <p>Android Studio is a new Android development environment based on IntelliJ 211 IDEA. It provides new features and improvements over Eclipse ADT 212 and will be the official Android IDE once it's ready. On top of the 213 capabilities you expect from IntelliJ, Android Studio offers:</p> 214 215 <ul> 216 <li>Flexible Gradle-based build system.</li> 217 <li>Build variants and multiple APK generation.</li> 218 <li>Expanded template support for Google Services and various device types.</li> 219 <li>Rich layout editor with support for theme editing.</li> 220 <li>Lint tools to catch performance, usability, version compatibility, and other problems.</li> 221 <li>ProGuard and app-signing capabilities.</li> 222 <li>Built-in support for <a 223 href="https://developers.google.com/cloud/mobile" 224 class="external-link">Google Cloud Platform</a>, making it easy to integrate Google Cloud 225 Messaging and App Engine. 226 </ul> 227 228 <p class="caution"><strong>Caution:</strong> Android Studio is currently in 229 <strong>beta</strong>. Some features 230 are not yet implemented and you may encounter bugs. If you are not 231 comfortable using an unfinished product, you may want to instead 232 download (or continue to use) 233 <a href="{@docRoot}sdk/index.html">Eclipse with ADT</a>.</p> 234 235 236 <h4 style="margin-top: 20px;"><a href='' class="expandable" 237 onclick="toggleExpandable(this,'.pax');hideExpandable('.reqs');return false;" 238 >VIEW ALL DOWNLOADS AND SIZES</a></h4> 239 240 <div class="pax col-13 online" style="display:none;margin:0;"> 241 242 <table class="download"> 243 <tr> 244 <th>Platform</th> 245 <th>Package</th> 246 <th>Size</th> 247 <th>MD5 Checksum</th> 248 </tr> 249 250 <tr> 251 <td>Windows</td> 252 <td> 253 <a onclick="return onDownload(this)" id="win-studio" 254 href="https://dl.google.com/android/studio/install/0.8.6/android-studio-bundle-135.1339820-windows.exe"> 255 android-studio-bundle-135.1339820-windows.exe 256 </a> 257 </td> 258 <td>379497130 bytes</td> 259 <td>024e002b8c8fa7dcd2ff69fd69e06e56</td> 260 </tr> 261 262 <tr> 263 <td><nobr>Mac OS X</nobr></td> 264 <td> 265 <a onclick="return onDownload(this)" id="mac-studio" 266 href="https://dl.google.com/android/studio/install/0.8.6/android-studio-bundle-135.1339820-mac.dmg"> 267 android-studio-bundle-135.1339820-mac.dmg 268 </a> 269 </td> 270 <td>368507143 bytes</td> 271 <td>4143f2aa556634eae91701965d88899b</td> 272 </tr> 273 274 <tr> 275 <td>Linux</td> 276 <td> 277 <a onclick="return onDownload(this)" id="linux-studio" 278 href="https://dl.google.com/android/studio/install/0.8.6/android-studio-bundle-135.1339820-linux.tgz"> 279 android-studio-bundle-135.1339820-linux.tgz 280 </a> 281 </td> 282 <td>417631443 bytes</td> 283 <td>fa403762ecd0a5da87acbeff485f81cc</td> 284 </tr> 285 </table> 286 287 </div><!-- end pax --> 288 289 290 <h4 style="margin-top: 20px;"><a href='' class="expandable" 291 onclick="toggleExpandable(this,'.reqs');hideExpandable('.pax');return false;" 292 >SYSTEM REQUIREMENTS</a></h4> 293 294 <div class="reqs col-13 online" style="display:none;margin:0;"> 295 <table> 296 <tr> 297 <th>Windows</th> 298 <th style="width:40%">Mac OS</th> 299 <th>Linux</th> 300 </tr> 301 <tr> 302 <td> 303 <ul> 304 <li>Microsoft Windows 8, 7, Vista, 2003, or XP (32 or 64 bit)</li> 305 <li>1 GB of RAM minimum, 2 GB recommended</li> 306 <li>400 MB of disk space</li> 307 <li>At least 1 GB of additional disk space for the Android SDK, emulator system images, and caches</li> 308 <li>1280x800 minimum screen resolution</li> 309 <li>Java Development Kit (JDK) 6 or higher</li> 310 </ul> 311 </td> 312 <td> 313 <ul> 314 <li>Mac OS X 10.8.5 or higher, up to 10.9 (Mavericks)</li> 315 <li>1 GB of RAM minimum, 2 GB recommended</li> 316 <li>400 MB of disk space</li> 317 <li>At least 1 GB of additional disk space for the Android SDK, emulator system images, and caches</li> 318 <li>1280x800 minimum screen resolution</li> 319 <li>Java Runtime Environment (JRE) 6 *</li> 320 <li>Java Development Kit (JDK) 6 or JDK 7</li> 321 </ul> 322 <p>* On Mac OS, run Android Studio with Java Runtime Environment (JRE) 6 for optimized font 323 rendering. You can then configure your project to use Java Development Kit (JDK) 6 or JDK 7.</p> 324 </td> 325 <td> 326 <ul> 327 <li>64-bit distribution capable of running 32-bit applications</li> 328 <li>GNU C Library (glibc) 2.11 or later is required.</li> 329 <li>Tested on Ubuntu 12.04, Precise Pangolin</li> 330 <li>GNOME or KDE desktop</li> 331 <li>1 GB of RAM minimum, 2 GB recommended</li> 332 <li>400 MB of disk space</li> 333 <li>At least 1 GB of additional disk space for the Android SDK, emulator system images, and caches</li> 334 <li>1280x800 minimum screen resolution</li> 335 <li>Oracle Java Development Kit (JDK) 6 or JDK 7</li> 336 </ul> 337 </td> 338 </tr> 339 </table> 340 <p class="note"><strong>Note:</strong> Java Development Kit (JDK) 7 is required if you're targeting 341 the Android L Developer Preview.</p> 342 </div><!-- end pax --> 343 344 345 346 <h2 style="margin-bottom: 0px;">Android Studio vs. Eclipse ADT Comparison</h2> 347 348 <p> 349 The following table lists some key differences between Android Studio Beta and 350 <a href="{@docRoot}sdk/index.html">Eclipse with ADT</a>. 351 </p> 352 353 <style> 354 td.yes { 355 color: #669900; 356 } 357 td.no { 358 color: #CC0000; 359 } 360 </style> 361 362 <table> 363 <tbody><tr> 364 <th>Feature</th> 365 <th>Android Studio</th> 366 <th>ADT</th> 367 </tr> 368 <tr> 369 <td>Build system</td> 370 <td><a href="http://www.gradle.org/" class="external-link">Gradle</a></td> 371 <td><a href="http://ant.apache.org/" class="external-link">Ant</a></td> 372 </tr> 373 <tr> 374 375 <td>Maven-based build dependencies</td> 376 <td class="yes">Yes</td> 377 <td class="no">No</td> 378 </tr> 379 380 <td>Build variants and multiple-APK generation (great for Android Wear)</td> 381 <td class="yes">Yes</td> 382 <td class="no">No</td> 383 </tr> 384 385 <tr> 386 <td>Advanced Android code completion and refactoring</td> 387 <td class="yes">Yes</td> 388 <td class="no">No</td> 389 </tr> 390 <tr> 391 <td>Graphical layout editor</td> 392 <td class="yes">Yes</td> 393 <td class="yes">Yes</td> 394 </tr> 395 <tr> 396 </tr> 397 398 <tr> 399 <td>APK signing and keystore management</td> 400 <td class="yes">Yes</td> 401 <td class="yes">Yes</td> 402 </tr> 403 404 <tr> 405 <td>NDK support</td> 406 <td class="no">Coming soon</td> 407 <td class="yes">Yes</td> 408 </tr> 409 </tbody></table> 410 411 412 413 <h2 id="Updating">Updating from older versions</h2> 414 415 <p>If you already have Android Studio installed, in most cases, you can upgrade to the latest 416 version by installing a patch. From within Android Studio, select 417 <strong>Help > Check for updates</strong> (on Mac, <strong>Android Studio > 418 Check for updates</strong>) to see whether an update is available.</p> 419 420 <p>If an update is not available, 421 click the button above to download and replace your existing 422 installation.</p> 423 424 <div class="caution"> 425 <p><strong>Caution:</strong> Replacing your existing installation of 426 Android Studio will remove any additional SDK packages you've installed, such as target 427 platforms, system images, and sample apps. To preserve these, copy them from your current 428 SDK directory under Android Studio to a temporary location 429 before installing the update. Then move them back once the update is complete. 430 If you fail to copy these packages, then you can instead download them again through 431 the Android SDK Manager.</p> 432 </div> 433 434 <p>As you continue developing apps, you may need to install additional versions 435 of Android for the emulator and other packages such as the <a 436 href="{@docRoot}tools/support-library/index.html">Android Support Library</a>. 437 To install more packages, use 438 the <a href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a>, which you can 439 open from Android Studio by clicking <strong>SDK Manager</strong> 440 <img src="{@docRoot}images/tools/sdk-manager-studio.png" 441 style="vertical-align:bottom;margin:0;height:19px" /> in the toolbar.</p> 442 443 444 445 446 447 448 449 450 451 <h2 id="Revisions">Revisions</h2> 452 453 <div class="toggle-content opened"> 454 <p><a href="#" onclick="return toggleContent(this)"> 455 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img" 456 alt=""/>Android Studio v0.8.6</a> <em>(August 2014)</em> 457 </p> 458 459 <div class="toggle-content-toggleme"> 460 <p>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</p> 461 </div> 462 </div> 463 464 <div class="toggle-content closed"> 465 <p><a href="#" onclick="return toggleContent(this)"> 466 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 467 alt=""/>Android Studio v0.8.0</a> <em>(June 2014)</em> 468 </p> 469 470 <div class="toggle-content-toggleme"> 471 <p>Added support for Android Wear projects.</p> 472 <p>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</p> 473 </div> 474 </div> 475 476 <div class="toggle-content closed"> 477 <p><a href="#" onclick="return toggleContent(this)"> 478 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 479 alt=""/>Android Studio v0.5.2</a> <em>(May 2014)</em> 480 </p> 481 482 <div class="toggle-content-toggleme"> 483 <ul> 484 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li> 485 </ul> 486 </div> 487 </div> 488 489 <div class="toggle-content closed"> 490 <p><a href="#" onclick="return toggleContent(this)"> 491 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 492 alt=""/>Android Studio v0.4.6</a> <em>(March 2014)</em> 493 </p> 494 495 <div class="toggle-content-toggleme"> 496 <ul> 497 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li> 498 </ul> 499 </div> 500 </div> 501 502 <div class="toggle-content closed"> 503 <p><a href="#" onclick="return toggleContent(this)"> 504 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 505 alt=""/>Android Studio v0.4.2</a> <em>(Jan 2014)</em> 506 </p> 507 508 <div class="toggle-content-toggleme"> 509 <ul> 510 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li> 511 </ul> 512 </div> 513 </div> 514 515 <div class="toggle-content closed"> 516 <p><a href="#" onclick="return toggleContent(this)"> 517 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 518 alt=""/>Android Studio v0.3.2</a> <em>(Oct 2013)</em> 519 </p> 520 521 <div class="toggle-content-toggleme"> 522 <ul> 523 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li> 524 </ul> 525 </div> 526 </div> 527 528 <div class="toggle-content closed"> 529 <p><a href="#" onclick="return toggleContent(this)"> 530 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 531 alt=""/>Android Studio v0.2.x</a> <em>(July 2013)</em> 532 </p> 533 534 <div class="toggle-content-toggleme"> 535 <ul> 536 <li>Merged in the latest IntelliJ codebase changes. Includes fixes for issues reported by Studio users such as tweaks to Linux font sizes and font rendering.</li> 537 <li>Android Gradle plug-in updated to 0.5.0. 538 <p class="caution"><strong>Caution:</strong> This new version is not backwards compatible. 539 When opening a project that uses an older version of the plug-in, Studio will show an error 540 stating <strong>Gradle <project_name> project refresh failed.</strong></p> 541 <p>The updated Gradle plug-in includes the following changes:</p> 542 <ul> 543 <li>Fixed IDE model to contain the output file even if it's customized through the DSL. Also 544 fixed the DSL to get/set the output file on the variant object so that it's not necessary to 545 use <code>variant.packageApplication or variant.zipAlign</code></li> 546 <li>Fixed dependency resolution so that we resolved the combination of (default config, 547 build types, flavor(s)) together instead of separately.</li> 548 <li>Fixed dependency for tests of library project to properly include all the dependencies 549 of the library itself.</li> 550 <li>Fixed case where two dependencies have the same leaf name.</li> 551 <li>Fixed issue where Proguard rules file cannot be applied on flavors.</li> 552 </ul> 553 <p>All Gradle plugin release notes are available are here: <a href= 554 "http://tools.android.com/tech-docs/new-build-system" 555 >http://tools.android.com/tech-docs/new-build-system</a>.</p> 556 </li> 557 <li>Gradle errors from aapt no longer point to merged output files in the build/ folder, they 558 point back to the real source locations.</li> 559 <li>Parallel Builds. It's now possible to use Gradle's parallel builds. Please be aware that 560 parallel builds are in "incubation" (see <a 561 href="http://www.gradle.org/docs/current/userguide/gradle_command_line.html">Gradle's 562 documentation</a>.) This feature is off by default. To enable it, go to 563 <strong>Preferences</strong> > <strong>Compiler</strong> and check the box <em>Compile 564 independent modules in parallel</em>.</li> 565 <li>Further work on the new resource repository used for layout rendering, resource 566 folding in the editor, and more: 567 <ul> 568 <li>Basic support for .aar library dependencies (e.g. using a library without a local copy of 569 the sources). Still not working for resource XML validation and navigation in source editors. 570 </li> 571 <li>Cycle detection in resource references.</li> 572 <li>Quick Documentation (F1), which can show all translations of the string under the caret, 573 will now also show all resource overlays from the various Gradle flavors and build types, as 574 well as libraries. They are listed in reverse resource overlay order, with strikethrough on 575 the versions of the string that are masked.</li> 576 <li>Fixes to handle updating the merged resources when the set of module dependencies 577 change.</li> 578 <li>XML rendering fixes to properly handle character entity declarations and XML and unicode 579 escapes.</li> 580 </ul> 581 <li>Save screenshot support for the layout preview and layout editor windows.</li> 582 <li>Template bug fixes.</li> 583 <li>Lint bug fixes.</li> 584 <li>Various fixes for crash reports. Thank you, and keep filing crash reports!</li> 585 </ul> 586 </div> 587 </div> 588 589 <div class="toggle-content closed"> 590 <p><a href="#" onclick="return toggleContent(this)"> 591 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" 592 alt=""/>Android Studio v0.1.x</a> <em>(May 2013)</em> 593 </p> 594 595 <div class="toggle-content-toggleme"> 596 <ul> 597 <li>Various bug fixes, including a fix for a common Windows installation issue. 598 </ul> 599 </div> 600 </div> 601 602 <p> </p> 603 604 <p class="note"><strong>Note:</strong> Periodic updates are pushed to Android Studio 605 without requiring you to update from here. To manually check for updates, select 606 <strong>Help > Check for updates</strong> (on Mac, select <strong>Android Studio > 607 Check for updates</strong>).</p> 608 609 610 611 612 <h2 id="Troubleshooting">Troubleshooting</h2> 613 614 <p>If you encounter problems in Android Studio, look at the following page 615 for possible resolutions to known issues: <a href="http://tools.android.com/knownissues" 616 >http://tools.android.com/knownissues</a>.</p> 617 618 619 620 </div><!-- end main content --> 621 622 623 624 625 </div><!-- end relative position wrapper --> 626 627 628 629 630 631 632 633 634 <script> 635 var os; 636 var bundlename; 637 var $toolslink; 638 639 if (navigator.appVersion.indexOf("Win")!=-1) { 640 os = "Windows"; 641 bundlename = 'win-studio'; 642 } else if (navigator.appVersion.indexOf("Mac")!=-1) { 643 os = "Mac"; 644 bundlename = 'mac-studio'; 645 } else if (navigator.appVersion.indexOf("Linux")!=-1) { 646 os = "Linux"; 647 bundlename = 'linux-studio'; 648 } 649 650 if (os) { 651 /* set up primary ACE download button */ 652 $('#download-ide-button').show(); 653 $('#download-ide-button').append("Download Android Studio Beta <span class='small'>v0.8.6</span>" 654 + "<br/> <span class='small'>with the Android SDK for " + os + "</span>"); 655 $('#download-ide-button').click(function() {return onDownload(this,true);}).attr('href', bundlename); 656 657 } else { 658 $('.pax').show(); 659 } 660 661 662 function onDownload(link, button) { 663 var $studioLink; 664 665 /* set text for download button */ 666 if (button) { 667 $studioLink = $("a#"+$(link).attr('href')); 668 $("#downloadForRealz").html($(link).text()); 669 } else { 670 $studioLink = $(link); 671 $("#downloadForRealz").html("Download " + $(link).text()); 672 } 673 674 $("#downloadForRealz").attr('href', $studioLink.attr('href')); 675 676 $("#tos").fadeIn('fast'); 677 $("#main").fadeOut('fast'); 678 679 location.hash = "download"; 680 return false; 681 } 682 683 684 function onAgreeChecked() { 685 /* verify that the TOS is agreed */ 686 if ($("input#agree").is(":checked")) { 687 /* reveal the download button */ 688 $("a#downloadForRealz").removeClass('disabled'); 689 } else { 690 $("a#downloadForRealz").addClass('disabled'); 691 } 692 } 693 694 function onDownloadForRealz(link) { 695 if ($("input#agree").is(':checked')) { 696 $("h1").text('Now redirecting to the install instructions...'); 697 $("#tos").slideUp(); 698 $("#jd-content .jd-descr").fadeOut('slow', function() { 699 setTimeout(function() { 700 window.location = "/sdk/installing/index.html?pkg=studio"; 701 }, 1000); 702 }); 703 ga('send', 'event', 'SDK', 'Android Studio', $("#downloadForRealz").html()); 704 return true; 705 } else { 706 $("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#258AAF"}, 200, 707 function() {$("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#222"}, 200)} 708 ); 709 return false; 710 } 711 } 712 713 $(window).hashchange( function(){ 714 if (location.hash == "") { 715 location.reload(); 716 } 717 }); 718 719 </script> 720