Thursday, August 1, 2019

Android Studio 3.5 Release Candidate 2 available


Android Studio 3.5 Release Candidate 2 (RC2) is now available in the Beta channel.

If you have Android Studio set up to receive updates on the Beta channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

General fixes

This update includes fixes for the following public issues:

AndroidX
  • Issue #137277710: Update mappings to match https://developer.android.com/jetpack/androidx/migrate
  • Issue #137073253: Missing exoplayer migration rule in "Migrate to AndroidX"
Apply Changes
  • Issue #137795791: Exception during delta push: java.io.IOException: write failed: EBADF (Bad file descriptor)
Core IDE
Dexer (D8)
Gradle
  • Issue #135665414: Aapt exception points to AndroidManifest by mistake
  • Issue #136987001: Resource error message rewritting not working properly since 3.5.0-alpha09
  • Issue #137768457: Multiple versions in dependencies.pb file
  • Issue #130596259: MissingResourceException: Can't find bundle for base name org.jacoco.core.jacoco
Gradle Sync
  • Issue #137160057: Internal sync error when syncing androidx project in Studio 3.5 Beta 5
Jetifier
Metrics
Project System
  • Issue #134174287: Exception report: kotlin.KotlinNullPointerException at com.android.tools.idea.gradle.structure.navigation.PsBuildVariantsNavigationPath.queryPlace-ed807e05
Resource Management
Shrinker (R8)
  • Issue #135627418: Gradle Plugin 3.4.1 crashes app on Android 5 devices with Verifier rejected class due to bad method
  • Issue #119626580: Two phases in Class staticizer are seeing different IR code.
  • Issue #138044583: R8 compat mode removes unused constructor
  • Issue #136195382: java.lang.IllegalAccessError after shrinking code with R8 shrinker wrong method is called
  • Issue #132897042: NullPointerException in R8 Following Control Flow Obfuscation
  • Issue #137484867: Converting method to return void does not take local info into account
  • Issue #136697156: R8 fails with "Attempt to define local of type int as moduleSize" (new in AS 3.5-beta05)
  • Issue #135172146: R8 fails with "Undefined value encountered during compilation"
  • Issue #136636007: Remove all .kotlin_metadata from r8 jars
For information on new features and changes in all preview builds of Android Studio 3.5, 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.