【问题标题】:flutter build apk --split-per-abi failsflutter build apk --split-per-abi 失败
【发布时间】:2021-02-11 18:04:21
【问题描述】:

您好,我在运行 flutter build apk --split-per-abi 时遇到了这个错误 我无法生成我的 apk。你能帮我吗。提前谢谢你。

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':moneytextformfield:verifyReleaseResources'
> A failure occurred while executing
com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\bahal\.gradle\caches\transforms-2\files- 
2.1\c82bf40584b9a53c31dba07a8a48f301\core-1.1.0\res\values\values.xml:142:5- 
173:25: AAPT: erro
r: resource android:attr/fontVariationSettings not found.
C:\Users\

----------

bahal\.gradle\caches\transforms-2\files- 
2.1\c82bf40584b9a53c31dba07a8a48f301\core-1.1.0\res\values\values.xml:142:5- 
173:25: AAPT: erro
r: resource android:attr/ttcIndex not found.

【问题讨论】:

    标签: android flutter apk


    【解决方案1】:

    我通过删除money textformfield 依赖项解决了这个问题。现在我使用的是简单的 textFormField

    【讨论】:

      猜你喜欢
      • 2021-11-24
      • 2020-11-04
      • 2019-09-28
      • 2021-02-19
      • 2020-03-25
      • 2019-10-29
      • 1970-01-01
      • 2021-02-19
      • 2022-06-21
      相关资源
      最近更新 更多