android - flutter build apk --split-per-abi 失败
问题描述
您好,当我运行 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.
解决方案
我通过删除money textformfield 依赖项解决了这个问题。现在我使用简单的 textFormField
推荐阅读
- php - MySQL更新表与faker生成的结果
- python-3.x - 获取所有值 python+selenium
- php - Docker - 未创建 mysql 用户
- javascript - Intl.NumberFormat 样式货币不适用于智利
- ruby-on-rails - 如何实现 has_and_belongs_to_many 关联?
- xml - 如何确定 XML 文件的字符编码
- python-3.x - pygame中翻转和更新之间的性能
- asp.net-core - 使用 IdentityServer4 的 SSO 是否应该在每个请求上点击授权端点?
- signalr - Azure Signal R 如何处理应用程序服务器缩放?
- angular - 从角度打字稿数组中选择默认选项值