Tuesday, August 13, 2019

Android Studio 3.6 Canary 6 available


Android Studio 3.6 Canary 6 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 macOS). Otherwise, you can download it here.

Fixed issues where IDE hangs or freezes when editing XML files

We've fixed the underlying issues that were causing the IDE to hang or freeze after accepting an autocomplete suggestion in the XML editor. For more information, see Issue #133864394. If you continue to experience performance issues while editing XML files, please file a bug.

General fixes

This update includes fixes for the following public issues:
Binary Intelligence
  • Issue #137768457: Multiple versions in dependencies.pb file
  • Issue #136567112: Update Gradle so that runtime and package time dependencies are not conflated for dynamic-features
Build
  • Issue #134989020: Android Gradle Plugin 3.6.0-alpha03 assumes ninja binaries next to CMake
  • Issue #138404837: AS 3.6 build variants are not switched to compatible variants automatically
Data Binding
  • Issue #136194613: BR fields no longer generated for @Bindable properties
  • Issue #126775542: Testing with Robolectric 4.0 on DataBinding enabled lib modules will throw `java.lang.NoClassDefFoundError: androidx/databinding/DataBinderMapperImpl`
Editing
Gradle
Gradle C++
  • Issue #134374003: Android Gradle Plugin: “Expected output file at … for target … but there was none” when CMakeLists defines object libraries
Kotlin
  • Issue #66890777: Bug: no quick-fix for missing "when" cases (the equivalant to "switch-case" in Java)
Layout Editor
Lint
  • Issue #131114390: Bug: quick-fix of adding permission check doesn't do anything
  • Issue #137035119: GradleModelMocker persists across lint invocations during tests causing an assertion to fail
Project Structure Dialog
Project System
  • Issue #137949567: Extra space or font alignment problem in gradle sync message
Shrinker (R8)
Testing
  • Issue #37132226: [AS 2.3] Missing extra runner parameters field in Run Configuration for Android Instrumentation Tests
  • Issue #113305007: Android instrumented test never starts in debugging mode.

For information on new features and changes in all preview builds of Android Studio 3.6, 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.