Android Studio 3.3 Canary 1 available
Thursday, June 28, 2018
Android Studio 3.3 Canary 1 is now available in the Canary and Dev channels.
If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on Mac). Otherwise, you can download it here.
This update includes the following new features and changes in behavior:
- The flag for disabling incremental dexing (
useDexArchive
) has been removed. - Android Studio 3.2 gave warnings when it found differences in versions between runtime and compile classpaths. Android Studio 3.3 reports these differences as errors.
- Android Studio 3.3 Canary 1 includes Kotlin 1.2.50. The ability to update the Kotlin plugin in Android Studio is temporarily disabled; this is to prevent the installation of incompatible plugins while we resolve some issues.
- The new
getRawAndroidResources()
method in the Gradle build API returns a file collection containing all resources for the variant. This method has been added primarily as a step toward migrating the Kotlin Android Extensions plugin to this API so that it will no longer need to use theMergeResources
task. This new method is in incubation, meaning that it may be changed or removed without notice. - The new
applicationIdTextResource
method in the Gradle build API returns the application ID of a variant. For feature variants, this returns the resolved application ID from the application; for application variants, this method behaves the same asgetApplicationId()
. - The Gradle
signingReport
task now also returns an SHA-256 hash. - The SDK Manager now reports the size of files downloaded during the update process.
This update includes fixes for several bugs, including the following:
- Gradle was consuming large amounts of memory, leading to Java heap space errors, when packaging APKs.
- Some JAR files could not be opened for the reading of their class files for dexing. This has been fixed by switching to a new ZIP file decoder.
- Processing
module-info.class
during desugaring analysis caused failures with the messagejava.lang.IllegalArgumentException: Type without superclass: module-info
. This file is now filtered out during desugaring analysis. - The Force HTTP setting in the Android Studio SDK updater was not working.
- The SDK Manager command-line argument
--package_file
was not working. - Android Studio did not use the
ANDROID_SDK_ROOT
environment variable when installing the Android SDK. - The Android test plugin ignored the Gradle command-line parameters to select which tests to run.
For information on new features and changes in previous releases of Android Studio, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.
We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.