[go: up one dir, main page]

Release updates archive

HAXM 7.3.0 is now available in all channels.

Android Emulator 28.0.6 is now available in the Canary and Dev channels.


HAXM 7.3.0 changes:
  • Improved memory-mapped I/O (MMIO) handling (#42).
  • Improved host CPU feature detection (#63).
  • Fixed INVEPT errors for macOS and 32-bit Windows hosts (#69, #64).
  • Fixed a BSOD that had affected some Android Emulator users on Windows 10 version 1803 (#68).
  • Fixed a driver signature issue that had prevented some Windows 7 users from installing HAXM (#56).
Direct links

https://dl.google.com/android/repository/extras/haxm-macosx_v7_3_0.zip
Android Emulator 28.0.6 changes:

Snapshots
  • Fixed sudden exit to desktop when deleting the currently loaded snapshot.
  • Removed spurious print on refresh of snapshot RAM file.
Initialization
  • Fixed crash on startup when parsing QEMU drive options if "file" parameter was not specified.
QEMU
  • Fixed leak of AIO context on Windows.
Note on emulator slowness: We've heard from some users that the emulator is slower than before, even after we fixed the hw.ramSize setting. If you are still experiencing problems with slowness on recent API levels (27, 28) versus earlier (23-26) we would appreciate your feedback. Please provide detailed information on your host OS, GPU, and CPU.

Note on non-ASCII characters: We would like to look into better handling of non-ASCII characters on Windows. If the emulator has trouble handling non-ASCII characters, especially when the language setting is not English, we would also appreciate your feedback. Please provide detailed information on your Windows locale and language settings, and what kind of strings were causing issues.

Direct links

https://dl.google.com/android/repository/emulator-windows-4985941.zip
https://dl.google.com/android/repository/emulator-darwin-4985941.zip
https://dl.google.com/android/repository/emulator-linux-4985941.zip

We just released ConstraintLayout 1.1.3. It’s available from the google maven repository:

dependencies {
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
}

Or if you are using AndroidX:

dependencies {
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
}

This release contains a few fixes as well as several performance optimizations. Specifically, chains optimizations are now turned on by default and should result in measurable performance increase on older devices.

We recommend to update to this release.

Fixes and changes:
  • Barriers clone() in ConstraintSet
  • When setting ids of views programmatically, constraints were not correctly updated
  • Barriers position fixes with centered connections
  • Chains evaluation not correctly reset in some situations resulting in large performance penalty
  • Max constraints fixes
  • Chains optimisations are turned on by default (app:layout_optimizationLevel)

Documentation is available on https://developer.android.com/reference/android/support/constraint/ConstraintLayout.html


Android Studio 3.3 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 Mac). Otherwise, you can download it here.

This update includes fixes for several bugs, including the following:
  • Layout Editor was incorrectly reporting that a horizontal constraint was missing.


For information on new features and changes in previous releases of Android Studio, 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 Emulator 27.3.10 is now available in the Stable channel as a version number update. It contains the same change as in the 27.3.9 bugfix update:

RAM size configuration fix
  • Recently, users have reported that the emulator is slower than before. We have tracked this down to the AVD RAM size in the AVD's config.ini being set incorrectly. To mitigate this, the emulator increases the minimum RAM level for API 26+ images to the Android Studio default, 1536 MB. Please file a bug if your AVD's config.ini is not listing hw.ramSize in megabytes. The file can be found in the data directory of the AVD:
    • ~/.android/avd/<avdname>.avd/config.ini
Direct links

https://dl.google.com/android/repository/emulator-windows-4969155.zip
https://dl.google.com/android/repository/emulator-darwin-4969155.zip
https://dl.google.com/android/repository/emulator-linux-4969155.zip


Android Studio 3.2 Release Candidate 2 (RC2) is now available in the Beta channel.

This update includes some bug fixes and the following behavior changes:

  • Android Gradle Plugin 3.2.0 now uses SDK build tools 28.0.2 by default.
  • The default version of D8 and R8 is now 1.2.43.

Additionally, there are several known issues in the bundled Kotlin 1.2.60 plugin. We recommend that you update to Kotlin plugin version 1.2.61 after installing Android Studio.

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 Mac). Otherwise, you can download it here.

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

A bug-fix update for Android Emulator 27.3.9 is now available in the Stable channel.

Android Emulator 28.0.4 is now available in the Canary and Dev channels.
27.3.9 bug-fix update
  • Recently, users have reported that the emulator is slower than before. We have tracked this down to the AVD RAM size in the AVD's config.ini being set incorrectly. To mitigate this, the emulator increases the minimum RAM level for API 26+ images to the Android Studio default, 1536 MB. Please file a bug if your AVD's config.ini is not listing hw.ramSize in megabytes. The file can be found in the data directory of the AVD:
    • ~/.android/avd/<avdname>.avd/config.ini
28.0.5 Canary
Snapshots
  • Starting the emulator from the command line with a snapshot (using the -snapshot command line option) will disable saving Quickboot on exit. This is to reduce unintentional overwriting of the Quickboot snapshot and to avoid using a slow fallback path that does not use file-backed Quickboot.
  • Fixed an issue where when upgrading from an older emulator version and running file-backed Quickboot for the first time, the Quickboot snapshot would get invalidated repeatedly.
  • We have received crash reports in which there was a crash on snapshot save or load. We have added more logging to OpenGL snapshots to debug the issue. If you are experiencing crashes, please file an issue.

Multiple AVD instances
We fixed an issue that caused launching multiple AVD instances with -read-only to fail on Windows.


Android Studio 3.2 Release Candidate 1 (RC1) 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 Mac). Otherwise, you can download it here.

This update includes fixes for the following bugs:
  • Method minification with R8 did not complete in some cases.
  • Projects created in Android Studio used old dependencies and class names instead of new androidx names.


This update also includes a new version of the Jetifier library (1.0.0-alpha10), which is included in the updated Android Gradle Plugin (AGP 3.2.0-rc01).

For information on new features and changes in all preview builds of Android Studio 3.2, 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.3 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 Mac). Otherwise, you can download it here.

This update includes the following new features and changes in behavior:
  • You can now open the Android Virtual Device manager from the Welcome screen.


This update includes fixes for several bugs, including the following:
  • Project Structure Dialog was improperly formatting compileSdkVersion values.
  • Fixed several caching and performance issues related to data binding.
  • Fixed various issues with Lint.


For information on new features and changes in previous releases of Android Studio, 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 Emulator 28.0.4 is now available in the Canary and Dev channels.

This update includes two major changes:
  • Increase of minimum RAM level for API 26+ images to 1536 MB (Studio default): Recently, users have reported that the emulator is slower than before. We have tracked this down to the AVD RAM size in the AVD's config.ini being set incorrectly. To mitigate this, the 28.0.4 emulator increases the minimum RAM level for API 26+ images to the Studio default (1536 MB). Please file a bug if your AVD's config.ini is not listing hw.ramSize in megabytes. The file can be found in the data directory of the AVD:
    • ~/.android/avd/<avdname>.avd/config.ini
  • File-backed saving of Quickboot snapshots: a performance enhancement for snapshots.
File-backed saving of Quickboot snapshots

By pre-allocating and mapping guest RAM as a file, Quickboot snapshots can be saved automatically as the emulator runs, instead of doing all of the work on exit. By default, like before, the Quickboot snapshot is saved on exit and loaded again every time, like suspending and waking a real device.

Because guest RAM is now auto-saved by default, if you want to establish some state in the beginning and repeatedly load from that state, discarding changes in each session, you need to decide in the beginning whether or not to discard changes. This can be done in two ways:
  1. Add -no-snapshot-save to the command line
  2. Go to Extended Controls > Snapshots > Settings and switch Auto-save current state to Quickboot to No. (A restart of the emulator is required).
Multiple emulator instances started with -read-only disable auto-saving, but now use any existing Quickboot RAM file as a common source of copy-on-write memory. This allows the user to start multiple AVD instances that share much of their RAM in common, making it easier to run tests involving multiple devices in parallel.

Snapshots taken and loaded through the Snapshots UI function as they did before.

Since this is a large change in how Quickboot works, we would greatly appreciate feedback on whether it improves Quickboot performance and what kind of issues you encounter when using it.

Other changes
  • Accessibility: Added better support for screen readers in the Screen Record and Snapshot UI.
  • Location: Virtual GPS device now sends the RMC set of data which additionally includes speed and bearing information. This change will also require a future system image update to take effect. More info
  • Graphics: Emulator now supports ASTC LDR compressed textures (GL_KHR_texture_compression_astc_ldr) if using latest API 28 system images.


Android Studio 3.3 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 Mac). Otherwise, you can download it here.

This update includes the following new features and changes in behavior:
  • You can now view a list of active Gradle Daemons in Android Studio. To do this, double-press the Shift key to bring up the Search Everywhere dialog, type "Show Gradle Daemons", and click on the Show Gradle Daemons result that appears.
  • Linter now produces a warning if using a vector image larger than 200 x 200 dp.
  • The Navigation Editor supports new argument types from library versions 1.0.0-alpha03 and 1.0.0-alpha04.
  • Single-variant project sync: Syncing your project with your build configuration is an important step in letting Android Studio understand how your project is structured. However, this process can be time-consuming for large projects. If your project uses multiple build variants, you can now optimize project syncs by limiting them to only the variant you have currently selected.

    When syncing your project using Android Studio 3.3 Canary 6 or higher, the IDE prompts you to enable this optimization.

    To enable this optimization manually, click File > Settings > Experimental > Gradle (Android Studio > Preferences > Experimental > Gradle on a Mac) and check Only resolve selected variants. Note: This optimization currently supports projects that include only the Java programming language. If, for example, the IDE detects Kotlin or C++ code in your project, it does not automatically enable this optimization, and you should not enable it manually.



This update includes fixes for several bugs, including the following:
  • Users were unable to install JetBrains plugins.
  • Android Studio wasn't properly resolving kotlinx.android.synthetic.* imports.
  • Linter was producing false positive MissingTranslation errors for Japanese strings.
  • When using synthetic properties from the Kotlin Android Extensions plugin, the linter was improperly marking some ID values as unused.
  • Quick fix for findViewById resulted in a compilation error.
  • Using @BindingAdapter with duplicate values now results in a warning along with a log entry.


For information on new features and changes in previous releases of Android Studio, 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 Emulator 28.0.3 is now available in the Canary and Dev channels.

This update includes the following changes:
  • Snapshots: 
    • Fixed crashes that could occur on snapshot load on boot and from the UI.
    • Optional experimental feature: File-backed Quickboot: To address concerns with slow emulator snapshot saves, we are experimenting with using a mapped file to act as the backing storage for guest RAM, so that saves and loads use the machinery of mmap() on the underlying host. This may improve performance.

      There are two ways to use the feature:

      • Run the emulator from the command line with the -feature QuickbootFileBacked flag.
      • Add the following line to the file ~/.android/advancedFeatures.ini:

        QuickbootFileBacked = on

        Create this file if it doesn't already exist.

    • By default, the Quickboot snapshot is saved on exit and loaded again every time, like suspending and waking a real device. However, if you would like to establish some state in the beginning and repeatedly load from that state, discarding changes in each session, add -no-snapshot-save to the command line, or go to Extended Controls > Snapshots > Settings and switch Auto-save emulator state? to No. (A restart of the emulator is required).
  • Insufficient memory message: If the emulator is unable to start due to insufficient free RAM, an error message is displayed. If you are on Windows and notice that there is RAM free, but you are still unable to start the emulator, the commit charge may have been exceeded. See this troubleshooting page.
  • Graphics: Most modern GPUs should now be able to launch the emulator with OpenGL ES 3.x enabled by default, and not require the activation of a separate GLESDynamicVersion feature flag.

We just released the second alpha release of ConstraintLayout 2.0. It’s available from the google maven repository:

dependencies {
    implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha2'
}

or the androidX variant:

dependencies {
    implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
}

Beyond fixes and new features in MotionLayout (Arc mode, TimeCycle keyframes, color drawable interpolation) we added a new optimization mode in ConstraintLayout that you can trigger by using the app:layout_optimizationLevel=”standard|groups”.  Feedback encouraged!


Fixes and additions:

  • Minimum SDK is now 14
  • New “groups” optimizations in ConstraintLayout
  • ConstraintSet fix (issue when cloning a barrier)
  • MotionLayout bugfixes (transition listener and others)
  • Adding support for color drawable interpolation in MotionScene (custom attribute)
  • Adding Arc motion mode
  • Adding OnSwipe support with no target
  • Adding TimeCycle keyframes
  • Changing easing curve to be applied on start
  • Rename motion:type attribute in keyframes to motion:keyPositionType to prevent clash with the navigation library


Android Studio 3.3 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 Mac). Otherwise, you can download it here.

This update includes the following new change in behavior:
  • versionCode is now required to be a positive number. Using a value less than 1 results in a build error.

This update includes fixes for several bugs, including the following:
  • Layout Editor was still handling input after losing focus.


For information on new features and changes in previous releases of Android Studio, 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.

The Android Studio 3.1.4 bug-fix update is available in the stable release channel.

This update fixes several bugs. For a list of fixes in this update, see the Android Studio 3.1.4 release notes.

If you already have Android Studio installed, you can get the update by clicking Help > Check for updates (Android Studio > Check for updates on Mac). Otherwise, you can download it here.

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 Emulator 28.0.2 is now available in the Canary and Dev channels.

This update includes the following changes:
  • Windows
    • Fixed a crash on snapshot save when guest AVD RAM was set to 4 GB or greater.
    • We have noticed that some Windows emulator users have been unable to launch the emulator due to exceeding the RAM commit charge. We have detailed the issue in the Troubleshooting page.
  • macOS
    • Fixed sporadic crashes, including an abort due to opening too many instances of /dev/urandom.
  • Linux
    • Fixed issue that caused the emulator to fail to start after the first time if ADB was terminated forcefully.
  • Command Line
    • The -sysdir command line option now properly overrides the inferred system image directory. Issue
  • Graphics
    • Some older GPUs did not support OpenGL 2.1 or greater (which is required), or had reliability issues, resulting in crashes on start, freezes, or general inability to use the emulator on the default GPU setting. The emulator now auto-switches to the Swiftshader renderer if it detects that these GPUs are in use.


Android Studio 3.3 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 Mac). Otherwise, you can download it here.

This update includes the following new features and changes in behavior:
  • The SliceProvider template has been updated.
  • The bundle Gradle task can now generate universal APKs.
  • The Navigation Editor now sorts attributes in dropdown lists alphabetically.
  • Updated Project Structure dialog: Android Studio 3.3 Canary 4 introduces updates to the Project Structure dialog (PSD). When you open the dialog by selecting File > Project Structure from the menu bar, you can manage how your project is configured with the following new features:

    • Visualize the actual structure of a project, as resolved by Gradle as a project sync. For example, you can visualize the dependency graph of each module.
    • Get notifications when new versions of your library dependencies are available.
    • Configure a project through the dialog UI, without manually editing build.gradle files.

    Note: If your existing build configuration files include complex Groovy scripts, some features of the new PSD may not work as intended. Additionally, you can not edit build files written in Kotlin using the PSD.

  • Provide quick feedback: If you've opted into sharing usage statistics to help improve Android Studio, you'll see two new icons in the status bar at the bottom of the IDE window--a smiling face and a frowning face. Simply click the icon that best represents your current experience with the IDE. When you do so, the IDE sends usage statistics that allow the Android Studio team to better understand your sentiment. In some cases, such as when you indicate a negative experience with the IDE, you'll have an opportunity to provide additional feedback.

    If you haven't already done so, you can enable sharing usage statistics by opening the Settings dialog (Preferences on a Mac), navigating to Appearance & Behavior > System Settings > Data Sharing, and checking Send usage statistics to Google.



This update includes fixes for several bugs, including the following:
  • Data binding was causing issues with caching task outputs.
  • MergeSourceSetFolders was using the worker API regardless of the flag that was set.
  • The Fabric plugin couldn't easily access a project mapping file.
  • Adding MultiDexApplication as an application name was broken when using AndroidX.
  • Building bundles with R8 enabled was causing crashes.
  • CMake server mode was causing issues with C++ code completion.
  • Some folders weren't properly marked as non-source folders, causing some issues.
  • JNI_OnLoad and JNI_OnUnload now show quick fixes if parameter or return types are incorrect.
  • Documentation preview wasn't properly handling certain types of content.
  • Fractional HiDPI wasn't working properly on Windows machines.
  • Layout editor was improperly displaying small fonts on HiDPI monitors.
  • In some cases, the Navigation Editor wasn't recognizing NavHosts.
  • The API Version Distribution chart was out of date.
  • Using analyzeProjectStructure on a large project was resulting in an ArrayIndexOutOfBoundsException.
  • Device File Explorer files was saving files to a set location. This is now configurable.
  • The Force HTTP setting in the Android Studio SDK updater was being ignored.
  • The Android Studio SDK updater was prohibiting proxy caching.


For information on new features and changes in previous releases of Android Studio, 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.