Android Studio for Linux

Android Studio for Linux 4.2.1

  • SHA256: f599749ca47cda06d392e2764017c8a8a0c7b963a6a88ed494b432bece7cbc1b

General fixes​

This update also includes fixes for the following public issues:

Shrinker (R8)
  • Issue #174167294: App failed to run when upgraded to AGP 4.1.
  • Issue #172999904: R8 Slowdown and Timeout Due to number of proguard rules.
  • Issue #170716961: com.android.tools.r8.CompilationFailedException: Compilation failed to complete.
  • Issue #171982443: Default method called using invoke-static instead of invoke-interface with AGP 4.1 (r8 2.1.62).
  • Issue #173184123: Public tracking bug for b/172895918 - R8 crashing with java.lang.NullPointerException.
Run
  • Issue #173493930: Pressing the run button doesn't actually install the APK on the device, but Android studio reports operation succeeded.
  • Issue #173137937: Studio builds old files.
  • Issue #173209141: Application not killed after install.
  • Issue #173126306: Everytime, when you click "Run", the changes in the code are not applied. I have to run two times to apply changes.
Android Gradle Plugin
  • Issue #173134919: Sync fails for unit tests in libraries when Android resources disabled.
Running Tests
Emulator
  • Issue #170657960: Embedded emulator on Windows never closes the emulator process.

General fixes​

This update also includes fixes for the following public issues:

Android Gradle Plugin
  • Issue #172055303: Disabling android resources in libraries breaks unit tests
  • Issue #171364505: Shrinking library with multidex enabled fails (after 4.0 -> 4.1 update)
  • Issue #170922353: Upgraded from AGP 4.0.2 to 4.1.0 and app crashes with Resources$NotFoundException: Resource ID #0x0
APK Debugging
  • "Project Structure" does not show up for APK Debugging projects
  • Java Debugger crashes for API 29 and above
Apply Changes
  • Issue #161692523: Can't run/debug with Android App run configuration if app is stopped and unchanged from last run/debug
AVD Manager
  • Issue #159878401: "Cold Boot Now" on AVD Manager does not really cold boot emulator
C++
  • Issue #171280381: #$(call import-module,android/cpufeatures) in Android.mk will import all files in disk root
  • Issue #171300770: NullPointerException in CmakeServerExternalNativeJsonGenerator when refreshing linked C++ projects
Code Editor
  • Issue #165821809: Android Studio 4.1 RC 1 continuous UI freezing
  • Find Usage is slow for C++ methods.
Dexer (D8)
  • Issue #167649682: When CoreLibraryDesugaring is enabled and APK is installed manually, the types of variables mapped in Gson are not correct.
Embedded Emulator
  • Touch events are displaced when started emulator in landscape
  • Issue #170657960: Embedded emulator on Windows never closes the emulator process
  • Issue #163608541: First time emulator launch using run does not appear in the android studio window
  • Issue #162564820: "Enter" key doesn't work in Emulator tool window
Gradle Files Editor
  • Issue #165969795: java.lang.NoClassDefFoundError: org/jetbrains/kotlin/resolve/constants/evaluate/ParseUtilsKt
  • Issue #162811644: Changing gradle files in Studio 4.1 displays two sync requests
Indexing
  • Issue #171801044: Android Studio 4.1 with Gradle 6.5 is always indexing!!!
  • Issue #171334504: Updating indices covering full "c:" drive after update and even after reinstall
Profiling
  • Issue #170801047: Unable to create profiler recording configuration
  • Native Memory Profiler not tracking all of memory
  • Issue #171564196: CPU profiler recording fails for pre-O devices: trace file was not parsed
Project System
  • forced upgrades interrupt sync
Resource Manager
Run
Shrinker (R8)
  • Add retrace to Studio
  • Vertical Class Merging produces invalid dex for chrome
  • Retargeting of invokes to DesugarCollections breaks inlining
  • R8 Compilation failed (java.lang.NullPointerException)
  • Issue #170677722: Full mode - Fragment 1.3.0-beta01 - FORCE inlining on non-inlinable on FragmentManager
  • Issue #169584856: R8 - Compilation failed to complete
  • Issue #169045091: Android Gradle plugin v4.0.0 and Gradle v6.1.1 causes AbstractMethodError on protected methods
Geri
Yukarı