gpt4 book ai didi

android - flutter 。任务 ':audioplayer:verifyReleaseResources'的执行失败

转载 作者:行者123 更新时间:2023-12-03 05:28:05 24 4
gpt4 key购买 nike

我尝试flutter run --release并得到一个错误。所有的 flutter 分析和 flutter 医生都给我所有的好信号。你能帮我吗?

* What went wrong:
Execution failed for task ':audioplayer:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\����\.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/fontStyle not found.

C:\Users\����\.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/font not found.

C:\Users\����\.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/fontWeight not found.

C:\Users\����\.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.

C:\Users\����\.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

BUILD FAILED in 46s

最佳答案

在pubspec.yml中更改音频播放器的依赖性

依赖项:
音频播放器:^ 0.15.1

关于android - flutter 。任务 ':audioplayer:verifyReleaseResources'的执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60470831/

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