Android Studio 4.0.1 available

Android Studio 4.0.1 available

常规问题修复

本次更新修复的 Bug 如下:

Android Gradle Plugin

  • Issue #154069245: Jacoco task reprocessed the same files too many times - incremental builds
  • Issue #157446242: build\build-attribution\androidGradlePluginAttributionData: The process cannot access the file because it is being used by another process
  • Issue #157888755: versionName wrong in output.json file after building .apk
  • Issue #140747218: Improve error messages for exceptions thrown from Jetifier

Dexer (D8)

  • Issue #157806261: One or more instruction is preventing default interface method from being desugared: java.util.function.Consumer it.unimi.dsi.fastutil.chars.CharConsumer.andThen(java.util.function.Consumer)
  • Issue #158815562: Desugaring: static methods don't work for subclasses
  • Issue #156142802: Backport changes that made D8 lenient with non-sense line numbers and local variable table
  • Issue #148661132: Assertion error on valid locals info
  • Issue #158124557: Library desugaring does not rewrite generic signature

Import/Sync

  • Issue #158018185: When using "make project", AS reports build failures when using Kotlin DSL in buildSrc

Shrinker (R8)

  • Issue #157966650: R8 2.0.74 raise NullPointerException with -dontobfuscate option.
  • Issue #158432019: IncompatibleClassChangeError happens with R8 + Kotlin object + Java lambda
  • Issue #158018192: R8 2.0.74 produces invalid dex file when build "release" mode
  • Issue #157223339: R8 2.0.74 Return of service loader rewrite issues
  • Issue #157926129: minifyReleaseWithR8 throws java.lang.StackOverflowError after updating Gradle Plugin to 4.0.0

Testing

  • Issue #146447085: Cannot run Android Instrumented Tests on Simulator with API < 21

版权声明

禁止一切形式的转载-禁止商用-禁止衍生 申请授权

脉脉不得语
脉脉不得语
Zhengzhou Website
Android Developer | https://androiddevtools.cn and https://androidweekly.io Funder | GDG Zhengzhou Funder & Ex Organizer | http://Toast.show(∞) Podcast Host

你已经成功订阅到 Android 开发技术周报
太棒了!接下来,完成检验以获得全部访问权限 Android 开发技术周报
欢迎回来!你已经成功登录了。
Unable to sign you in. Please try again.
成功!您的帐户已完全激活,您现在可以访问所有内容。
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.
🍗