Android 资源链接失败:fastforward_increment 未找到

Android resource linking failed: fastforward_increment not found

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,不是 native。

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

我将 flutter_zoom_sdk 和 video_player 库通用的 Exoplayer 版本添加到 pubspec.yaml。

我的 pubspec 文件: