Thursday, November 7, 2019

Android Studio 4.0 Canary 2 available


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

Live Layout Inspector

Debug your layout with an updated Live Layout Inspector that provides complete, real-time insights into your app's UI while it's deployed to a device. Along with many of the same features of the existing Layout Inspector, the Live Layout Inspector also includes:
  • A dynamic layout hierarchy that updates as the views on the device change.
  • A property values resolution stack to drill into resources right from the view.
  • Advanced 3D visualization of an app's view hierarchy at runtime.
For more information, see the release notes.

General fixes

This update includes fixes for the following public issues:
Build Core IDE Deployment
  • Issue #137078988: Custom emulators outside of AVD Manager not appearing in AS 3.6
Design Tools
  • Issue #128599052: IDE becomes sluggish while trying to use eye dropper tool from color picker dialog
Gradle
  • Issue #121288180: The databinding annotation processor is injecting an absolute path into KotlinCompile (and maybe AndroidJavaCompile?), which defaults Gradle's remote build cache
  • Issue #135900510: Fix task validation errors
  • Issue #142498320: Execution failed for task ':data:compileDebugLibraryResources'. Android Studio 3.6-beta01
  • Issue #142491708: [AIDL.exe] Kt class reference class which impl AIDL and in lib. catch Unresolved reference [Error].
  • Issue #141861587: Zipflinger creating apk which unzip with empty file permissions
Gradle Sync Kotlin Lint
  • Issue #143455360: Custom lint rules fail to run when another lint.jar uses service loader entries
  • Issue #140344435: Lint does not realised that TypedArray.recycle() will be done by KTX function of TypedArray.use
  • Issue #143501799: ResourceEvaluator#getResource doesn't work for kotlin expressions
New Project Wizard
  • Issue #142890135: Creating new project in existing directory no longer possible in 3.6-beta1
Project Structure Dialog
  • Issue #142526419: AS 3.6b1: Project Structure->Dependencies, Build Variants & Suggestions panes are blank
Rendering
  • Issue #37062283: Layout editor "ClassFormatError: Code attribute in native or abstract methods"
Strings Editor
  • Issue #135209257: Android Studio hangs when loading project when translation editor left open
View Binding
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.