[go: up one dir, main page]

Release updates archive

ConstraintLayout 2.0.4 is now available on the google maven repository:

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

or if using the android.support packages:

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

Documentation & Examples





Bugfixes

This releases fixes a NPE that may happen when removing a child view of ConstraintLayout at runtime. It is recommended to update to this version.

List of issues closed with this release:

NPE in ConstraintLayout.Measurer (v2.0.3)171901411


ConstraintLayout 2.0.3 is now available on the google maven repository:

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

or if using the android.support packages:

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

Documentation & Examples




Bugfixes

This releases fixes a few issues. It is recommended to update to this version.
  • Windows insets handling
  • Handling of dimension ratio in some situations (regression in 2.0.2)
  • Crash with some RTL layouts (regression in 2.0.2)
List of issues closed with this release:

Can not set view visibility in InsetsListener callback without request layout169262776
ConstraintLayout 2.0.2 broke layout_constraintDimensionRatio170313444
Internal crash when solving constraints in 2.0.2170316875
Broken app:layout_constraintWidth_max="wrap" in version 2.0.2170541907
NPE on VelocityTracker when swiping view in RecyclerView170727611
In 2.0.2, children with layout_width="0dp", and managed by a vertical Flow, do not match the Flow's width170884549
Elements not shown when using barrier and ConstraintLayout height is set to wrap_content171458571
View height issue when using layout_constrainedHeight170189141
MotionLayout crashes in onAttachedToWindow() if applyMotionScene="false" or if no layout description specified171053913
layout_constraintHorizontal_bias RTL171334510


Android Studio 4.2 Canary 15 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 information on new features and changes in all preview builds of Android Studio 4.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.

General Fixes

This update includes fixes for the following issues:

Android Studio
  • Issue #170733015: Update GPU import to 2.3.0
AVD Manager
  • Issue #159878401: "Cold Boot Now" on AVD Manager does not really cold boot emulator
Build Analyzer
  • Issue #168687609: Showing Resolution message and open memory settings button when garbage memory time is 0.0 sec
  • Issue #169569758: Task duration should not be "0.0 seconds"
CPU
  • Issue #149108626: [System Trace V2] - Remove padding from top and bottom of minimap
  • Issue #170801047: Unable to create profiler recording configuration
Deployment
    Issue #169819270: Errors in logcat on first install without install after non-compatible change
Embedded Emulator
  • Issue #155284464: Emulator tool window icon should be 13x13: emulator.svg
Emulator
  • Issue #155221674: Embedded Emulator: Feature request for device frame on/off
  • Issue #162564820: "Enter" key doesn't work in Emulator tool window
Gradle
  • Issue #169825560: Rename deprecation target from 5.0 to 7.0
New Project Wizard
  • Issue #171074702: [NewModule] Missing border between left and details panel
  • Issue #169614872: [NewProject] Several spacing/alignment issues not built to-spec
Project System
  • Issue #170389448: QuickFix to use JDK from project structure not working
Run
  • Issue #170709330: "NoSuchMethodException: android.content.res.CompatResources.getLoaders []" when starting from Android Studio
Shrinker (R8)
  • Issue #170920164: "Unexpected usage left in method" error when compiling chrome with latest R8
  • Issue #171197204: Retargeting of invokes to DesugarCollections breaks inlining
  • Issue #170677722: Full mode - Fragment 1.3.0-beta01 - FORCE inlining on non-inlinable on FragmentManager
Testing
  • Issue #170753826: Revise Multi-device tests opt-in flow


Additionally the issues below were addressed in this release but may not necessarily be fixed:

Apply Changes
  • Issue #169812146: Improve Kotlin lambda error messages
Build
  • Issue #171305664: CMake 3.18 support breaks when there's .asm file
Deployment
  • Issue #170750947: Parallelize deployer for multiple devices
Emulator
  • Issue #163608541: First time emulator launch using run does not appear in the android studio window
Import/Sync
  • Issue #169971952: Android Gradle build freezes
Resources
  • Issue #170867656: Bug: can't rename some resource files, and no way to reach translation tool if file isn't named "strings.xml"


Android Studio 4.2 Canary 14 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 information on new features and changes in all preview builds of Android Studio 4.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.

General Fixes

This update includes fixes for the following issues:

Activity
  • Issue #170026127: ActivityResultFragmentVersionDetector lint failure when using 1.2.0-beta01 with fragment 1.3.0-beta01
  • Issue #170026127: ActivityResultFragmentVersionDetector lint failure when using 1.2.0-beta01 with fragment 1.3.0-beta01
Android Gradle Plugin
  • Issue #169252018: AGP fails to build libraries targeting java 1.7
  • Issue #164036336: Incremental changes with multi-release jars, or jars built with target 1.9 may break dexing
  • Issue #168091536: getText() and getString() trims new lines from the beginning of the string
  • Issue #138837769: Allow disabling resource validation in library modules (in parsing local resources)
  • Issue #169896233: Using jetpack compose breaks gradle configuration caching
C++ C++ Debugger
  • Issue #169158699: Missing debug symbols, cannot debug .apk that is otherwise working fine
Import/Sync Jetifier
  • Issue #168038088: artifact replacements should use the version set in the project
Layout Editor Lint Navigation Editor
  • Issue #170059094: Unresolved reference for NavArgs declared at top of (nested) NavGraph
Resource Manager
  • Issue #169449461: Image Asset Studio doesn't overwrite all old files when generating files for new adaptive icon
Running Tests
  • Issue #163791525: INSTALL_PARSE_FAILED_NO_CERTIFICATES when running test on multiple devices
  • Issue #163791525: INSTALL_PARSE_FAILED_NO_CERTIFICATES when running test on multiple devices
Shrinker (R8) Testing Upgrade Assistant
  • Issue #156100314: Consider handling Crashlytics versions in the upgrade assistant

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

 ConstraintLayout 2.0.2 is now available on the google maven repository: 


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


or if using the android.support packages:


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

Documentation & Examples




Bugfixes

This releases improves performances as well as fix a few issues. It is recommended to update to this version.
  • Handling of view GONE visibility in ConstraintLayout was incorrect in some situations
  • Handling of packed chains in ConstraintLayout was incorrect in some situations
  • Fixed inflation exception on API 15 for the Flow virtual layout helper
  • limitsBoundsTo was broken in MotionLayout
  • jump to end was broken in MotionLayout in some situations (chaining transitions)
Flow inflation exception on API 15165312258
java.lang.ClassCastException: androidx.constraintlayout.solver.ArrayLinkedVariables cannot be cast to androidx.constraintlayout.solver.SolverVariableValues165964943
The attribute "flow_horizontalAlign" was defined with the wrong format168495397
Margins are not visible (gone)162917675
VerticalBias not working when another view has a constraint to the top of the original view167014942
Barrier makes constraint work incorrectly167612342
When horizontal chain style is set to packed it is not working as expected167701934
MotionLayout: Quick swipes outside of limitBoundsTo are not ignored168373996
Setting the visibility of a View to GONE causes layout to render incorrectly in 2.0.1168681861
ConstraintLayout 2.0.0/2.0.1 "gone" views is not taken into consideration the same way as in 2.0.0-rc1166486001

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

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:

Dexer (D8)
  • Issue #158502561: Invalid Maven POM file for the desugar_jdk_libs_configuration artifact
  • Issue #160905482: Desugaring broken for subclasses of ConcurrentHashMap
  • Issue #160909126: coreLibraryDesugaringEnabled seems to break ConcurrentHashMap when using Gson and reflection
  • Issue #159275214: [library desugar] Desugar java.util.TimeZone.getTimeZone(ZoneId zoneId)
Layout Editor
  • Issue #162809072: When I change a xml id attribute at Design mode, studio popup and ask changing another id. I click "No(local)" but studio find and change same name id in another files.
Lint
  • Issue #158128960: AGP 4.0 false positive Instantiatable Lint check if Application extends java class
  • Issue #155088391: Can no longer specify layout_height and layout_width in a style
Motion Editor Shrinker (R8)


Android Studio 4.2 Canary 13 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 information on new features and changes in all preview builds of Android Studio 4.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 Gradle plugin support for Jetpack Compose

Starting with Android Gradle Plugin 4.2 Canary 13, only Jetpack Compose Compiler 1.0.0-alpha-04 and higher will be supported.

General Fixes

This update includes fixes for the following issues:

Android Gradle Plugin Build Variants Code Editor
  • Issue #168784098: getValue operator extension is not automatically imported for mutableStateOf/state
Import/Sync Lint
  • Issue #168794947: Lint's Parcelize check has false positives when using the new @Parcelize annotation
Upgrade Assistant

Additionally the issues below were addressed in this release but may not be necessarily fixed:

Dexer (D8)
  • Issue #169183194: D8 mergeProjectDexDebug fails on AS / AGP 4.2.0-alpha12 due to SafeArgs generated classes
Jetpack Compose Run Upgrade Assistant
  • Issue #156100314: Consider handling Crashlytics versions in the upgrade assistant