升级到 Android Studio 长颈鹿版后,我按照建议从 gradle 8.0.2 切换到了 8.1.0。在 Windows 11 上使用 Android Studio 构建时似乎工作正常,但这导致了我的 GitHub 构建发生故障。
这里是显然的错误:
ERROR: /home/runner/work/Fulguris/Fulguris/app/build/intermediates/merged_java_res/slionsFullDownloadRelease/base.jar: R8: com.android.tools.r8.ResourceException: com.android.tools.r8.internal.Tb: I/O exception while reading '/home/runner/work/Fulguris/Fulguris/app/build/intermediates/merged_java_res/slionsFullDownloadRelease/base.jar': /home/runner/work/Fulguris/Fulguris/app/build/intermediates/merged_java_res/slionsFullDownloadRelease/base.jar
不太明显那是什么...