Platform
Android Studio
Google Play
Jetpack
Docs
Blog
Download
What's New
User Guide
Preview
Home
Platform
Android Studio
Download
What's New
User Guide
Preview
Google Play
Docs
Blog
Download a Preview
Install Alongside Stable
New Features
Release Updates
Updates archive
►
2024
2024
(89)
►
Dezember
Dezember
(6)
►
November
November
(4)
►
Oktober
Oktober
(8)
►
September
September
(8)
►
August
August
(9)
►
Juli
Juli
(6)
►
Juni
Juni
(7)
►
Mai
Mai
(9)
►
April
April
(9)
►
März
März
(6)
►
Februar
Februar
(8)
►
Januar
Januar
(9)
►
2023
2023
(76)
►
Dezember
Dezember
(4)
►
November
November
(9)
►
Oktober
Oktober
(7)
►
September
September
(8)
►
August
August
(3)
►
Juli
Juli
(4)
►
Juni
Juni
(6)
►
Mai
Mai
(10)
►
April
April
(4)
►
März
März
(7)
►
Februar
Februar
(9)
►
Januar
Januar
(5)
►
2022
2022
(59)
►
Dezember
Dezember
(3)
►
November
November
(5)
►
Oktober
Oktober
(8)
►
September
September
(4)
►
August
August
(4)
►
Juli
Juli
(2)
►
Juni
Juni
(7)
►
Mai
Mai
(6)
►
April
April
(5)
►
März
März
(6)
►
Februar
Februar
(5)
►
Januar
Januar
(4)
►
2021
2021
(54)
►
Dezember
Dezember
(3)
►
November
November
(2)
►
Oktober
Oktober
(6)
►
September
September
(4)
►
August
August
(5)
►
Juli
Juli
(8)
►
Juni
Juni
(4)
►
Mai
Mai
(5)
►
April
April
(1)
►
März
März
(7)
►
Februar
Februar
(4)
►
Januar
Januar
(5)
►
2020
2020
(107)
►
Dezember
Dezember
(7)
►
November
November
(3)
►
Oktober
Oktober
(8)
►
September
September
(6)
►
August
August
(11)
►
Juli
Juli
(14)
►
Juni
Juni
(10)
►
Mai
Mai
(12)
►
April
April
(11)
►
März
März
(11)
►
Februar
Februar
(6)
►
Januar
Januar
(8)
►
2019
2019
(145)
►
Dezember
Dezember
(16)
►
November
November
(12)
►
Oktober
Oktober
(10)
►
September
September
(13)
►
August
August
(12)
►
Juli
Juli
(6)
►
Juni
Juni
(9)
►
Mai
Mai
(18)
►
April
April
(14)
►
März
März
(12)
►
Februar
Februar
(10)
►
Januar
Januar
(13)
►
2018
2018
(128)
►
Dezember
Dezember
(13)
►
November
November
(12)
►
Oktober
Oktober
(10)
►
September
September
(10)
►
August
August
(16)
►
Juli
Juli
(10)
►
Juni
Juni
(13)
►
Mai
Mai
(9)
►
April
April
(11)
►
März
März
(12)
►
Februar
Februar
(9)
►
Januar
Januar
(3)
▼
2017
2017
(48)
▼
Dezember
Dezember
(3)
Android Studio 3.1 Canary 6 is now available
ConstraintLayout 1.1.0 beta 4
Android Studio 3.1 Canary 5 is now available
►
November
November
(2)
►
Oktober
Oktober
(8)
►
September
September
(3)
►
August
August
(4)
►
Juli
Juli
(3)
►
Juni
Juni
(3)
►
Mai
Mai
(4)
►
April
April
(5)
►
März
März
(5)
►
Februar
Februar
(6)
►
Januar
Januar
(2)
►
2016
2016
(5)
►
Dezember
Dezember
(3)
►
November
November
(2)
Subscribe to updates
Posts
Atom
Posts
Android Developers
Android Studio
Preview
Release Updates
Android Studio 3.1 Canary 6 is now available
Mittwoch, 20. Dezember 2017
Android Studio 3.1 Canary 6 is now available in the Canary and Dev channels.
If you are
upgrading from 3.1 Canary 1, 2, or 3
, you need to download the latest version of the IDE from the
Android Studio Preview site
.
You might receive an error when updating your project to 3.1 Canary 6
. If so, you need to manually change the Android Gradle plugin version to
3.1.0-alpha06
as shown here:
buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.1.0-alpha06' } }
Then click
Sync Project with Gradle Files
. T
he first sync will fail and you'll see a message asking you to upgrade the Gradle version in the wrapper, so follow the Quick Fix to apply the update.
This release includes general bug fixes and the following new features:
Upgrades the base IDE to
IntelliJ 2017.3
. You may notice changes in behavior and performance as a result of this merge. If you encounter changes you believe to be regressions, please
report a bug
.
Updates the
Kotlin plugin
to version 1.2.
Updates to
Data Binding
:
You can now use a
LiveData
object as an observable field in data binding expressions. The
ViewDataBinding
class now includes a new
setLifecycle
method that you need to use to use to observe
LiveData
objects.
New compiler
: You can preview a new incremental compiler for your data binding classes. To enable this compiler, add
android.databinding.enableV2=true
to your gradle.properties file, or include the following command line argument:
-Pandroid.databinding.enableV2=true
. Keep in mind, this compiler is
not backwards compatible
, so you need to recompile all of your data binding classes with this feature enabled to take advantage of incremental compilation. Note the following behavior changes when using the new compiler:
The Android plugin for Gradle now generates
Binding
classes for your layouts before compiling your Java code.
If a layout is included in more than one target resource configuration, the data binding library now defaults the view type to
android.view.View
for all views that share the same resource id but not view type.
Binding classes for library modules are compiled and packaged with its AAR. That is, app modules that depend on those library modules no longer need to regenerate those classes.
A module’s binding adapters can no longer change the behavior of adapters of the module’s dependencies. That is, binding adapters now only affect code in its own module and downstream consumers of the module.
The
ObervableField
class can now accept other
Observable
objects in its constructor. The
ObservableField
object registers a change when one of its
Observable
dependencies register a change.
Known issues:
Updating existing projects to the alpha 6 Android Gradle plugin fails. You must manually update to 3.1.0-alpha06 as described above.
When
using Java 8 language features
, the intentions menu item to “Set Language Level to 8" is missing.
AAPT2 may throw an error when adding a tabbed activity to a project which is created with Maps activity.
You may get an
IsolationException
error while building
LintTest
project.
Certain devices may cause a
java.lang.AssertionError
while working with profilers.
You may receive a "File Creation failed" error while recording espresso tests for Instant Apps that include code written in Kotlin.
You may receive a fatal exception when
using Java 8 language features
with Android Instant Apps projects.
Your app may see FATAL_EXCEPTION "Error inflating class ImageView" when adding color resources to an
ImageView
using the theme attribute.
You may receive a
TimeoutException
while deploying a Wear project to the emulator.
When creating a Android Instant Apps project that includes a
BottomNavigationView
, you may get a null pointer exception.
If you already have an Android Studio build on the
Canary or Dev channel
, you can get the update by clicking
Help > Check for Update
(or
Android Studio > Check for Updates
on Mac). Otherwise, you can
download here
.