blob: b65531fd5207f98c2d05c93ca027f7ec3b5b515b [file] [log] [blame]
smain@google.com549726a2014-12-08 12:56:26 -08001page.title=Android Studio Release Notes
Rich Slogar153c8282014-11-04 17:23:23 -08002
3@jd:body
4
5
6<div id="qv-wrapper">
7<div id="qv">
8
9 <h2>See also</h2>
10 <ol>
11 <li><a href="{@docRoot}sdk/installing/index.html">Installing Android Studio</a></li>
12 </ol>
13
14</div>
15</div>
16
17
18<p>Android Studio is the official IDE for Android development, and with a single download includes
19everything you need to begin developing Android apps:</p>
20
21<ul>
Adarsh Fernando1bfa6a62016-03-22 09:23:15 -070022 <li>IntelliJ IDE + Android Studio plugin
23 </li>
24
25 <li>Android SDK Tools
26 </li>
27
28 <li>Android Platform-tools
29 </li>
30
31 <li>A version of the Android platform
32 </li>
33
34 <li>Android Emulator with an Android system image including Google Play
35 Services
36 </li>
Rich Slogar153c8282014-11-04 17:23:23 -080037</ul>
38
smain@google.com549726a2014-12-08 12:56:26 -080039<p>For an introduction to Android Studio, read the
Rich Slogar3c2508c2014-12-08 10:12:32 -080040<a href="{@docRoot}tools/studio/index.html">Android Studio</a> guide.</p>
Rich Slogar153c8282014-11-04 17:23:23 -080041
Rich Slogar6170c002015-03-18 17:33:23 -070042<p>Periodic updates are pushed to Android Studio without requiring you to update your Android
Rich Slogar0b1c5742015-07-14 10:39:54 -070043project. To manually check for updates, select <strong>Help > Check for update</strong> (on Mac,
Rich Slogar6170c002015-03-18 17:33:23 -070044select <strong>Android Studio > Check for updates</strong>).</p>
Rich Slogar153c8282014-11-04 17:23:23 -080045
46
47<h2 id="Revisions">Revisions</h2>
48
49<p>The sections below provide notes about successive releases of
50Android Studio, as denoted by revision number. </p>
51
Adarsh Fernando1bfa6a62016-03-22 09:23:15 -070052<div class="toggle-content open">
Rich Slogar153c8282014-11-04 17:23:23 -080053 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -070054 <img src="{@docRoot}assets/images/styles/disclosure_up.png" class="toggle-content-img"
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -070055 alt=""/>Android Studio v2.0.0</a> <em>(April 2016)</em>
Adarsh Fernando1bfa6a62016-03-22 09:23:15 -070056 </p>
57
58 <div class="toggle-content-toggleme">
59
60 <p class="note">
61 <strong>Note:</strong> If you are developing for the N Developer Preview, you
62 should use Android Studio 2.1 Preview. Android Studio 2.0 does not support
63 all the features required to target the N Preview. To learn more, read about
64 how to properly <a href="{@docRoot}preview/setup-sdk.html">set up your
65 developer environment</a> for the N Preview.
66 </p>
67
68 <p>
69 <strong>Instant Run</strong>:
70 </p>
71
72 <ul>
73 <li>Android Studio now deploys clean builds faster than ever before.
74 Additionally, pushing incremental code changes to the emulator or a physical
75 device is now almost instantaneous. Review your updates without redeploying a
76 new debug build or, in many cases, without restarting the app.
77 </li>
78
79 <li>Instant Run supports pushing the following changes to a running app:
80 <ul>
81 <li>Changes to the implementation of an existing instance method or
82 static method
83 </li>
84
85 <li>Changes to an existing app resource
86 </li>
87
88 <li>Changes to structural code, such as a method signature or a static
89 field (requires a target device running API level 21 or higher).
90 </li>
91 </ul>
92 </li>
93
94 <li>Read the documentation to learn more <a href=
95 "{@docRoot}tools/building/building-studio.html#instant-run">about Instant
96 Run</a>.
97 <p class="note">
98 <strong>Note:</strong> Instant Run is supported only when you deploy the
99 debug build variant, use <a href=
100 "{@docRoot}tools/revisions/gradle-plugin.html#revisions">Android Plugin for
101 Gradle version 2.0.0</a> or higher, and configure your app's module-level
102 <code>build.gradle</code> file for <code>minSdkVersion 15</code> or higher.
103 For the best performance, configure your app for <code>minSdkVersion
104 21</code> or higher.
105 </p>
106 </li>
107 </ul>
108
Adarsh Fernando1bfa6a62016-03-22 09:23:15 -0700109<p><strong>New additions to Lint:</strong></p>
110 <ul>
111 <li>Inspection of {@code switch} statements using {@link
112 android.support.annotation.IntDef @IntDef} annotated integers to make sure
113 all constants are handled. To quickly add any missing statements, use the the
114 intention action drop-down menu and select <b>Add Missing @IntDef
115 Constants</b>.
116 </li>
117
118 <li>Flags for incorrect attempts to use string interpolation to insert
119 version numbers in the {@code build.gradle} file.
120 </li>
121
122 <li>Flags for anonymous classes that extend the {@link android.app.Fragment
123 Fragment} class.
124 </li>
125
126 <li>Flags for native code in unsafe locations, such as the {@code res/} and {@code
127 asset/} folders. This flag encourages storing native code in the {@code libs/}
128 folder, which is then securely packaged into the application’s {@code
129 data/app-lib/} folder at install time. <a class="external-link" href=
130 "https://android-review.googlesource.com/#/c/169950/">AOSP: #169950</a>
131 </li>
132
133 <li>Flags for unsafe calls to {@link java.lang.Runtime#load(java.lang.String)
134 Runtime.load()} and {@link java.lang.System#load(java.lang.String)
135 System.load()} calls. <a class="external-link" href=
136 "https://android-review.googlesource.com/#/c/179980/">AOSP: #179980</a>
137 </li>
138
139 <li>Find and remove any unused resources by selecting <b>Refactor &gt; Remove
140 Unused Resources</b> from the menu bar. Unused resource detection now
141 supports resources only referenced by unused resources, references in raw
142 files such as {@code .html} image references, and {@code tools:keep} and
143 {@code tools:discard} attributes used by the Gradle resource shrinker, while
144 considering inactive source sets (such as resources used in other build
145 flavors) and properly handling static field imports.
146 </li>
147
148 <li>Checks that implicit API references are supported on all platforms
149 targeted by {@code minSdkVersion}.
150 </li>
151
152 <li>Flags improper usage of {@link android.support.v7.widget.RecyclerView}
153 and {@link android.os.Parcelable}.
154 </li>
155
156 <li>{@link android.support.annotation.IntDef @IntDef}, {@link
157 android.support.annotation.IntRange @IntRange}, and {@link
158 android.support.annotation.Size @Size} inspections are now also checked for
159 {@code int} arrays and varargs.
160 </li>
161 </ul>
162
163<p><strong>Additional Improvements</strong>:</p>
164 <ul>
Adarsh Fernandoc93b4a82016-04-06 17:20:49 -0700165 <li>Optimized for Android Emulator 2.0, which is faster than ever before,
166 supports a wider range of virtual devices, and features a drastically
167 improved UI. To learn more about the new emulator, read the <a href=
168 "{@docRoot}tools/sdk/tools-notes.html#notes">SDK Tools release notes</a>.
169 </li>
170
171 <li>Improvements to the <a href=
172 "{@docRoot}tools/devices/managing-avds.html">Android Virtual Device
173 Manager</a>:
174 <ul>
175 <li>System images are now categorized under the following tabs:
176 <em>Recommended</em>, <em>x86</em>, and <em>Other</em>.
177 </li>
178
179 <li>Under advanced settings, you can enable multi-core support and
180 specify the number of cores the emulator can use.
181 </li>
182
183 <li>Under advanced settings, you can determine how graphics are rendered
184 on the emulator by selecting one of the following options:
185 <ul>
186 <li>
187 <strong>Hardware:</strong> use you computer's graphics card for
188 faster rendering.
189 </li>
190
191 <li>
192 <strong>Software:</strong> use software-based rendering.
193 </li>
194
195 <li>
196 <strong>Auto:</strong> let the emulator decide the best option. This
197 is the default setting.
198 </li>
199 </ul>
200 </li>
201 </ul>
202 </li>
203
Adarsh Fernando1bfa6a62016-03-22 09:23:15 -0700204 <li>Improved AAPT packaging times by specifying deploy target before the app
205 is built. This allows Android Studio to efficiently package only the
206 resources required by the specified device.
207 </li>
208
209 <li>Added Cloud Test Lab integration to provide on-demand app testing with
210 the convenience and scalability of a cloud service. Learn more about how you
211 can <a href="{@docRoot}training/testing/start/index.html#run-ctl">use Cloud
212 Test Lab with Android Studio</a>.
213 </li>
214
215 <li>Added a preview of the new <a class="external-link" href=
216 "//tools.android.com/tech-docs/gpu-profiler">GPU Debugger</a>. For graphics
217 intensive applications, you can now visually step through your OpenGL ES code
218 to optimize your app or game.
219 </li>
220
221 <li>Added support for Google App Indexing integration and testing. Add deep
222 links, app indexing, and search functionality to your apps to help drive more
223 traffic to your app, discover which app content is used most, and attract new
224 users. Test and validate your URL links in your app all within Android
225 Studio. Learn more about implementing and testing <a href=
226 "{@docRoot}tools/help/app-link-indexing.html">Deep Link and App Indexing
227 APIs</a>.
228 </li>
229
230 <li>Upgrades from the latest IntelliJ 15 release, including improved code
231 analysis and performance. See <a class="external-link" href=
232 "https://www.jetbrains.com/idea/whatsnew">What's New in IntelliJ</a> for a
233 complete description of the new features and enhancements.
234 </li>
235
236 <li>XML editor auto-complete now adds quotations marks when completing
237 attributes. To check if this option is enabled, open the <b>Setting</b> or
238 <b>Preferences</b> dialogue, navigate to <b>Editor &gt; General &gt; Smart
239 Keys</b>, and check the box next to <b>Add quotes for attribute value on
240 attribute completion</b>. <a class="external-link" href=
241 "//b.android.com/195113">Issue: 195113</a>
242 </li>
243
244 <li>The XML editor now supports code completion for <a href=
245 "{@docRoot}tools/data-binding/guide.html#layout_details">data binding</a>
246 expressions.
247 </li>
248 </ul>
249 </div>
250</div>
251
252<div class="toggle-content closed">
253 <p><a href="#" onclick="return toggleContent(this)">
254 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Cheryl Potter0edf97f2015-11-30 14:34:37 -0800255 alt=""/>Android Studio v1.5.1</a> <em>(December 2015)</em>
256 </p>
257 <div class="toggle-content-toggleme">
258 <p>Fixes and enhancements:</p>
259 <ul>
260 <li>Fixed a rendering failure issue in the Layout Editor.
261 <a href="http://b.android.com/194612">Issue: 194612</a> </li>
262 <li>Added the ability to vary <code>description</code> manifest attributes by configuration.
263 <a href="http://b.android.com/194705">Issue: 194705</a>
264 </li>
265 <li>Improved the contrast of the Android Studio Darcula appearance theme in Vector Asset Studio.
266 <a href="http://b.android.com/191819">Issue: 191819</a>
267 </li>
268 <li>Added <em>Help</em> button support to Vector Asset Studio.
269 </li>
270 <li>Added support for the <code>%</code> operator for data binding. <a href="http://b.android.com/194045">Issue: 194045</a>
271 </li>
272 <li>Fixed a case where launching an app for debugging resulted in the debugger connecting to the
273 wrong device. <a href="http://b.android.com/195167">Issue: 195167</a>
274 </li>
275 <li>Fixed a null pointer exception that could occur when attempting to run an app in
276 certain scenarios.
277 </li>
278 </ul>
279 </div>
280</div>
281
282<div class="toggle-content closed">
283 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700284 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Cheryl Potterc112f622015-11-13 13:05:42 -0800285 alt=""/>Android Studio v1.5.0</a> <em>(November 2015)</em>
286 </p>
287 <div class="toggle-content-toggleme">
288 <p>Fixes and enhancements:</p>
289 <ul>
290 <li>Added new Memory Monitor analysis abilities to Android Monitor. When you view an HPROF file
291 captured from this monitor, the display is now more helpful so you can more quickly locate
292 problems, such as memory leaks. To use this monitor, click <strong>Android Monitor</strong> at
293 the bottom of the main window. In Android Monitor, click the <strong>Memory</strong> tab. While
294 the monitor is running, click the <strong>Dump Java Heap</strong> icon, and then click
Cheryl Potter0edf97f2015-11-30 14:34:37 -0800295 <strong>Captures</strong> in the main window and double-click the file to view it. Click
296 <em>Capture Analysis</em> on the right. (The
Cheryl Potterc112f622015-11-13 13:05:42 -0800297 Android Device Monitor can't be running at the same time as Android Monitor.)</li>
298 <li>Added new deep link and app link support. The Code Editor can automatically create an
299 intent filter for deep linking in the <code>AndroidManifest.xml</code> file. It can also
300 generate code to help you integrate with the
301 <a href="http://developers.google.com/app-indexing/android/publish" class="external-link">App Indexing API</a>
302 in an activity in a Java file. A deep link testing feature
303 helps you verify that a specified deep link can launch an app. In the <strong>General</strong>
304 tab of the <em>Run/Debug Configurations</em> dialog, you can specify deep link launch
305 options. You can also test App Indexing API calls in an activity by using the Android Monitor
306 <strong>logcat</strong> display. The Android <code>lint</code> tool now has warnings for
307 certain issues involving deep links and the App Indexing API.
308 </li>
309 <li>Added the ability to use short names when code-completing custom views in the Code Editor.
310 </li>
311 <li>Added support for more {@link android.graphics.drawable.VectorDrawable} elements to
312 <a href="{@docRoot}tools/help/vector-asset-studio.html">Vector Asset Studio</a>
313 for backward-compatibility. Vector Asset Studio can use these elements to convert vector
314 drawables into PNG raster images to use with Android 4.4 (API level 20) and lower.
315 </li>
316 <li>Added new <code>lint</code> checks for Android TV and Android Auto to give you
317 immediate, actionable feedback in Android Studio, along with several quick fixes. For example,
318 for Android TV, it can report and provide a quick fix for permissions, unsupported hardware,
319 <code>uses-feature</code> element, and missing banner issues. For Android Auto, it can
320 validate the correct usage in the descriptor file referred from your
321 <code>AndroidManifest.xml</code> file, report if there isn't an intent filter for the
322 <code>MediaBrowserService</code> class, and identify certain voice actions issues.
323 </li>
324 <li>Added new <code>lint</code> checks for insecure broadcast receivers,
325 <code>SSLCertificateSocketFactory</code> and <code>HostnameVerifier</code> class uses, and
326 <code>File.setReadable()</code> and <code>File.setWritable()</code> calls. It also detects
327 invalid manifest resource lookups, especially for resources that vary by configuration.
328 </li>
329 <li>Fixed a number of stability issues.
330 </li>
331 </ul>
332 </div>
333</div>
334
335
336<div class="toggle-content closed">
337 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700338 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Cheryl Potter0ae61ca2015-10-23 16:16:31 -0700339 alt=""/>Android Studio v1.4.1</a> <em>(October 2015)</em>
340 </p>
341 <div class="toggle-content-toggleme">
342 <p>Fixes and enhancements:</p>
343 <ul>
344 <li>Fixed a Gradle model caching issue that could lead to excessive Gradle syncing when the IDE
345 was restarted.
346 </li>
347 <li>Fixed a native debugging deadlock issue.
348 </li>
349 <li>Fixed an issue blocking users of the Subversion 1.9 version control system.
350 </li>
351 <li>Fixed a <em>Device Chooser</em> dialog problem where after connecting a device that was
352 unauthorized you could no longer select the emulator. <a href="http://b.android.com/189658">Issue: 189658</a>
353 </li>
354 <li>Fixed incorrect translation error reporting for locales that have a region qualifier and a
355 translation in the region (but not in the base locale). <a href="http://b.android.com/188577">Issue: 188577</a>
356 </li>
357 <li>Fixed a deadlock issue in the Theme Editor related to its interaction with the Layout
358 Editor. <a href="http://b.android.com/188070">Issue: 188070</a>
359 </li>
360 <li>Fixed a Theme Editor reload and edit conflict causing attributes to not properly update.
361 <a href="http://b.android.com/187726">Issue: 187726</a>
362 </li>
363 <li>Improved Theme Editor performance.
364 </li>
365 <li>Fixed an issue where the <code>android:required</code> attribute was ignored in the manifest.
366 <a href="http://b.android.com/187665">Issue: 187665</a>
367 </li>
368 </ul>
Cheryl Potterc112f622015-11-13 13:05:42 -0800369</div>
Cheryl Potter0ae61ca2015-10-23 16:16:31 -0700370</div>
371
372
373<div class="toggle-content closed">
374 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700375 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Cheryl Potterd9192752015-09-29 19:38:39 -0700376 alt=""/>Android Studio v1.4.0</a> <em>(September 2015)</em>
377 </p>
378 <div class="toggle-content-toggleme">
379 <p>Fixes and enhancements:</p>
380 <ul>
Cheryl Potter0ae61ca2015-10-23 16:16:31 -0700381 <li>Added the <a href="{@docRoot}tools/help/vector-asset-studio.html">Vector Asset Studio</a>
382 tool for importing vector graphics, such as material icons
Cheryl Potterd9192752015-09-29 19:38:39 -0700383 and SVG files. To use this tool, in the Android view of the Project window, right-click the
384 <strong>res</strong> folder and select <strong>New</strong> &gt; <strong>Vector Asset</strong>.
385 </li>
386 <li>Added new Android Monitor functions, GPU and Network. To use these monitors, click
387 <strong>Android Monitor</strong> at the bottom of the main window. The Android Device Monitor
388 can't be running at the same time as Android Monitor.
389 </li>
390 <li>Added an early preview of the new Theme Editor. To use this feature, select
391 <strong>Tools</strong> &gt; <strong>Android</strong> &gt; <strong>Theme Editor</strong>.
392 </li>
393 <li>Updated the Android templates for the Design Support Library. Templates now include support
394 for the Material Design specification, as well as the <code>appcompat</code> Support Library
395 for backwards compatibility.
396 </li>
397 </ul>
398 </div>
399</div>
400
401<div class="toggle-content closed">
402 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700403 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Joe Fernandez180f2db2015-08-20 17:11:56 -0700404 alt=""/>Android Studio v1.3.2</a> <em>(August 2015)</em>
405 </p>
406 <div class="toggle-content-toggleme">
407 <p>Fixes and enhancements:</p>
408 <ul>
409 <li>Added support for Android 6.0 (API level 23), including new icons and AVD Manager
410 support for creating devices with new screen densities.</li>
411 <li>Fixed an exception that was occuring during update checks.
412 <a href="http://b.android.com/183068">Issue: 183068</a></li>
413 <li>Fixed problem where unresolved view coordinates could cause the layout editor to crash.
414 <a href="http://b.android.com/178690">Issue: 178690</a></li>
415 <li>Fixed issue with invalid resource type warnings.
416 <a href="http://b.android.com/182433">Issue: 182433</a></li>
417 <li>Fixed lint check that was incorrectly flagging resources as private.
418 <a href="http://b.android.com/183120">Issue: 183120</a></li>
419 </ul>
420 </div>
421</div>
422
423
424<div class="toggle-content closed">
425 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700426 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar122c8772015-08-05 13:28:56 -0700427 alt=""/>Android Studio v1.3.1</a> <em>(August 2015)</em>
428 </p>
429 <div class="toggle-content-toggleme">
430 <p>Fixes and enhancements:</p>
431 <ul>
432 <li>Fixed support for creating an Android Wear Android Virtual Device (AVD) on Windows. </li>
433 <li>Updated the <em>Project Wizard</em> to use the entered project name. </li>
434 <li>Added support to allow the Android SDK to be stored in a read-only directory. </li>
435 <li>Updated Android Plugin for Gradle version to 1.3.0. </li>
436 <li>Fixed issues with launching a debug session from the Android Debug Bridge (adb) Unix
437 shell. </li>
438 <li>Fixed the Java package renaming message to show the correct package name. </li>
439 </ul>
440 </div>
441</div>
442
443
Rich Slogar122c8772015-08-05 13:28:56 -0700444<div class="toggle-content closed">
445 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700446 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar0b1c5742015-07-14 10:39:54 -0700447 alt=""/>Android Studio v1.3.0</a> <em>(July 2015)</em>
448 </p>
449 <div class="toggle-content-toggleme">
450 <p>Fixes and enhancements:</p>
451 <ul>
452 <li>Added options to enable
453 <a href="{@docRoot}tools/studio/studio-features.html#dev-services">developer services</a>,
454 such as <a href="https://developers.google.com/admob/">AdMob</a> and
455 <a href="{@docRoot}distribute/analyze/start.html">Analytics</a>, in your app from within
456 Android Studio. </li>
457 <li>Added additional <a href="{@docRoot}tools/debugging/annotations.html">annotations</a>,
458 such as <code>@RequiresPermission</code>, <code>@CheckResults</code>, and
459 <code>@MainThread</code>. </li>
460 <li>Added the capability to generate Java heap dumps and analyze thread allocations from the
461 <a href="{@docRoot}tools/studio/index.html#mem-cpu">Memory Monitor</a>. You can also
462 convert Android-specific HPROF binary format files to standard HPROF format from within
463 Android Studio. </li>
464 <li>Integrated the <a href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a>
465 into Android Studio to simplify package and tools access and provide update notifications.
466 <p class="note"><strong>Note:</strong> The standalone SDK Manager is still available from
Joe Fernandez24609712015-12-18 09:56:48 -0800467 the command line, but is recommended for use only with standalone SDK
Rich Slogar0b1c5742015-07-14 10:39:54 -0700468 installations. </p> </li>
469 <li>Added the <code>finger</code> command in the emulator console to simulate
470 <a href="{@docRoot}tools/studio/studio-features.html#finger-print">fingerprint</a>
471 authentication. </li>
472 <li>Added a <code>&lt;public&gt;</code> resource declaration to designate library
473 resources as
474 <a href="{@docRoot}tools/studio/studio-features.html#private-res">public and private</a>
475 resources.
476 <p class="note"><strong>Note:</strong> Requires
477 <a href="{@docRoot}tools/building/plugin-for-gradle.html">Android Plugin for Gradle</a>
478 version 1.3 or higher. </p> </li>
479 <li>Added <a href="{@docRoot}tools/data-binding/guide.html">data binding</a> support to
480 create declarative layouts that bind your application logic to layout elements. </li>
481 <li>Added support for a separate
Joe Fernandez180f2db2015-08-20 17:11:56 -0700482 <a href="{@docRoot}tools/studio/studio-features.html#test-module">test APK module</a>
Rich Slogar0b1c5742015-07-14 10:39:54 -0700483 to build test APKs in Android Studio. </li>
484 <li>Updated the <a href="{@docRoot}tools/help/avd-manager.html">AVD Manager</a> with HAXM
485 optimizations and improved notifications. </li>
486 <li>Added 64-bit ARM and MIPS emulator support for
487 <a class="external-link" href="http://wiki.qemu.org/Main_Page">QEMU</a> 2.1. </li>
488 <li>Simplified the resolution of <a href="{@docRoot}tools/help/lint.html">lint</a> warnings
489 by adding quick fixes, such as the automatic generation of
490 <a href="{@docRoot}reference/android/os/Parcelable.html">Parcelable</a>
491 implementation.</li>
492 <li>Added <a href="{@docRoot}sdk/installing/studio-tips.html#live-templates">live template</a>
493 support for quick insertion of code snippets. </li>
494 </ul>
495 </div>
496</div>
497
498
499
500
501<div class="toggle-content closed">
502 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700503 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Sloagerb656ace2015-06-11 00:23:42 +0000504 alt=""/>Android Studio v1.2.2</a> <em>(June 2015)</em>
505 </p>
506 <div class="toggle-content-toggleme">
507 <p>Fixes and enhancements:</p>
508 <ul>
509 <li>Fixed build issues that were blocking builds from completing. </li>
510 </ul>
511 </div>
512</div>
513
514
515<div class="toggle-content closed">
516 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700517 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar2d488eb2015-05-11 16:54:55 -0700518 alt=""/>Android Studio v1.2.1</a> <em>(May 2015)</em>
519 </p>
520 <div class="toggle-content-toggleme">
Rich Sloagerb656ace2015-06-11 00:23:42 +0000521 <p>Fixes and enhancements:</p>
Rich Slogar2d488eb2015-05-11 16:54:55 -0700522 <ul>
523 <li>Fixed minor performance and feature issues. </li>
524 </ul>
525 </div>
526</div>
527
528
529
530<div class="toggle-content closed">
531 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700532 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar6170c002015-03-18 17:33:23 -0700533 alt=""/>Android Studio v1.2.0</a> <em>(April 2015)</em>
534 </p>
535
536 <div class="toggle-content-toggleme">
Rich Sloagerb656ace2015-06-11 00:23:42 +0000537 <p>Fixes and enhancements:</p>
Rich Slogar6170c002015-03-18 17:33:23 -0700538 <ul>
539 <li>Updated the Android runtime window to include the
Rich Slogara121d142015-04-30 12:59:34 -0700540 <a href="{@docRoot}tools/studio/index.html#mem-cpu">Memory Monitor</a> tool
Rich Slogar6170c002015-03-18 17:33:23 -0700541 and added a tab for CPU performance monitoring.</li>
542 <li>Added a <em>Captures</em> tab in the left margin to display the captured memory and CPU
543 performance data files, such as CPU method tracking and memory heap snapshots.</li>
544 <li>Expanded <a href="{@docRoot}tools/debugging/annotations.html">annotation</a>
545 support with additional metadata annotations and inferred nullability. </li>
546 <li>Enhanced the Translations Editor with additional support for Best Current Practice
547 (BCP) 47, which uses 3-letter language and region codes.</li>
548 <li>Integrated IntelliJ 14 and 14.1 features for improved code analysis and performance:</li>
549 <ul>
550 <li>Enhanced debugging to show inline values for variables and referring objects,
551 as well as perform inline evaluation of lambda and operator expressions. </li>
552 <li>Added code style detection for tab and indent sizes. </li>
553 <li>Added scratch files for code experiments and prototyping without project files.</li>
554 <li>Added the simultaneous insertion of opening and closing tags in HTML and XML files.</li>
555 <li>Added a built-in Java class decompiler so you can look at what’s inside a library
556 for which the source code is not available. </li>
557 </ul>
558 <p>See
559 <a class="external-link" href="https://www.jetbrains.com/idea/whatsnew">What's New in IntelliJ</a>
560 for a complete description of the new features and enhancements.</p>
561 </li>
562 <li>Added additional <a href="{@docRoot}tools/studio/index.html#project-view">Project Views</a>
563 for <em>Scratches</em>, <em>Project Files</em>, <em>Problems</em>, <em>Production</em>,
564 and <em>Tests</em> to enhance project management and access. </li>
565 <li>Enhanced the <strong>File &gt; Settings</strong> menu and dialogs for improved settings
566 access and management. </li>
567 <li>Added support for high-density displays for Windows and Linux. </li>
568 <li>Added support for 280 dpi resources in the <code>res/drawable-280dpi/</code> folder.
569 </ul>
570 </ul>
571 </div>
572</div>
573
574
575
576
577<div class="toggle-content closed">
578 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700579 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar5fcfe202015-02-23 10:22:22 -0800580 alt=""/>Android Studio v1.1.0</a> <em>(February 2015)</em>
Rich Slogar9bd6de12015-02-10 12:56:46 -0800581 </p>
582
583 <div class="toggle-content-toggleme">
584 <p>Various fixes and enhancements:</p>
585 <ul>
586 <li>Added support for the <a href="{@docRoot}design/wear/index.html">Android Wear</a> watch
587 template. </li>
588 <li>Modified new project and module creation to include
589 <a href="{@docRoot}tools/projects/index.html#mipmap"><code>res/mipmap</code></a> folders for
590 density-specific launcher icons. These <code>res/mipmap</code> folders replace the
591 <a href="{@docRoot}guide/topics/resources/drawable-resource.html"><code>res/drawable</code></a>
592 folders for launcher icons. </li>
593 <li>Updated launcher icons to have a
594 <a href="{@docRoot}design/material/index.html">Material Design</a> look and added an
595 <code>xxxhdpi</code> launcher icon. </li>
596 <li>Added and enhanced <a href="{@docRoot}tools/help/lint.html"><code>lint</code></a> checks
597 for region and language combinations, launcher icons, resource names, and other common
598 code problems.</li>
599 <li>Added support for Best Current Practice (BCP) language tag 47. </li>
Rich Slogar6170c002015-03-18 17:33:23 -0700600 </ul>
Rich Slogar9bd6de12015-02-10 12:56:46 -0800601 </div>
602</div>
603
604
605<div class="toggle-content closed">
606 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700607 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar6b8756c2014-12-12 14:59:34 -0800608 alt=""/>Android Studio v1.0.1</a> <em>(December 2014)</em>
609 </p>
610
611 <div class="toggle-content-toggleme">
612 <p>Various fixes and enhancements:</p>
613 <ul>
614 <li>Fixed AVD Manager and <strong>device.xml</strong> file lock issue. </li>
615 <li>Fixed the emulator log on Windows systems. </li>
616 <li>Fixed issue with creating AVDs with Android Studio and Android SDK installed on different
617 drives on Windows systems.</li>
618 <li>Sets the default update channel for new downloads to <strong>Stable</strong>. If you
619 installed the 1.0.0 version of Android Studio and would like stable, production-ready version
620 updates, use <strong>File > Settings > Updates</strong> to change to the <strong>Stable</strong>
621 update channel.
622 </li>
Rich Slogar6170c002015-03-18 17:33:23 -0700623 </ul>
Rich Slogar6b8756c2014-12-12 14:59:34 -0800624 </div>
625</div>
626
627
628<div class="toggle-content closed">
629 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700630 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar3c2508c2014-12-08 10:12:32 -0800631 alt=""/>Android Studio v1.0</a> <em>(December 2014)</em>
632 </p>
633
634 <div class="toggle-content-toggleme">
635 <p>Initial release of Android Studio.</p>
636 </div>
637</div>
638
639
640<div class="toggle-content closed">
641 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700642 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800643 alt=""/>Android Studio v0.8.14</a> <em>(October 2014)</em>
644 </p>
645
646 <div class="toggle-content-toggleme">
647 <p>See
648 <a href="http://tools.android.com/recent/androidstudio0814inbetachannel">tools.android.com</a>
649 for a full list of changes.</p>
650 </div>
651</div>
652
653<div class="toggle-content closed">
654 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700655 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800656 alt=""/>Android Studio v0.8.6</a> <em>(August 2014)</em>
657 </p>
658
659 <div class="toggle-content-toggleme">
660 <p>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</p>
661 </div>
662</div>
663
664<div class="toggle-content closed">
665 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700666 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800667 alt=""/>Android Studio v0.8.0</a> <em>(June 2014)</em>
668 </p>
669
670 <div class="toggle-content-toggleme">
671 <p>Added support for Android Wear projects.</p>
672 <p>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</p>
673 </div>
674</div>
675
676<div class="toggle-content closed">
677 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700678 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800679 alt=""/>Android Studio v0.5.2</a> <em>(May 2014)</em>
680 </p>
681
682 <div class="toggle-content-toggleme">
683 <ul>
684 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li>
685 </ul>
686 </div>
687</div>
688
689<div class="toggle-content closed">
690 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700691 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800692 alt=""/>Android Studio v0.4.6</a> <em>(March 2014)</em>
693 </p>
694
695 <div class="toggle-content-toggleme">
696 <ul>
697 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li>
698 </ul>
699 </div>
700</div>
701
702<div class="toggle-content closed">
703 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700704 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800705 alt=""/>Android Studio v0.4.2</a> <em>(Jan 2014)</em>
706 </p>
707
708 <div class="toggle-content-toggleme">
709 <ul>
710 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li>
711 </ul>
712 </div>
713</div>
714
715<div class="toggle-content closed">
716 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700717 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800718 alt=""/>Android Studio v0.3.2</a> <em>(Oct 2013)</em>
719 </p>
720
721 <div class="toggle-content-toggleme">
722 <ul>
723 <li>See <a href="http://tools.android.com/recent">tools.android.com</a> for a full list of changes.</li>
724 </ul>
725 </div>
726</div>
727
728<div class="toggle-content closed">
729 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700730 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800731 alt=""/>Android Studio v0.2.x</a> <em>(July 2013)</em>
732 </p>
733
734 <div class="toggle-content-toggleme">
735 <ul>
736 <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>
737 <li>Android Gradle plug-in updated to 0.5.0.
738 <p class="caution"><strong>Caution:</strong> This new version is not backwards compatible.
739 When opening a project that uses an older version of the plug-in, Studio will show an error
740 stating <strong>Gradle &lt;project_name&gt; project refresh failed.</strong></p>
741 <p>The updated Gradle plug-in includes the following changes:</p>
742 <ul>
743 <li>Fixed IDE model to contain the output file even if it's customized through the DSL. Also
744 fixed the DSL to get/set the output file on the variant object so that it's not necessary to
745 use <code>variant.packageApplication or variant.zipAlign</code></li>
746 <li>Fixed dependency resolution so that we resolved the combination of (default config,
747 build types, flavor(s)) together instead of separately.</li>
748 <li>Fixed dependency for tests of library project to properly include all the dependencies
749 of the library itself.</li>
750 <li>Fixed case where two dependencies have the same leaf name.</li>
751 <li>Fixed issue where Proguard rules file cannot be applied on flavors.</li>
752 </ul>
753 <p>All Gradle plugin release notes are available are here: <a href=
754 "http://tools.android.com/tech-docs/new-build-system"
755 >http://tools.android.com/tech-docs/new-build-system</a>.</p>
756 </li>
757 <li>Gradle errors from aapt no longer point to merged output files in the build/ folder, they
758 point back to the real source locations.</li>
759 <li>Parallel Builds. It's now possible to use Gradle's parallel builds. Please be aware that
760 parallel builds are in "incubation" (see <a
761 href="http://www.gradle.org/docs/current/userguide/gradle_command_line.html">Gradle's
762 documentation</a>.) This feature is off by default. To enable it, go to
763 <strong>Preferences</strong> &gt; <strong>Compiler</strong> and check the box <em>Compile
764 independent modules in parallel</em>.</li>
765 <li>Further work on the new resource repository used for layout rendering, resource
766 folding in the editor, and more:
767 <ul>
768 <li>Basic support for .aar library dependencies (e.g. using a library without a local copy of
769 the sources). Still not working for resource XML validation and navigation in source editors.
770 </li>
771 <li>Cycle detection in resource references.</li>
772 <li>Quick Documentation (F1), which can show all translations of the string under the caret,
773 will now also show all resource overlays from the various Gradle flavors and build types, as
774 well as libraries. They are listed in reverse resource overlay order, with strikethrough on
775 the versions of the string that are masked.</li>
776 <li>Fixes to handle updating the merged resources when the set of module dependencies
777 change.</li>
778 <li>XML rendering fixes to properly handle character entity declarations and XML and unicode
779 escapes.</li>
780 </ul>
781 <li>Save screenshot support for the layout preview and layout editor windows.</li>
782 <li>Template bug fixes.</li>
783 <li>Lint bug fixes.</li>
784 <li>Various fixes for crash reports. Thank you, and keep filing crash reports!</li>
785 </ul>
786 </div>
787</div>
788
789<div class="toggle-content closed">
790 <p><a href="#" onclick="return toggleContent(this)">
smain@google.com2b903d02016-03-16 12:13:05 -0700791 <img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
Rich Slogar153c8282014-11-04 17:23:23 -0800792 alt=""/>Android Studio v0.1.x</a> <em>(May 2013)</em>
793 </p>
794
795 <div class="toggle-content-toggleme">
796 <ul>
797 <li>Various bug fixes, including a fix for a common Windows installation issue.
798 </ul>
799 </div>
800</div>
801
802<p>&nbsp;</p>
803
804
805<h2 id="Troubleshooting">Troubleshooting</h2>
806
807<p>If you encounter problems in Android Studio, look at the following page
808for possible resolutions to known issues: <a href="http://tools.android.com/knownissues"
809>http://tools.android.com/knownissues</a>.</p>
810
811
812
813</div><!-- end main content -->
814
815
816
817
818</div><!-- end relative position wrapper -->
819
820
821