颤振:资源链接失败

问题描述 投票:2回答:1

我正在收到此错误,将我的扑动应用程序连接到firebase。我不知道是什么原因,但我得到这个错误:

FAILURE: Build failed with an exception.
 What went wrong:
Execution
     failed for task :app:process Debug Resources.
     Android resource linking failed
android flutter
1个回答
0
投票

在我的情况下,我收到此错误:

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+1google_sdk

© www.soinside.com 2019 - 2024. All rights reserved.