[go: up one dir, main page]

Release updates archive

Emulator 29.2.11 is now available in the Canary channel. Changes:
  • Fixed an issue when running the Windows emulator on AMD CPUs (with either Windows Hypervisor Platform or the AMD Hypervisor) where when resuming from a snapshot from the AVD Manager in Studio, the emulator would show up as offline.

Emulator 29.2.10 is now available in the Canary channel. Changes:
  • Snapshots now should work again for users who are running on Windows Hypervisor Platform.
  • Fixed issue in GPX/KML file playback where altitude was not passed through.
  • Removed some spammy log prints.


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

enableSeparateAnnotationProcessing option removed

The ability to separate the annotation compilation into different processes has been removed. This option was used to maintain incremental Java compilation when using non-incremental annotation processors; it was enabled by setting android.enableSeparateAnnotationProcessing to true in the gradle.properties file, which no longer works.

General fixes

This update includes fixes for the following public issues:

Data Binding Editing
  • Issue #143867708: The maven library registry is missing many recent libraries, such as CameraX
  • Issue #143867725: Quickfix for library import should import symbol in source file as well
  • Issue #143868567: Library import only works for Kotlin and Java, not XML class references
  • Issue #143868566: Missing layout classes are not shown as unresolved in the editor
  • Issue #143867090: Unresolved library import isn't offered on package names
Gradle Installer Lint
  • Issue #142533357: Duplicate string doesn't work with CDATA
  • Issue #142089724: False Positive [UnusedQuantity] on languages with plurals that are not "one" or "other"
New Project Wizard
  • Issue #141545423: Dynamic feature module referring :nested:app cannot be created
Project System Testing
  • Issue #139793893: Running unit test from the IDE fails due to classpath misconfiguration
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.

Emulator 29.2.9 and AMD Hypervisor 1.2 are now available in the Canary channel. Changes:
  • Snapshots (incl. Quickboot) can now be taken in -no-window mode and resumed with a window, and vice versa.
  • Fixed issue around crash service not being able to start in -no-window mode.
  • Fixed a division by 0 error in UI update.
  • libfontconfig is now bundled with the Linux emulator.
  • Quickboot snapshots now work again for ARM system images.
  • Added telnet console interface to query whether the emulator is running headless or not, via adb emu avd windowtype. Returns:
    • headless if running in -no-window mode
    • qtwindow otherwise
  • Fixed an issue where the emulator process would become a zombie when running on AMD CPUs with the AMD hypervisor and the emulator exited uncleanly. Background, more details


Android Studio 3.6 Beta 4 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.

General fixes

This update also includes fixes for the following public issues:
Data Binding Gradle
  • Issue #142342272: With Android Studio 3.5.0 so-libs are not included when we debug with Run->Debug
  • Issue #141573404: Plugin 3.5.0 fails on sdk addon. 3.4.2 worked fine.
Shrinker (R8)
  • Issue #142203515: ConcurrentModificationException on git_r8-wip-dev
  • Issue #143550696: R8 Outline optimization generates classes with same name resulting duplicate class references
  • Issue #137836288: Removal of class fields have unintended consequences


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.


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

For more information, see the release notes.

Build Speed window

When using Android Studio 4.0 Canary 3 with Android Gradle plugin 4.0.0-alpha03 and higher, the new Build Speed window is available to help you understand and diagnose issues with your build process, such as disabled optimizations and improperly configured tasks. For usage instructions, see the release notes.

Multi Preview

Multi Preview is a visual tool for simultaneously previewing layouts in different devices and configurations, which can help catch potential issues in your layouts.

You can access this feature by clicking on the Multi Preview tab in the top-right corner of the IDE window. For more information, see the release notes.

General fixes

This update includes fixes for the following public issues:
Android App Bundles
Core IDE
  • Issue #143676769: Unsupported color format "rgba(143,253,253,0)"' when converting SVG to vector drawable
Gradle
Project System
  • Issue #130224064: Need KTS parser
  • Issue #124415929: Android Studio not reporting new versions for some dependencies, when using ext variables for version number

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.

Recently, we've advertised a new SDK package for a hypervisor driver that makes it possible to the emulator on AMD CPUs without needing to enable Hyper-V and with performance on par with HAXM (More details).

As part of this effort, we've released the source code of this hypervisor driver to Github:

https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors

Although it is only compatible with the Android Emulator's engine at the moment, it should not be inherently difficult to port to QEMU or other VMMs, as it is contained in a target backend.

Emulator 29.2.8 and AMD Hypervisor 1.1 are now available in the Canary channel. Changes:
  1. Removed various spammy log messages.
  2. Stopped doing some adb commands right on emulator startup as it seems to corrupt state and cause hangs (instead, delaying them until after boot complete).
  3. Updated crash reporting libraries.
  4. Fixed hang issue with AMD Hypervisor that occurred on some AMD CPUs. This needs an update and reinstall of the AMD Hypervisor package. More details
Android P x86 System Images (Google Play, Google APIs) with ARM to x86 Translation are now available in all channels. This enables running native ARM apps on the x86 system images, which has much higher performance. More details

Android 10 System Images have been updated to a more recent version of GMSCore and are available in all channels.


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.


Android Studio 3.6 Beta 3 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.

Attach Kotlin-only APK sources to Profiler

It is now possible to attach Kotlin-only external APK sources to the Profiler. Follow the user guide for attaching Java files (.java), but instead select your Kotlin source files (.kt).

General fixes

This update also includes fixes for the following public issues:

Gradle Kotlin Lint
  • Issue #143455360: Custom lint rules fail to run when another lint.jar uses service loader entries
  • Issue #143501799: ResourceEvaluator#getResource doesn't work for kotlin expressions
Shrinker (R8)
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.

Android Studio 3.5.2 is now available in the Stable channel.

If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Update (Android Studio > Check for Updates on macOS). Otherwise, you can download here.

This minor release improves stability and performance, and includes fixes for the following issues:

Gradle
  • Issue#141927977: Constraint reason strings can take too much memory on large projects
Layout Editor
Core IDE
  • Issue #140220674: Setting JDK location to JAVA_HOME in project structure dialog does not set JDK location to JAVA_HOME.
  • Issue #142002567: Android Studio 3.5.1 fails to sync
  • Issue #129261435: Android syncing hangs if distributionSha256Sum mismatches after upgrade
Databinding
  • Issue #140999936: AGP 3.6-alpha11: error: cannot generate view binders java.lang.StackOverflowError
  • Issue #142130560: Arch components github sample does not compile with AGP 3.6.alpha11
  • Issue #141633235: data binding crashes if you have Foo extends LiveData<Foo>

For information on new features and changes in all releases of Android Studio, see the Android Studio release notes.

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.

Emulator 29.2.7 is now available in the Canary and Dev channels. Changes:
  • emulator-headless is now retired. Headless builds of the engine are now launched via emulator -no-window, thus unifying the previously separate (but similar) paths.
  • Fixed issue on API 22 system images where if using the swiftshader_indirect renderer, black frames would result on video playback.
  • Fold/unfold button now works more reliably.
  • Fixed issue where LD_PRELOAD was clobbered by the Linux emulator.
  • Fixed various possible crashes on exit.
  • Added interface to screenshot to a particular PNG file instead of one with an autogenerated filename. Usage:
    • adb emu screenrecord screenshot customFileName.png
  • (Requires future system image update) Fixed issue where Unity Vulkan examples would not work out of the box.