Android Studio 4.1 Canary 5 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.
New Database Inspector
Inspect, query, and modify your databases in your running app using the new Database Inspector. To get started, deploy your app to a device running API level 26 or higher, and select View > Tool Windows > Database Inspector from the menu bar.
To learn more, see the release notes.
General Fixes
Android Gradle Plugin- Issue #152759930: Main dex list fails w/o javac output
- Issue #152428342: Build seems to be stuck
- Issue #146869072: Task failed on mergeExtDex
- Issue #146165298: Android library projects should only apply multidex to androidTestImplementation
- Issue #142449264: Resource shrinker: Avoid keeping entire R class
- Issue #146012747: Specify printconfiguration to ProGuard/R8 with a path to the mapping directory
- Issue #144298710: Add registerKotlinGeneratingTask (or improve the documentation of registerJavaGeneratingTask)
- Issue #150325708: Build Flavour resets itself to default each time I restart Android Studio
- Issue #151860061: Data binding errors persist even after the root cause has been fixed
- Issue #151964515: Endless loop when displaying JavaDoc for styles with cycles
- Issue #151496808: [BUG][4.0.0-beta02] LayoutInspector -> [+ Select Process ] Button does nothing...
- Issue #132441250: Create lint check for static final usages of JBUI.scale()
- Issue #150292219: Lint runs twice as slow on AGP 4 Beta 1 + False Positive
- Issue #151289778: [AGP 4.0.0-beta02] Lint fails with Java OutOfMemoryError
- Issue #150198810: Bug: false positive error of version check
- Issue #119314730: Running any inspection displayed as "Running Android Lint"
- Issue #151765078: Key validity input is too small in "New Key Store" dialog
- Issue #144274828: "Build resource" action runs JPS builder in Android Studio
- Issue #150583984: ApkProvisionException: No outputs for the main artifact of variant: debug
- Issue #150274427: RET should be handled by the ASM jsr inliner
For information on new features and changes in all preview builds of Android Studio 4.1, 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.