gpt4 book ai didi

flutter - Android 资源链接失败 : fastforward_increment not found

转载 作者:行者123 更新时间:2023-12-05 04:30:43 25 4
gpt4 key购买 nike

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
/Users/markalarbirligi/.gradle/caches/transforms-2/files-2.1/bf604d02c1d803a3083f24e586de57ff/jetified-mobilertc/res/layout/activity_media_player.xml:7: AAPT: error: attribute fastforward_increment (aka com.ingilizcekursu.ingilizce_kursu:fastforward_increment) not found.

/Users/markalarbirligi/.gradle/caches/transforms-2/files-2.1/bf604d02c1d803a3083f24e586de57ff/jetified-mobilertc/res/layout/activity_media_player.xml:7: AAPT: error: attribute rewind_increment (aka com.ingilizcekursu.ingilizce_kursu:rewind_increment) not found.

/Users/markalarbirligi/.gradle/caches/transforms-2/files-2.1/bf604d02c1d803a3083f24e586de57ff/jetified-mobilertc/res/layout/zm_content_file_video_viewer.xml:8: AAPT: error: attribute fastforward_increment (aka com.ingilizcekursu.ingilizce_kursu:fastforward_increment) not found.

/Users/markalarbirligi/.gradle/caches/transforms-2/files-2.1/bf604d02c1d803a3083f24e586de57ff/jetified-mobilertc/res/layout/zm_content_file_video_viewer.xml:8: AAPT: error: attribute rewind_increment (aka com.ingilizcekursu.ingilizce_kursu:rewind_increment) 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

BUİLD FAILED in 8s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

我在项目中同时使用了 flutter_zoom_sdk 和 video_player 库。当然,我在app/src/build.gradle文件中添加了如下代码,一起使用。

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.android.exoplayer:exoplayer:2.17.0'
implementation 'com.google.android.exoplayer:exoplayer:2.14.0'
}

我该如何解决这个错误?注意:我使用的是 flutter,不是原生的。

最佳答案

兄弟,我认为你应该只留下一个 exoplayer 的实现定义。也许是 2.17.0 版本。

关于flutter - Android 资源链接失败 : fastforward_increment not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71978060/

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