[go: up one dir, main page]

Release updates archive

Android Studio Bumblebee Canary 1 is now available in the Canary and Dev channels.


If you already have an Android Studio build on the Canary or Dev 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.




General fixes and features


This update includes fixes for the following issues:

Android Gradle Plugin
  • Issue#186886814: Unknown flag --class-dir: Use --help for usage information
  • Issue#186464705: Don't hard-code DefaultLintModelVariant.shrinkable
  • Issue#173735753: Support depending on app module install from a library
  • Issue#187339905: AGP 7.0.0 Alpha 15 throwing Unresolved reference: missingDimensionStrategy
  • Issue#187341964: Android Lint VectorDrawableCompat check warns incorrectly
  • Issue#187420313: buildConfigField replacement warning prints the value, which could contain sensitive information
  • Issue#187769343: Configuration Cache issue with ASM Transform
  • Issue#187448822: com.android.databinding:baseLibrary uses support legacy libraries

Build Tools

Build Variants
  • Issue#184824343: Switching cached variants does not work correctly for Kotlin/Kapt
  • Issue#174046787: Build variant section is always empty (loading).
  • Issue#187406162: Composite build root projects are displayed as ":" in build variant selector tool window

Bundletool

Code Analysis
  • Issue#175930197: Android lint shows false positives of the API level check for fields in an interface that became inherited

Compose Editing

Data Binding

Deployment

Google Cloud

Gradle Files Editor

Import/Sync
  • Issue#151294238: Android Studio builds with "assemble" rather than ":app:assembleDebug"
  • Issue#187428282: Manifest index doesn't recognise manifests in generated folder
  • Issue#151294238: Android Studio builds with "assemble" rather than ":app:assembleDebug"
  • Issue#173376103: There is no way to search modules in the build variant selection tool window

Layout Editor

Lint
  • Issue#186771656:Absolute paths are present in partial results files when LintOptions.absolutePaths is false
  • Issue#180408990: Potential issue with the RestrictedApi detector in the new lint integration
  • Issue#185811191: RestrictToDetector throws StringIndexOutOfBoundsException
  • Issue#181047988: Issues enabled via lintOptions.enable always have severity WARNING
  • Issue#180408027: Lint gives failure to analyze when there are only test classes
  • Issue#184290317: ExifInterfaceDetector Lint Check Refers to Obsolete Class
  • Issue#187437289: Lint MutatingSharedPrefs false positive
  • Issue#184095342: Lint log spam: "Incorrect detector reported disabled issue ExtraTranslation"

Lint Integration

Prefab Integration

Tool Windows
  • Issue#187415389: Add an indicator with a link when the list of Gradle tasks is not populated

Translations Editor
  • Issue#153587640: We're getting com.android.tools.idea.resources.base.BasicValueResourceItems out of the resource folder repositories

View Binding
  • Issue#186306088: AndroidStudio ViewStub in ViewBinding was mistaken for an ViewStubProxy

 Android Studio - Arctic Fox | 2020.3.1 Beta 1 is now available in the Beta channel.


If you already have an Android Studio build on the Beta 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.



SDK Repository source information in App Bundle/APK
  • AGP now includes information about the repository that your app’s dependencies/SDKs came from inside the App Bundle/APK. This includes the URL of the repository and its type (Maven, Ivy). Repositories with “file://…” URLs are not included in the report.

  • This information enables Google Play to identify popular libraries so those can be analyzed. The result of that analysis is used to make recommendations on libraries/versions to use and to avoid based on known issues.

  • You can opt out from including this information by setting the property “android.bundletool.includeRepositoriesInDependencyReport=false” in gradle.properties when building your App Bundle/APK.


Configuring the Build
  • Kotlin script support is still in preview

  • In Android Gradle Plugin 7.0 betas, the DSL is now registered with the new interfaces e.g. (https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/CommonExtension). For groovy script users this has no effect as the implementation type is used irrespective, but for kotlin script users the implementation details will no longer be visible, and scripts that depended on them will no longer compile. Some commonly used items have been added back as deprecated, but not all.



Known Issues
  • The developer preview of the newest Wear OS (API level 30) system image has the following known issues:

    • Switching watch faces via the Wear OS phone app is not available

    • On-watch Tile management is currently unavailable. In order to preview a Tile you have created in the emulator, you can either set the Tile in the Wear OS phone app or use the wear-tiles-renderer library to preview Tiles in an activity within your app (learn more).

    • Screen recording through the power menu is not working

    • Some UI elements are not localized

    • Some UI elements might not render correctly on non-round emulator configurations.

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

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.

General fixes

This update includes fixes for the following public issues:

Build Variants
  • Issue #184826517: Project structure does not match after switching variants and reopening
Kotlin
  • Issue #187403740: Android Studio 4.2.0 generates projects with wrong Kotlin version: "1.5.0-release-764"
Project Structure
  • Issue #184660150: Project Structure dialog in AndroidStudio is unable to display modules that aren't included as text in settings.gradle
Android Gradle Plugin

 We are happy to announce the release of ConstraintLayout 2.1.0 beta 2, with several fixes.


dependencies {

    implementation 'androidx.constraintlayout:constraintlayout:2.1.0-beta02'

}


What's new in 2.1.0

More information about the new features in 2.1.0 can be found on the wiki, the source code is available on https://github.com/androidx/constraintlayout


MotionLayout
A few new features:

  • OnSwipe enhancement including spring (stiffness, damping, mass etc) & never complete
  • jumpToState function
  • ViewTransition downUp mode where on touch Down it plays to 100 and on up reverses to 0

Various fixes, notably:
  • Fix problem in MotionLayout with vertical scroll (#173)
  • Perf improvements on nested MotionLayout (#189)
  • Fast transition with NestedScrollView in MotionLayout (#189)
  • ConstraintSet gone in MotionLayout (#189)
  • Support downUp ViewTransitions in MotionLayout (#190)
  • Fix in ImageFilter when reusing drawables (#192)
  • Add spring support in MotionLayout (#199)
  • Performance improvement to CircularFlow (#200)
  • Fixes in derived constraints / constraint override (#212)

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

For an overview of what's new in this release, see the release notes.