码迷,mamicode.com
首页 > 其他好文 > 详细

Flutter Build apk 错误(一)

时间:2020-02-18 09:48:09      阅读:464      评论:0      收藏:0      [点我收藏+]

标签:val   原因   setting   value   har   verify   and   forms   help   

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ‘:shared_preferences:verifyReleaseResources‘.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
D:\android\.gradle\caches\transforms-2\files-2.1\0a271e99b6771ad4a84318244d532fb7\core-1.0.0\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

D:\android\.gradle\caches\transforms-2\files-2.1\0a271e99b6771ad4a84318244d532fb7\core-1.0.0\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

 


注意红字部分,这是第三方插件。

错误原因是没有用最新版本,把shared_preferences插件更新到最新版本即可。

 

Flutter Build apk 错误(一)

标签:val   原因   setting   value   har   verify   and   forms   help   

原文地址:https://www.cnblogs.com/ego/p/12324594.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!