You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
FAILURE: Build failed with an exception.
* What went wrong:
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
minhna, mariia-kiliushina, GerardoTovar, dchdimitrov, MadsonChavante, muzhaqi16, DevineDecrypter, gitaarik, seco35, betterfuture009, and 12 more reacted with thumbs up emoji
arjun-anar, GerardoTovar, emarathossain424, and darshan-repo reacted with confused emoji
ovesco, nguyenvanphituoc, sleaper, bilal-korir, and GerardoTovar reacted with eyes emoji
All reactions
bilal-korir, y9luiz, armendkraStom, karimmasri-0, sauravmobilestyx, bacayo, wzskumar, betanyeli, dremharrison, abdullahIsa, and 141 more reacted with thumbs up emoji
istashak, AfhaamANJ, hzeee18, and AugSync reacted with thumbs down emoji
Stortag, skie97, shalaby2022, Matthew3dg, zubko, patharanordev, socrates93, ashishmemorres, WilliamRayo, eduardovargasleffa, and 27 more reacted with hooray emoji
shohelahamad, bilal-korir, y9luiz, ilyshav, bacayo, wzskumar, mmelkings, betanyeli, mewmao07, GerardoTovar, and 51 more reacted with heart emoji
youssmak, javier-sauma-rocketlab, mahmadakbar, lucas-ssv, chrisfinch, eduardovargasleffa, sisoalbert, edsonjuniornarvaes, lfabl, vitaliykreminskiy, and 23 more reacted with rocket emoji
Saifrazaa, eduardovargasleffa, TryWebForLife, edsonjuniornarvaes, lfabl, RiusmaX, ZeeshanAhmadKhalil, amanzrx4, pujakhalika, mayefeng, and 4 more reacted with eyes emoji
All reactions
any update on that ? I am having the same error.
I added
kotlinVersion = "1.7.0"
(under
buildToolsVersion
) to
android/build.gradle
and error disappeared.
Thank you
@sleaper
that solves the issue on my side.
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 ':expo' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10
expo/expo#19338
any update on that ? I am having the same error.
I added
kotlinVersion = "1.7.0"
(under
buildToolsVersion
) to
android/build.gradle
and error disappeared.
Gracias buen hombre 👨💻 ! ✨ funcionó perfecto
any update on that ? I am having the same error.
I added
kotlinVersion = "1.7.0"
(under
buildToolsVersion
) to
android/build.gradle
and error disappeared.
Muchas Gracias bro. El problema se resolvió
@sleaper
🐛 The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher.
#1449
yashafromrussia, rahultripathi-dev, MrLibya, sakthiinfotec, tkud04, killatsignlife, yo-dst, fabiancarlos, Mubeyd, Arnoldnuo, and 4 more reacted with thumbs up emoji
rahultripathi-dev, fabiancarlos, Apoorvayad, Adebimpe1112, and heliocosta-dev reacted with rocket emoji
All reactions
Adding
kotlinVersion =1.7.0
to my
android/gradle.properties
file in my project fixed it for me.
By
android/gradle.properties
do you mean
android/build.gradle
Bug is still there, i have a temporary fix for everyone who faces this error:
go to
react-native-vision-camera
in the
node-modules
folder. There go to
android/build.gradle
and search for this line
org.jetbrains.kotlin:kotlin-gradle-plugin
, change it to:
org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20
save, then run
cd android && ./gradlew clean
and then restart your App, works for me, i hope this bug gets fixed soon
bjornbreck, newerton, wizardoncouch, ss6239620, arthurgichuhi, YoussefHenna, and hebertcisco reacted with thumbs down emoji
batgerelt and jonxssc reacted with heart emoji
All reactions
Bug is still there, i have a temporary fix for everyone who faces this error: go to
react-native-vision-camera
in the
node-modules
folder. There go to
android/build.gradle
and search for this line
org.jetbrains.kotlin:kotlin-gradle-plugin
, change it to:
org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20
save, then run
cd android && ./gradlew clean
and then restart your App, works for me, i hope this bug gets fixed soon
Worked for me Thank you :-)
@mrousavy
Please upgrade the version because only you can update the npm package. I would have to manually make changes to the library folder in
node_modules
every time I want to build locally and if I want to use EAS build I can't even do that.
I added kotlinVersion = "1.7.0" (under buildToolsVersion) to android/build.gradle and error disappeared.
Thank you so much for giving the solution. It has reduced my efforts.
any update on that ? I am having the same error.
I added kotlinVersion = "1.7.0" (under buildToolsVersion) to android/build.gradle and error disappeared.
Thank you so much for giving the solution. It has reduced my efforts.
My previous error is eliminated but now my screen turns blank when I start the camera. Any fix for it.?
Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3.
I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here?
Here's an instruction on how you can test that: #1674 (comment)
If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉
Otherwise please let me know and I'll keep this issue open to keep track of it.
Thank you!
@mrousavy Please upgrade the version because only you can update the npm package. I would have to manually make changes to the library folder in node_modules every time I want to build locally and if I want to use EAS build I can't even do that.
Please push this change. Thank you!
use npm patch-package to patch it on your end with your changes so it applies changes on every npm install until the new version comes out
edit : i checked the files, it picks your kotlin version from your android/build.gradle but only if you have it defined there and the name matches "kotlinVersion" make sure you have it in your ext config and the name matches, i was using "kotlin_version" as kotlin version variable which caused the issue.
@mrousavy Please upgrade the version because only you can update the npm package. I would have to manually make changes to the library folder in node_modules every time I want to build locally and if I want to use EAS build I can't even do that.
Please push this change. Thank you!
use npm patch-package to patch it on your end with your changes so it applies changes on every npm install until the new version comes out
edit : i checked the files, it picks your kotlin version from your android/build.gradle but only if you have it defined there and the name matches "kotlinVersion" make sure you have it in your ext config and the name matches, i was using "kotlin_version" as kotlin version variable which caused the issue.
This is the true answer, thank you so much!
Hi, i already change the kotlin version to 1.7.0 FAILURE: Build failed with an exception. But, still showing same error. Please help. Error
What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':wakelock' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50