Android Studio 3.5 Beta 5 available


Android Studio 3.5 Beta 5 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).

Fixed issues with predefined Android code styling

We fixed the underlying issues around applying the predefined Android code style for Java and XML, and it is now the default again both for IDE and project schemes. If you have local code style changes, those will be unaffected; you can always reapply the Android code style by selecting Set from > Predefined Style > Android on the Code Style settings page to reapply the defaults. (Issue #131581006)

General fixes

This update also includes fixes for the following public issues:

Core IDE

  • Issue #133666019: New Image Asset wizard (launcher / legacy) does not trim image to selected shape
  • Issue #133771451: IDE ERROR DISPLAY
  • Issue #133066328: Error preview when creating image asset > icon launcher (Preview rendering error: rendering failed – null)

Data Binding

  • Issue #131889243: Studio 3.5 deadlock (Kotlin resolve + databinding)
  • Issue #132367955: AS 3.5 Beta 1 assumes Databinding bindings are Views

Design Tools

  • Issue #133184665: Resource picker doesn’t appear when adding an attribute using Declared Attribute + button

Dexer (D8)

  • Issue #118842646: Ability to selectively suppress warnings during D8 desugaring

Gradle

  • Issue #132840182: ClassNotFoundException on API 21 or 22 device.
  • Issue #133273847: Error: Duplicate resources in gradle plugin 3.5.0-beta01 and 02

Layout Editor

  • Issue #132578769: ConstraintLayout v2.0.0-beta1: Impossible to drop element on layout with data element defined
  • Issue #133789726: GoTo navigation goes to the wrong property or doesn’t work
  • Issue #133225561: Completions does not seem to work in a newly added attribute
  • Issue #134522901: Android Studio full crash every time you undo widget rename
  • Issue #132323234: Long names don’t fit in dropdown menus for attributes and can’t be distinguished
  • Issue #133526948: attributes starting with “__removed” are showing up in the properties panel

Lint

  • Issue #131844902: DefaultJavaEvaluator.getProject sometimes returning /media for /media2/player/…MediaPlayer.java
  • Issue #111487505: Unnecessary warning for Attribute ‘importantForAutofill’ is only used in API level 26 and higher

Navigation

  • Issue #133280833: element can only be included in application manifest

Run Debug

  • Issue #134515798: Improve error reporting when ADB cannot be executed
  • Issue #131786506: IndexNotReadyException in AndroidTestRunConfiguration.getRunnerFromManifest

Shrinker (R8)

  • Issue #132549918: Using -keepparameternames has no effect
  • Issue #134304597: VerifyError: kotlinx/coroutines/AbstractCoroutine at API 17, 18
  • Issue #135210786: NoClassDefFoundError in runtime on API 19 and below when using AGP 3.5.0-beta04
  • Issue #134093979: Unsupported source file type (META-INF/versions/9/module-info.class)
  • Issue #133686361: R8 1.5 issue with Google play core library
  • Issue #134462736: R8 1.5.43 introduce again VerifyError
  • Issue #133215941: VerifyError with Android Annotations
  • Issue #133457361: AbstractMethodError when calling interface provided as Java 8 lambda with R8 on Android Gradle Plugin 3.4.1
  • Issue #132953944: java.lang.VerifyError at api19 and below
  • Issue #134838460: Add support for keep option modifier `includecode`


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.