Wednesday, June 26, 2019

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). Otherwise, you can download it here.

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
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
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
Run Debug
  • Issue #134515798: Improve error reporting when ADB cannot be executed
  • Issue #131786506: IndexNotReadyException in AndroidTestRunConfiguration.getRunnerFromManifest
Shrinker (R8)

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.