* What went wrong:
Execution failed for task ':sign_in_with_apple:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR: /home/path/workspace/deliverables/app_name/build/sign_in_with_apple/intermediates/merged_res/release/values/values.xml:204: AAPT: error: resource android:attr/lStar not found.
我正在使用 Flutter 3.27.4 和 Dart 3.6.2。我的 pubspec.yaml 中没有 sign_in_with_apple 依赖项
当我运行 时flutter build apk --release
,构建失败并显示此错误消息。但是,使用 --debug 标志可以正常构建。