[go: up one dir, main page]

Release updates archive

Emulator 29.1.12 is now available in the Canary and Dev channels. Changes:
  • Fixed an issue that could lead to INSTALL_FAILED_DEXOPT on older API levels when installing APKs.
  • Vulkan apps are now available by default on Android API 29 and later images (depending on host GPU support; some GPUs and driver versions excluded due to GPU/driver specific issues).
    • Note: macOS host GPU Vulkan is not currently supported well, so it is disabled by default. Running with Vulkan Swiftshader is limited due to currently unavailable external memory/semaphore extensions.


Android Studio 3.6 Canary 9 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 default packaging tool

When using Android Gradle plugin 3.6.0-alpha09 or higher to build the debug version of your app, the plugin uses a new packaging tool, called zipflinger, to package your APK. This new tool should provide build speed improvements. However, if you experience issues, please report a bug. You can also revert to using the old packaging tool by including the following in your gradle.properties file:
android.useNewApkCreator=false

To learn more, read the Android 3.6 Preview release notes.

General fixes

This update includes fixes for the following public issues:
APK Viewer
  • Issue #71548335: Selecting and copying (cmd+c) bytecode in APK Analyzer puts "/classes.dex" in the clipboard
Build
Gradle
  • Issue #139017699: AGP 3.6.0-alpha05 fails to compile. Unresolved reference to included layout file
Gradle Sync
Project System
  • Issue #130257706: "Quick documentation" for Android SDK is actually unacceptably Slow, by default.
  • Issue #129008025: Move download of javadoc/source from Gradle to Studio
Resource Management

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.6 Canary 8 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.

General fixes

This update includes fixes for the following public issues:
APK Debugging
  • Issue #112411103: APK sometimes getting locked when using 'Profile or Debug APK...'
Core IDE
  • Issue #138841328: ResourceFolderRepository is loading out-of-date cache "entries"
Data Binding
  • Issue #139096339: Invalid red underline for method reference syntax for "View" arg function #task
Firebase Test Lab
  • Issue #139177566: [Studio 3.6 Canary 6] [Firebase TestLab] NPE has observed while testing application on Firebase console.
Gradle
Gradle C++

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.6 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.

Support for the Maven Publish Plugin

Android Gradle plugin 3.6-alpha07 now includes support for the Maven Publish Gradle plugin, which allows you to publish build artifacts to an Apache Maven repository. The Android Gradle plugin creates a component for each build variant artifact that you can use to customize a publication to a Maven repository. To learn more, see Support for the Maven Publish plugin.

General fixes

This update includes fixes for the following public issues:

APK Debugging
  • Issue #112411103: APK sometimes getting locked when using 'Profile or Debug APK...'
Build
  • Issue #138404837: AS 3.6 build variants are not switched to compatible variants automatically
C++
Core IDE
  • Issue #138841328: ResourceFolderRepository is loading out-of-date cache "entries"
Data Binding
  • Issue #139096339: Invalid red underline for method reference syntax for "View" arg function #task
  • Issue #127149948: Incorrect highlight error: ` ']' expected, got '(' `
  • Issue #131115695: getter and setter is shown as variable for bindings, clicking getter inserts actual variable
Deployment
  • Issue #136412387: Android studio shows error while launching app when app name contains "Error"
Editing
  • Issue #117112752: "Go to related symbols" not working in Activities and Fragments created with Kotlin
Gradle
Gradle C++
Lint
  • Issue #138132330: "Android XML element is not allowed" Inspection Unaware of for FileProvider
  • Issue #138668379: Bug: Lint check warns about Android-X stuff having typos
Project System
Testing

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.

Emulator 29.1.11 is now available in the Canary and Dev channels. Changes:
  • Fixed issue where fold/unfold button didn't work (contents did not resize).

Android Studio 3.5 is now available in the Stable channel. You can download it here.

For an overview of what's new in this release, see either the release notes or this blog post on the Android Developers blog.

Emulator 29.1.10 Canary is now available in the Canary and Dev channels. This includes support for multiple displays (along with Android Q Beta 6) and the following changes:
  • Improved Android Q Vulkan 1.1 CTS conformance. Full conformance work is done but not yet released and will require a future release of the Android Q system image.
  • Fixed an issue where Android Q Beta 6 would fail to start up when using the WHPX hypervisor.
    • Due to issues using snapshots with WHPX, snapshot save is now always skipped when using WHPX. We recommend deleting ~/.android/avd/avdName.avd/snapshots when on WHPX for now.

Emulator 29.1.10 Canary and Android Q Beta 6 - Multi-Display Support







Emulator 29.1.10+ along with Android Q Beta 6 includes preliminary support for multiple virtual displays. Users can configure multiple displays either through the UI (Extended Controls > Settings) or by modifying the config.ini file in the AVD folder.

Multiple displays can also be configured on startup from the AVD's config.ini (~/.android/avd/avdName.avd/config.ini). The state of the configuration is also saved across snapshot save and load. To configure multiple displays in config.ini, use the newly-introduced hw.displayN properties. For example:

hw.display1.width = 800
hw.display1.height = 1200
hw.display1.density = 320
hw.display1.xOffset = -1
hw.display1.yOffset = -1
hw.display1.flag = 0
hw.display2.width = 800
hw.display2.height = 1200
hw.display2.density = 320
hw.display2.xOffset = -1
hw.display2.yOffset = -1
hw.display2.flag = 0


Width and height refer to the width and height of the additional display in pixels. The pixel density must meet the requirements below, per version 9 of the Android Compatibility Definition Document.

120 <= dpi <= 640
320 * (dpi / 160) <= width
320 * (dpi / 160) <= height


If xOffset and yOffset are both -1, the emulator automatically computes the layout for each display. If setting other values, note that the origin is the top left corner of the main window. The flag field is reserved for future use.

To configure multiple displays through the UI, click right toolbar → (the more items icon) → Settings, and configure the additional displays there. The maximum number of supported displays is ten.


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.

Emulator 29.1.9 is now available in the Canary and Dev channels. Changes:
  • Restricted VM heap size calculation. 576 MB is now the maximum allowed.
  • Vulkan: Fixed memory leak from vkAllocateDescriptorSets.


Android Studio 3.5 Release Candidate 3 (RC3) 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.

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
Gradle
  • Issue #137729143: Resources overriding strategy between external and local libraries resources is broken
Gradle Sync
Lint
Shrinker (R8)
  • Issue #132897042: NullPointerException in R8 Following Control Flow Obfuscation
  • Issue #138044583: R8 compat mode removes unused constructor
  • Issue #135172146: R8 fails with "Undefined value encountered during compilation"
  • Issue #138668220: R8 fails when excuting task ":wallet:transformClassesAndResourcesWithR8ForRelease"

For information on new features and changes in all preview builds of Android Studio 3.5, 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.1.8 is now available in the Canary and Dev channels. Changes:
  • Support for a wider range of keyboards. Previously the emulator would only pass a narrow range of keycodes to the guest, corresponding to a US QWERTY keyboard. This made it difficult to use the emulator with non-US keyboards.
  • Fixed an issue on macOS where Ctrl-C would not kill emulators launched from the command line.
  • Fixed an issue on macOS where SIGTERM was being ignored (and kill <emu-pid> would not gracefully exit the emulator).
  • Fixed an issue where numbers entered via numpad entry would not be recognized on the emulator. https://issuetracker.google.com/issues/135141621
  • Fixed crash when opening the Performance Stats window twice.


Android Studio 3.5 Release Candidate 2 (RC2) 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 includes fixes for the following public issues:

AndroidX
  • Issue #137277710: Update mappings to match https://developer.android.com/jetpack/androidx/migrate
  • Issue #137073253: Missing exoplayer migration rule in "Migrate to AndroidX"
Apply Changes
  • Issue #137795791: Exception during delta push: java.io.IOException: write failed: EBADF (Bad file descriptor)
Core IDE
Dexer (D8)
Gradle
  • Issue #135665414: Aapt exception points to AndroidManifest by mistake
  • Issue #136987001: Resource error message rewritting not working properly since 3.5.0-alpha09
  • Issue #137768457: Multiple versions in dependencies.pb file
  • Issue #130596259: MissingResourceException: Can't find bundle for base name org.jacoco.core.jacoco
Gradle Sync
  • Issue #137160057: Internal sync error when syncing androidx project in Studio 3.5 Beta 5
Jetifier
Metrics
Project System
  • Issue #134174287: Exception report: kotlin.KotlinNullPointerException at com.android.tools.idea.gradle.structure.navigation.PsBuildVariantsNavigationPath.queryPlace-ed807e05
Resource Management
Shrinker (R8)
  • Issue #135627418: Gradle Plugin 3.4.1 crashes app on Android 5 devices with Verifier rejected class due to bad method
  • Issue #119626580: Two phases in Class staticizer are seeing different IR code.
  • Issue #138044583: R8 compat mode removes unused constructor
  • Issue #136195382: java.lang.IllegalAccessError after shrinking code with R8 shrinker wrong method is called
  • Issue #132897042: NullPointerException in R8 Following Control Flow Obfuscation
  • Issue #137484867: Converting method to return void does not take local info into account
  • Issue #136697156: R8 fails with "Attempt to define local of type int as moduleSize" (new in AS 3.5-beta05)
  • Issue #135172146: R8 fails with "Undefined value encountered during compilation"
  • Issue #136636007: Remove all .kotlin_metadata from r8 jars
For information on new features and changes in all preview builds of Android Studio 3.5, 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.