常规问题修复
本次更新修复问题如下:
Android Gradle Plugin
- Issue #161826152: Gradle ran out of memory with 4GB max heap
- Issue #159434426: applicationIdSuffix cannot be empty
- Issue #160473003: Set Custom application id per variant bug
Deployment
- Issue #150445391: Android Studio crash on linux and hidpi screen (3840x2160).
Dexer (D8)
- Issue #160905482: Desugaring broken for subclasses of ConcurrentHashMap
- Issue #160909126: coreLibraryDesugaringEnabled seems to break ConcurrentHashMap when using Gson and reflection
Import/Sync
- Issue #161963743: IDE fails to stop Gradle daemon when using 6.6-rc-2
Lint
- Issue #158128960: AGP 4.0 false positive Instantiatable Lint check if Application extends java class
Run
- Issue #162259273: Wrong Activity is use for launch when there is an alias
Shrinker (R8)
- Issue #161403944: With AGP 4.1.0.beta01+, minifyEnabled = true leads to runtime crash due to java.lang.VerifyError
- Issue #161154276: [2.1.52] Undefined value encountered during compilation. This is typically caused by invalid dex input that uses a register that is not defined on all control-flow paths leading to the use
- Issue #160942326: Runtime errors when using R8 2.0+
- Issue #160901582: CompilationError during R8 phase when optimizations enabled
- Issue #161230424: App crashes after Upgrading to AS 4
- Issue #162921738: Conditional keep rule not triggered by other keep rule
- Issue #159194018: Problem with ClassInitializationAnalysis for kotlin coroutines android library
- Issue #162568140: NullPointer during IR Conversion in R8
- Issue #161735546: gradle:4.1.0-beta04 Null pointer exception when generating signed build
- Issue #152476580: Gradle 4.0.0 and above libcore.reflect.AnnotationAccess.toAnnotationInstance exception
此外,下面的问题在本版本中已经解决,但不一定完全解决了:
Import/Sync
- Issue #160909456: androidx compose project gradle sync breaks when upgrading to AS 4.2 Canary 4
Memory
- Issue #161925082: The Instance View window is too small and cannot be made wider
Motion Editor
- Issue #162506565: Motion Editor does not support the Release Candidates
New Project Wizard
- Issue #162906014: Unable to create new project
Shrinker (R8)
- Issue #161727616: [R8 2.1.52] java.lang.NoSuchFieldError: No field Companion of type ...
版权声明
禁止一切形式的转载-禁止商用-禁止衍生 申请授权