Wednesday, August 3, 2022

Android Studio Chipmunk | 2021.2.1 Patch 2 now available

Android Studio - Chipmunk | 2021.2.1 Patch 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 it here.

Android platform support

With Android Studio Chipmunk Patch 2 and Android Gradle 7.2.2, you can compile against Android 13 APIs by setting `compileSdk=33`. The highest supported minimum Sdk version is 32. `minSdk = 33` is not supported until Android Gradle plugin 7.3.0-beta05.

General fixes

The following is list of general fixes in Android Studio Chipmunk Patch 2. These are a result of your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. You can also vote for an existing issue to indicate that it also affects you.

Android Gradle Plugin
  • Issue #232438924: AndroidGradlePlugin version 7.2 breaks transform API when used along with ASM API
  • Issue #231037948: AGP 7.2.0-rc01 :buildSrc:generatePrecompiledScriptPluginAccessors - shadow/bundletool/com/android/prefs/AndroidLocation$AndroidLocationException
C++ Debugger
  • Issue #37119428: Release version of a native library from a dependent project gets packaged even for a debug build variant
Design Tools
Dexer (D8)
  • Issue #235325369: Document the compiler version required for each desugared library version
Gradle
Import/Sync
Shrinker (R8)
  • Issue #236875523: ArrayIndexOutOfBoundsException in IntSwitch
  • Issue #236618700: R8 3.1.7-dev and above improperly optimizes Enums, leading to NoSuchFieldError
  • Issue #223424356: R8 causing VerifyError on Scala libraries
  • Issue #232379893: Gradle 7.2.0 causing APK build error com.android.tools.r8.CompilationFailedException
  • Issue #236615030: NPE in shrinker, R8 version 3.2.60
  • Issue #236294139: [R8 3.3.57] NoClassDefFound due to interface replaced with abstract class with higher SDK requirements
  • Issue #231030461: NullPointerException in FieldAssignmentTracker using 3.3.35