gpt4 book ai didi

android - Flutter:资源链接失败

转载 作者:IT王子 更新时间:2023-10-29 06:34:18 26 4
gpt4 key购买 nike

将我的 flutter 应用程序连接到 firebase 后出现此错误。我不知道是什么原因,但我收到此错误:

FAILURE: Build failed with an exception.
What went wrong:
Execution
failed for task :app:process Debug Resources.
Android resource linking failed

最佳答案

在我的例子中,我遇到了这个错误:

Execution failed for task ':google_sign_in:verifyReleaseResources'.

出现以下错误:

> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: D:\flutter\dashboard_app\dashboad_app\build\google_sign_in\intermediates\res\merged\release\values\values.xml:197: error: resource android:attr/fontVariationSettings not f
ound.
D:\flutter\dashboard_app\dashboad_app\build\google_sign_in\intermediates\res\merged\release\values\values.xml:198: error: resource android:attr/ttcIndex not found.
error: failed linking references.

所以我将我的 google_sign_in sdk 更新为:google_sign_in 4.0.1+1 来自 google_sdk

关于android - Flutter:资源链接失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54922053/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com