react-native-vision-camera: π latest version of gradle 1.6.20 is not supported
What were you trying to do?
i have installed a latest version of android studio and nodejs v18 and setup everything correctly then i created a simple app with react-native(not Expo) that only shows button on the center the app running ok but when i installed react-native-vision-camera to use it after that whenever i run npx react-native run-android i get an error of unsupported ktolin gradle extention
Reproduceable Code
No response
What happened instead?
whenever i type npx react-native run-android i get 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
i think because of the react-native-vision-camera uses version 1.5.30 of kotlin but the version i have is 1.6.20
could you update the react-native-vision-camera to support the latest version of gradle?
Relevant log output
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
Device
Lenovo ideapad gaming 3 i5 RTX3050
VisionCamera Version
2.15.4
Additional information
- I am using Expo
- I have read the Troubleshooting Guide
- I agree to follow this projectβs Code of Conduct
- I searched for similar issues in this repository and found none.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 14
- Comments: 15 (1 by maintainers)
Can confirm same issue upgrading to RN 0.71.8
I did get around this by temporarily adding the following to the
android/build.gradle
fileCan confirm same issue on RN 0.72.3
This done the trick for now, thank you! π
i am also having the same issue