英文:
Integration react-native-kit-ffmpeg and react-native-vision-camera in React Native
问题
Sure, here's the translated code part:
"dependencies": {
"ffmpeg-kit-react-native": "^5.1.0",
"react": "18.2.0",
"react-native": "0.71.6",
"react-native-vision-camera": "^2.15.4"
}
And here's the error message:
> Android Gradle插件仅支持kotlin-android-extensions Gradle插件版本1.6.20及更高版本。
以下依赖项不满足所需版本:
project ':react-native-vision-camera' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30
在使用这两个包时是否存在任何问题?
英文:
"dependencies": {
"ffmpeg-kit-react-native": "^5.1.0",
"react": "18.2.0",
"react-native": "0.71.6",
"react-native-vision-camera": "^2.15.4"
}
I am integration ffmpeg-kit-react-native and react-native-vision-camera in a react native project but facing this error
> The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher.
The following dependencies do not satisfy the required version:
project ':react-native-vision-camera' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30
Is there any issue in using these both packages?
答案1
得分: 1
我建议你尝试将react-native升级到版本0.71.8,然后在项目的android目录中打开build.gradle文件,并在buildscript ext下添加一行kotlinVersion = "1.7.0"。安装项目依赖,然后重新启动项目。
英文:
I suggest you try upgrading react-native to version 0.71.8, then open the build.gradle file in the android directory of the project, and add the line kotlinVersion = "1.7.0" under buildscript ext. Install the project dependencies, and then restart the project
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论