[go: up one dir, main page]

Release updates archive


Android Studio 3.5 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.

This update includes fixes for the following public issues:
  • Issue #124471103: lint.jar does not show up in packaged AAR libraries when using lintPublish
  • Issue #124437190: Artifact collection during MergeResources task can take very long for sufficiently large dependency graphs.
  • Issue #111056281: AAPT2 does not disable versioning of ObjectAnimator resources referenced in animated vector drawables
  • Issue #119372339: SVG containing clip paths and transforms does not preview or export to VectorDrawable correctly in Android Studio
  • Issue #124232663: Read access exception when pasting string in property panel (from NlComponentBackendXml)
  • Issue #119924169: SVG-to-Vector converter breaks if element is declared inside of a element
  • Issue #119882812: Vector Import tool does not render the intended output.
  • Issue #37099520: the "Open File or Project" dialog takes 40 secs or so to display
  • Issue #121341637: Internal lint error
  • Issue #123377555: Custom Lint check not showing up with AS + AGP 3.4.0-beta02
  • Issue #124359884: New Module wizard does not allow creating module in sub folder
  • Issue #124164871: New Fragment Wizard Generates Unused Code
  • Issue #117207347: Studio default set up wizard downloads m2repository
  • Issue #124459240: Update url in code to point to feature plugin migration guide
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 28.1.8 is now available in the Canary and Dev channels. Changes:

Project Marble:
  • There are no direct improvements to CPU/RAM usage in this build, though there are the following compatibility and quality changes:
  • Headless emulator build. When using the emulator for CI, it can be hard to set up due to implicit expectations of the system being able to support Qt along with its shared library dependencies (among other issues).
    • As a first step to address this, we've introduced a variant of the emulator launcher plus QEMU executables that do not depend on Qt. On Linux, there is a remaining link to libX11, but we hope to remove that soon as well.
    • To use the headless emulator, run the emulator from the command line as usual, but replace the emulator binary invocation with emulator-headless. We also provide a review other command line options that can be useful for running in such an environment:
    • $ANDROID_SDK_ROOT/emulator/[emulator|emulator-headless] -avd avdName [-gpu [swiftshader_indirect|host]] [-no-snapshot[-save|-load]] [-read-only] [-no-accel] [-no-window]
      • emulator versus emulator-headless:
        • emulator: Run standard emulator with UI if possible. Qt libraries and their dependencies are linked.
        • emulator-headless: Run emulator without UI. Qt and its dependencies are not included. For now, only kernels on x86_64 and aarch64 are supported. Though, this should cover all x86 system images, x86_64 or not, back to API 27.
      • -gpu option:
        • swiftshader_indirect: Use Swiftshader software renderer, which is the most portable across setups.
        • host: If the machine has a hardware GPU accessible, use host.
      • -no-snapshot:
        • Cold boot and exit without saving a snapshot.
      • -no-snapshot-save:
        • Boot from the last snapshot, if any, but exit without saving a snapshot.
      • -no-snapshot-load:
        • Cold boot and save a snapshot on exit.
      • -read-only:
        • Boot from the last snapshot, if any, and allow multiple simultaneous invocations of the emulator launcher on the same AVD. No snapshots are saved on exit and changes to disk are discarded.
          • If booting from a snapshot, memory is also shared in a copy-on-write manner between AVD instances, which can save memory.
      • -no-accel:
        • This can be useful if the environment does not support virtualization which can be common in Jenkins environments.
      • -no-window:
        • This can be used in conjunction with the normal emulator launcher if Qt libraries are not an issue. Otherwise, run with emulator-headless; the behavior should be identical.
  • Quickboot regression fix. Fixed Quickboot not working with -no-window / headless mode.
  • Landscape frameless mask fix. Fixed wrong masking when frameless AVDs were booted with 'landscape' initial orientation.
  • Qt 5.12. Upgraded Qt libraries to Qt 5.12 LTS.


Android Studio 3.5 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.

This update includes fixes for the following public issues:
  • Issue #122554774: Error before lint: Resolving this BuildableArtifact can only done during task execution.
  • Issue #124227171: Android manifest contains incorrect values for platformBuildVersionCode and platformBuildVersionName
  • Issue #123558506: R8 won't compress APK's kotlin folder
  • Issue #120779854: Android Studio Freezes processing logcat
  • Issue #123409929: Cannot find symbol java.util.List
  • Issue #110463869: Preview tab
  • Issue #123776985: Navigation editor generates wrong reference for arguments that are public static inner classes
  • Issue #120609432: Support Serializable (incl enums) and arrays for arguments
  • Issue #122846702: R class navigation doesn't work with AS 3.3 and AGP 3.2
  • Issue #123985288: Some lint quickfixes that are not registered with autoFix=true are applied by the lintFix gradle task
  • Issue #124329575: [New PSD] Module type is not detected if android plugin is not the first one
  • Issue #124074412: Create API to return the result of "adb devices" from the command line
  • Issue #124070991: Make WindowsParser error handling more robust
  • Issue #123886074: Update the Connection Assistant to decorate devices based on whether ADB and ddmslib sees them
  • Issue #112324902: sdk manager patch merge conflict dialog contrast too low
  • Issue #123677458: Creating a new project should explicitly set project name in settings.gradle via rootProject.name = "..."
  • Issue #123311600: Manifest merger failed when deep linking in navigation graph
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.


Android Studio 3.4 Beta 5 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.

This update includes fixes for the following public issues:
  • Issue #123068209: Classloader leaks in AGP
  • Issue #124227171: Android manifest contains incorrect values for platformBuildVersionCode and platformBuildVersionName
  • Issue #123850906: com.android.tools.r8.errors.InvalidDebugInfoException: Attempt to define local of type float as $i$a$6$let
  • Issue #110463869: Preview tab
  • Issue #124232663: Read access exception when pasting string in property panel (from NlComponentBackendXml)
  • Issue #124232186: Property Panel: down key in popups moves focus on previous element
  • Issue #120609432: Support Serializable (incl enums) and arrays for arguments
  • Issue #122846702: R class navigation doesn't work with AS 3.3 and AGP 3.2
  • Issue #124329575: [New PSD] Module type is not detected if android plugin is not the first one
For information on new features and changes in all preview builds of Android Studio 3.4, 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 28.1.7 is now available in the Canary and Dev channels. Changes:

Project Marble:
  • Added ADB scripts to increase screen-off timeout to INT_MAX milliseconds (~24 days). This is, again, to address high emulator usage at idle. Here is the breakdown:
    • To recap, the most significant source of spinning fans when the emulator is seemingly idle, is tasks started by GMScore shortly after cold boot, plus heavy levels of app updates where the user's entire machine is pegged from installing updated apps in the background.
    • The emulator typically defaults to being on emulated AC charging. This seems to be the top contributor to this heavy level of background activity, especially on Google APIs / Play images with GMScore. Apps download and update all the time, sometimes bringing the guest down to 0% idle for extended periods.
    • If we go to the Extended Controls > Battery page and set the emulator to be without the AC charger ("None" setting) and set the emulator to "Not charging", this greatly decreases background activity.
    • However, if the emulator is on battery power, the screen can turn off by itself, which is undesirable.
    • Because of this, we've changed the emulator to send an ADB command to increase the screen off timeout to INT_MAX milliseconds (~24 days). This allows users to put the emulator on battery power for a better experience due to lower background activity.
    • The exact command is:
      • adb shell settings put system screen_off_timeout 2147483647
    • However, we cannot also put the emulator on battery mode by default right away, due to the possibility of the adb command being dropped and causing unintended screen off events for users.
    • We plan to address this fully by releasing system images with the screen-off timeout setting baked in, so the emulator can safely default to battery mode.
  • Snapshots: On snapshot load, the guest clock is now immediately updated to the current time.
  • UI: Divider lines in the keyboard shortcuts table have been restored.
Vulkan


Android Studio 3.5 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.

This update includes fixes for the following public issues:
  • Issue #123054726: sdkmanager --licenses isn't pulling latest licenses, despite CI build failure saying otherwise
  • Issue #117374693: Android Studio incorrectly warns that s inside of VectorDrawables are unsupported on API 23 and below
  • Issue #118149362: The "Setting" clipart icon creates unnecessary overhead by being drawn too elaborately
  • Issue #122866738: getProcessManifest wrong deprecation alternative in Javadoc
  • Issue #122881612: New R file generation on Studio 3.3 fails to execute
  • Issue #120625735: Gradle sync failed
  • Issue #118596839: C++ parsing errors - wrong paths in android_gradle_build.json
  • Issue #123616298: Space in project path causes cmake 3.10 build to fail
  • Issue #123071299: cmake integration is broken
  • Issue #68178350: Code Style Right margin settings bug
  • Issue #78097962: [bug] Per project Studio settings getting lost.
  • Issue #123178228: AndroidClassWithOnlyInnerClassesBase.: Incorrect package name: 1
  • Issue #120277395: AndroidX compilation failure: "cannot generate view binders: Stream closed"
  • Issue #123071296: Layout Bar ghost image, remains locked on screen. Cannot be removed until AS restart.
  • Issue #73826291: Memory leak in RenderTask.myAssetRepository
  • Issue #120750247: Android Studio 3.3 RC 2: Can not resolve symbol in studio editor for resource created by build phase
  • Issue #123032845: Resource ID can't be resolved in XML and JAVA under some circumstances (but a project is compilable)
  • Issue #123393225: AndroidGotoRelatedProvider no longer finds AAR resources
  • Issue #123089182: False positives for Implicit Sam Conversion check
  • Issue #80205221: Manifest element placed in displays incorrect lint warning
  • Issue #122944954: profiling-failed-in-android-studio-3-3 all apps crash with new AS 3.3 until you disable "adv. profiling"!
  • Issue #123523414: GradleTaskRunners leak whenever app is run
  • Issue #123377557: R class navigation doesn't work with AS 3.3 and AGP 3.1
  • Issue #122553598: Adding new module to an androidx project fails
  • Issue #122885760: In China, gradle sync will fail with "can not get time from google servers"
  • Issue #122955511: ADB Connection Assistant Exception on MacOS
  • Issue #123885701: Record UsbDevice serial numbers on linux
  • Issue #123886676: Record UsbDevice serial numbers on Mac
  • Issue #37104675: ddmlib sometimes loses clients after attach debugger followed by detach
  • Issue #123377224: Run/Debug Configuration dialog's Deployment Target Options drop-down combo box always resets to "Use the device/snapshot drop down" option
  • Issue #37092608: SDK Manager complains about "No space left on device"
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.


Android Studio 3.4 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.

This update includes fixes for the following public issues:
  • Issue #118149362: The "Setting" clipart icon creates unnecessary overhead by being drawn too elaborately
  • Issue #117374693: Android Studio incorrectly warns that s inside of VectorDrawables are unsupported on API 23 and below
  • Issue #110408030: CompatibleScreensManifest cache relocation problem
  • Issue #122950060: Aapt2 compile segfault on 16MB PNG.
  • Issue #120625735: Gradle sync failed
  • Issue #118596839: C++ parsing errors - wrong paths in android_gradle_build.json
  • Issue #123616298: Space in project path causes cmake 3.10 build to fail
  • Issue #123242448: Error: Program type already present: $r8$java8methods$utility$Integer$hashCode$II
  • Issue #123068484: Apk built with R8: java.lang.NoSuchFieldError
  • Issue #122940365: android.enableR8.libraries = false has no effect in Android Studio 3.4-beta1
  • Issue #123730538: Apk built with R8: java.lang.IllegalAccessError
  • Issue #122819537: Processing of Kotlin stdlib with -dontshrink hits a NamingLens assertion
  • Issue #123558506: R8 won't compress APK's kotlin folder
  • Issue #123575857: R8 incorrectly changes private readObject and writeObject to public final in classes implementing Serializable
  • Issue #122066794: Running androidTest from gradle and minifyEnabled shows 'NoClassDefFoundError' for Kotlin
  • Issue #78097962: [bug] Per project Studio settings getting lost.
  • Issue #123178228: AndroidClassWithOnlyInnerClassesBase.: Incorrect package name: 1
  • Issue #120687935: Custom view doesn't render correctly in Layout Preview if it's located in the same library module
  • Issue #123071296: Layout Bar ghost image, remains locked on screen. Cannot be removed until AS restart.
  • Issue #120409977: a suggestion for the design view
  • Issue #73826291: Memory leak in RenderTask.myAssetRepository
  • Issue #120750247: Android Studio 3.3 RC 2: Can not resolve symbol in studio editor for resource created by build phase
  • Issue #123393225: AndroidGotoRelatedProvider no longer finds AAR resources
  • Issue #123032845: Resource ID can't be resolved in XML and JAVA under some circumstances (but a project is compilable)
  • Issue #122944954: profiling-failed-in-android-studio-3-3 all apps crash with new AS 3.3 until you disable "adv. profiling"!
  • Issue #123377557: R class navigation doesn't work with AS 3.3 and AGP 3.1
  • Issue #123523414: GradleTaskRunners leak whenever app is run
  • Issue #122874775: Scanning files to index, out of memory.
  • Issue #122885760: In China, gradle sync will fail with "can not get time from google servers"
  • Issue #37104675: ddmlib sometimes loses clients after attach debugger followed by detach
  • Issue #37092608: SDK Manager complains about "No space left on device"
For information on new features and changes in all preview builds of Android Studio 3.4, 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 28.1.6 is now available in the Canary and Dev channels. Changes:

Project Marble:
  • Decreased idle CPU usage on macOS. On macOS, we've switched from select() to kqueue() for the QEMU main loop. kqueue() is a more efficient way to wait on events on BSD-like systems, burning less CPU than select(). This should decrease CPU usage of the main loop, especially when the emulator is idle.
  • Fixed hard-to-reproduce freeze on launch. It seems that Qt libraries sometimes lose signals, which resulted in a "Detected a hanging thread" on launch. We have worked around this bug.
Build

Emulator binary size should now be back to normal. We are also building more of our dependencies from source in order to lower risk of ABI incompatibilities and make the build more reproducible.

Vulkan: Experimental Support for ROM Developers

Changes in AOSP master:
  • Updated emulator prebuilts in AOSP.
    • The prebuilt emulator in AOSP master has been updated to 28.1.6.
    • The prebuilt emulator kernel in AOSP master has been updated to a variant of a 4.4 kernel that includes the necessary driver for Vulkan HOST_COHERENT memory.
ROM developers can now run a Vulkan-enabled emulator in the AOSP build environment on the AOSP master branch. This is an experimental level of support, mainly oriented to developers who work on system images, drivers, and game engines. Many extensions are still missing. 

However, https://github.com/googlesamples/android-vulkan-tutorials should be able to run, and HOST_COHERENT memory is supported. Instructions (for a Linux host):

mkdir aosp-master
cd aosp-master
repo init -u https://android.googlesource.com/platform/manifest -b master --depth=1
repo sync -c -j12
. build/envsetup.sh
lunch sdk_phone_x86_64-userdebug
make -j12
emulator -no-snapshot -feature Vulkan,GLDirectMem

Android Studio 3.3.1 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 (or Android Studio > Check for Updates on macOS). Otherwise, you can download here.

This minor release improves stability and performance, and fixes various bugs, such as the following:

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 28.1.5 is now available in the Canary and Dev channels. Changes:
  • Project Marble:
    • Changed how the default window size of the emulator is calculated so as to fill more of the screen.
    • Some users were concerned that the previously smaller size was not changeable; it has always been the case that the emulator window can be resized by dragging near the corners, even if there is no window frame.
    • Decreased overhead of the OpenGL emulation driver on the host side to use less CPU per draw call.
  • Vulkan Support Check. The emulator now checks the host side Vulkan driver, querying the level of support for Vulkan features. This check is a preliminary step for further Vulkan support in the future, and should not interfere with normal operation.
    • If this check on startup ends up crashing or hanging the emulator, please tell us your OS and hardware GPU setup along with whether you are running the emulator with or without a display attached.
    • In a future version, we will be tracking metrics from this check.
  • Note: This download is bigger than before due to lack of symbol stripping. This is a temporary issue with our build infrastructure and will be resolved soon.