Android Studio Release Notes
- 最后更新于 2015年11月24日
- 点击数:6476
Android Studio Release Notes
Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps:
- IntelliJ IDE + Android Studio plugin
- Android SDK Tools
- Android Platform-tools
- A version of the Android platform
- A version of the Android system image for the emulator
For an introduction to Android Studio, read the Android Studio guide.
Periodic updates are pushed to Android Studio without requiring you to update your Android project. To manually check for updates, select Help > Check for update (on Mac, select Android Studio > Check for updates).
The sections below provide notes about successive releases of Android Studio, as denoted by revision number.
Android Studio v1.5.0 (November 2015)
Fixes and enhancements:
- Added new Memory Monitor analysis abilities to Android Monitor. When you view an HPROF file captured from this monitor, the display is now more helpful so you can more quickly locate problems, such as memory leaks. To use this monitor, click Android Monitor at the bottom of the main window. In Android Monitor, click the Memory tab. While the monitor is running, click the Dump Java Heap icon, and then click Captures in the main window and double-click the file to view it. (The Android Device Monitor can't be running at the same time as Android Monitor.)
- Added new deep link and app link support. The Code Editor can automatically create an intent filter for deep linking in the
AndroidManifest.xml
file. It can also generate code to help you integrate with the App Indexing API in an activity in a Java file. A deep link testing feature helps you verify that a specified deep link can launch an app. In theGeneral tab of the Run/Debug Configurations dialog, you can specify deep link launch options. You can also test App Indexing API calls in an activity by using the Android Monitor logcat display. The Androidlint
tool now has warnings for certain issues involving deep links and the App Indexing API. - Added the ability to use short names when code-completing custom views in the Code Editor.
- Added support for more
VectorDrawable
elements to Vector Asset Studio for backward-compatibility. Vector Asset Studio can use these elements to convert vector drawables into PNG raster images to use with Android 4.4 (API level 20) and lower. - Added new
lint
checks for Android TV and Android Auto to give you immediate, actionable feedback in Android Studio, along with several quick fixes. For example, for Android TV, it can report and provide a quick fix for permissions, unsupported hardware,uses-feature
element, and missing banner issues. For Android Auto, it can validate the correct usage in the descriptor file referred from yourAndroidManifest.xml
file, report if there isn't an intent filter for theMediaBrowserService
class, and identify certain voice actions issues. - Added new
lint
checks for insecure broadcast receivers,SSLCertificateSocketFactory
andHostnameVerifier
class uses, andFile.setReadable()
andFile.setWritable()
calls. It also detects invalid manifest resource lookups, especially for resources that vary by configuration. - Fixed a number of stability issues.
Android Studio v1.4.1 (October 2015)
Fixes and enhancements:
- Fixed a Gradle model caching issue that could lead to excessive Gradle syncing when the IDE was restarted.
- Fixed a native debugging deadlock issue.
- Fixed an issue blocking users of the Subversion 1.9 version control system.
- Fixed a Device Chooser dialog problem where after connecting a device that was unauthorized you could no longer select the emulator. Issue: 189658
- Fixed incorrect translation error reporting for locales that have a region qualifier and a translation in the region (but not in the base locale). Issue: 188577
- Fixed a deadlock issue in the Theme Editor related to its interaction with the Layout Editor. Issue: 188070
- Fixed a Theme Editor reload and edit conflict causing attributes to not properly update. Issue: 187726
- Improved Theme Editor performance.
- Fixed an issue where the
android:required
attribute was ignored in the manifest. Issue: 187665
Android Studio v1.4.0 (September 2015)
Fixes and enhancements:
- Added the Vector Asset Studio tool for importing vector graphics, such as material icons and SVG files. To use this tool, in the Android view of the Project window, right-click the res folder and select New > Vector Asset.
- Added new Android Monitor functions, GPU and Network. To use these monitors, click Android Monitor at the bottom of the main window. The Android Device Monitor can't be running at the same time as Android Monitor.
- Added an early preview of the new Theme Editor. To use this feature, select Tools > Android > Theme Editor.
- Updated the Android templates for the Design Support Library. Templates now include support for the Material Design specification, as well as the
appcompat
Support Library for backwards compatibility.
Android Studio v1.3.2 (August 2015)
Fixes and enhancements:
Added support for Android 6.0 (API level 23), including new icons and AVD Manager support for creating devices with new screen densities.
Fixed an exception that was occuring during update checks. Issue: 183068
Fixed problem where unresolved view coordinates could cause the layout editor to crash. Issue: 178690
Fixed issue with invalid resource type warnings. Issue: 182433
Fixed lint check that was incorrectly flagging resources as private. Issue: 183120
Android Studio v1.3.1 (August 2015)
Fixes and enhancements:
Fixed support for creating an Android Wear Android Virtual Device (AVD) on Windows.
Updated the Project Wizard to use the entered project name.
Added support to allow the Android SDK to be stored in a read-only directory.
Updated Android Plugin for Gradle version to 1.3.0.
Fixed issues with launching a debug session from the Android Debug Bridge (adb) Unix shell.
Fixed the Java package renaming message to show the correct package name.
Android Studio v1.3.0 (July 2015)
Fixes and enhancements:
Added options to enable developer services, such as AdMob and Analytics, in your app from within Android Studio.
Added additional annotations, such as @RequiresPermission, @CheckResults, and @MainThread.
Added the capability to generate Java heap dumps and analyze thread allocations from the Memory Monitor. You can also convert Android-specific HPROF binary format files to standard HPROF format from within Android Studio.
Integrated the SDK Manager into Android Studio to simplify package and tools access and provide update notifications.
Note: The standalone SDK Manager is still available from the command line, but is recommended for use with only Eclipse ADT and standalone SDK installations.
Added the finger command in the emulator console to simulate fingerprint authentication.
Added a <public> resource declaration to designate library resources as public and private resources.
Note: Requires Android Plugin for Gradle version 1.3 or higher.
Added data binding support to create declarative layouts that bind your application logic to layout elements.
Added support for a separate test APK module to build test APKs in Android Studio.
Updated the AVD Manager with HAXM optimizations and improved notifications.
Added 64-bit ARM and MIPS emulator support for QEMU 2.1.
Simplified the resolution of lint warnings by adding quick fixes, such as the automatic generation of Parcelable implementation.
Added live template support for quick insertion of code snippets.
Android Studio v1.2.2 (June 2015)
Fixes and enhancements:
Fixed build issues that were blocking builds from completing.
Android Studio v1.2.1 (May 2015)
Fixes and enhancements:
Fixed minor performance and feature issues.
Android Studio v1.2.0 (April 2015)
Fixes and enhancements:
Updated the Android runtime window to include the Memory Monitor tool and added a tab for CPU performance monitoring.
Added a Captures tab in the left margin to display the captured memory and CPU performance data files, such as CPU method tracking and memory heap snapshots.
Expanded annotation support with additional metadata annotations and inferred nullability.
Enhanced the Translations Editor with additional support for Best Current Practice (BCP) 47, which uses 3-letter language and region codes.
Integrated IntelliJ 14 and 14.1 features for improved code analysis and performance:
Enhanced debugging to show inline values for variables and referring objects, as well as perform inline evaluation of lambda and operator expressions.
Added code style detection for tab and indent sizes.
Added scratch files for code experiments and prototyping without project files.
Added the simultaneous insertion of opening and closing tags in HTML and XML files.
Added a built-in Java class decompiler so you can look at what’s inside a library for which the source code is not available.
See What's New in IntelliJ for a complete description of the new features and enhancements.
Added additional Project Views for Scratches, Project Files, Problems, Production, and Tests to enhance project management and access.
Enhanced the File > Settings menu and dialogs for improved settings access and management.
Added support for high-density displays for Windows and Linux.
Added support for 280 dpi resources in the res/drawable-280dpi/ folder.
Android Studio v1.1.0 (February 2015)
Various fixes and enhancements:
Added support for the Android Wear watch template.
Modified new project and module creation to include res/mipmap folders for density-specific launcher icons. These res/mipmap folders replace the res/drawable folders for launcher icons.
Updated launcher icons to have a Material Design look and added an xxxhdpi launcher icon.
Added and enhanced lint checks for region and language combinations, launcher icons, resource names, and other common code problems.
Added support for Best Current Practice (BCP) language tag 47.
Android Studio v1.0.1 (December 2014)
Various fixes and enhancements:
Fixed AVD Manager and device.xml file lock issue.
Fixed the emulator log on Windows systems.
Fixed issue with creating AVDs with Android Studio and Android SDK installed on different drives on Windows systems.
Sets the default update channel for new downloads to Stable. If you installed the 1.0.0 version of Android Studio and would like stable, production-ready version updates, use File > Settings > Updates to change to the Stable update channel.
Android Studio v1.0 (December 2014)
Initial release of Android Studio.
Android Studio v0.8.14 (October 2014)
See tools.android.com for a full list of changes.
Android Studio v0.8.6 (August 2014)
See tools.android.com for a full list of changes.
Android Studio v0.8.0 (June 2014)
Added support for Android Wear projects.
See tools.android.com for a full list of changes.
Android Studio v0.5.2 (May 2014)
See tools.android.com for a full list of changes.
Android Studio v0.4.6 (March 2014)
See tools.android.com for a full list of changes.
Android Studio v0.4.2 (Jan 2014)
See tools.android.com for a full list of changes.
Android Studio v0.3.2 (Oct 2013)
See tools.android.com for a full list of changes.
Android Studio v0.2.x (July 2013)
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.
Android Gradle plug-in updated to 0.5.0.
Caution: This new version is not backwards compatible. When opening a project that uses an older version of the plug-in, Studio will show an error stating Gradle <project_name> project refresh failed.
The updated Gradle plug-in includes the following changes:
Fixed IDE model to contain the output file even if it's customized through the DSL. Also fixed the DSL to get/set the output file on the variant object so that it's not necessary to use variant.packageApplication or variant.zipAlign
Fixed dependency resolution so that we resolved the combination of (default config, build types, flavor(s)) together instead of separately.
Fixed dependency for tests of library project to properly include all the dependencies of the library itself.
Fixed case where two dependencies have the same leaf name.
Fixed issue where Proguard rules file cannot be applied on flavors.
All Gradle plugin release notes are available are here: http://tools.android.com/tech-docs/new-build-system.
Gradle errors from aapt no longer point to merged output files in the build/ folder, they point back to the real source locations.
Parallel Builds. It's now possible to use Gradle's parallel builds. Please be aware that parallel builds are in "incubation" (see Gradle's documentation.) This feature is off by default. To enable it, go to Preferences > Compiler and check the box Compile independent modules in parallel.
Further work on the new resource repository used for layout rendering, resource folding in the editor, and more:
Basic support for .aar library dependencies (e.g. using a library without a local copy of the sources). Still not working for resource XML validation and navigation in source editors.
Cycle detection in resource references.
Quick Documentation (F1), which can show all translations of the string under the caret, will now also show all resource overlays from the various Gradle flavors and build types, as well as libraries. They are listed in reverse resource overlay order, with strikethrough on the versions of the string that are masked.
Fixes to handle updating the merged resources when the set of module dependencies change.
XML rendering fixes to properly handle character entity declarations and XML and unicode escapes.
Save screenshot support for the layout preview and layout editor windows.
Template bug fixes.
Lint bug fixes.
Various fixes for crash reports. Thank you, and keep filing crash reports!
Android Studio v0.1.x (May 2013)
Various bug fixes, including a fix for a common Windows installation issue.