Monday, December 23, 2019

Android Studio 4.0 Canary 7 available


Android Studio 4.0 Canary 7 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.

CPU Profiler UI Upgrades

Based on your feedback, the CPU Profiler UI has been overhauled to provide a more intuitive workflow, with new customization options and an updated layout.

For more information, see the release notes.

Profilers and Live Layout Inspector fixed

Starting with Android Studio 4.0 Canary 5, the Live Layout Inspector and the Profilers did not function correctly on Windows, causing the following error message:
transfer error: couldn't create file: Read-only file system.

To fix this issue, upgrade to Android Studio 4.0 Canary 7 or higher.

General fixes

This update includes fixes for the following public issues:
Bundletool Core IDE
  • Issue #144939147: New Vector Asset / Image Asset places drawables in the wrong folder when using multiple resource directories in a sourceSet
Data Binding Gradle
  • Issue #145770669: Disabling android.defaults.buildfeatures.aidl and renderscript breaks lint task
  • Issue #119135578: Find a way to determine whether a third-party library should be jetified
  • Issue #146205003: Instant execution - DexArchiveBuilderTask task loading
  • Issue #134858541: App is not signed with v1 scheme when using minSDK 24, even when enabled explicitly
  • Issue #142242084: assembleDebug fails with FileNotFoundException on AS 3.6 Canary 12
  • Issue #140747218: Improve error messages for exceptions thrown from Jetifier
  • Issue #145683928: LintPlugin creates tasks in a non lazy way
Layout Editor Lint
  • Issue #145687664: Analyze -> Inspect Code -> Lint -> Remove all unused resources | strips an androidx.navigation file of its ids
Motion Editor New Project Wizard
  • Issue #146252332: Bug: new project wizard always puts the new project into last opened path, instead of last creation path
  • Issue #146413736: Empty icons in new activity wizard (4.0 C6)
Project Structure Dialog Resultstore
  • Issue #145950498: BEP upload failed: UNAVAILABLE: UNAVAILABLE: Policy checks are unavailable
Shrinker (R8) Templates View Binding
  • Issue #142739020: Enabling ViewBinding breaks gradle configuration of com.android.test plugin

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