Android Studio 3.2 Canary 6 now available
Monday, March 12, 2018
New Code Shrinker
R8 is a new tool for code shrinking and obfuscation that replaces ProGuard. You can start using the preview version of R8 by including the following in your project’s gradle.properties file:
android.enableR8 = true
Changed default ABIs for multi-APKs
When building multiple APKs that each target a different ABI, Android plugin for Gradle 3.2.0-alpha5 and higher no longer generate APKs for the following ABIs by default: mips, mips64, and armeabi.
If you are using NDK r16b or lower and you want to continue to build APKs for those ABIs, you need to include them explicitly in your app’s build.gradle file, as follows:
splits {
abi {
include 'armeabi', 'mips', 'mips64'
...
}
}
NDK r17 users: If you are using NDK r17 beta 1 or higher, you can no longer build APKs for mips, mips64, or armeabi using Android plugin for Gradle 3.2.0-alpha5 or higher.
General bug fixes
This update includes fixes for the following public issues:
- Issue#67035929: Wrong tips "super call" with Kotlin plugin.
- Issue#73592522: Bug: preview still shown when closing layout editor
- Issue#73857733: Lint flags REQUEST_INSTALL_PACKAGES as "Only granted to system apps" even though it it required
- Issue#73873828: False positive test with a misconfigured test layout xml
- Issue#73747114: Incorrect warning for VisibleForTesting using kotlin's file scope
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.