由于一个错误,我使用了 R8 Shrinker 的本地 jar 文件(由 R8 团队推荐),并将类路径添加到 top gradle.build:
classpath files($..../R8.jar/$)
Run Code Online (Sandbox Code Playgroud)
现在不管 Android Studio 有任何更新,Gradle 构建仍然使用R8我以前使用过的旧版本V. 1.4.55
最近我看到他们发布了最新版本:https : V. 1.4.69
//r8.googlesource.com/r8/
所以我的问题是:How to configure gradle to tell to use the latest version of R8, 因为我没有看到任何关于这个的文档