-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher. #1477
Comments
You should define kotlin version in your android/build.gradle file to |
That does solve the problem but I guess there should be some regression test and nobody is feeling like doing it(myself included) FYI vision camera 3.0 RC1 is out and kotlin version was bumped to 1.7.20 so with any luck we can skip all the regression stuff and jump into version camera 3.0 |
To solve this issue, you can try upgrading the Kotlin Gradle plugin version in the react-native-vision-camera project to version 1.6.20 or higher, which is supported by the Android Gradle plugin version you are using. Go to node_modules/react-native-vision-camera/android/build.gradle inside dependencies
remove classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" add classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20" |
When is it going to be fixed? You have to change it manually every time |
@gokhancivili
I faced the same issue but the above change fixed it for me. |
I'm also facing the same problem, but I am sure it is fine to modify files in native projects. They will be generated from |
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! 🎉 Thank you! |
What were you trying to do?
I'm trying to make a barcode reader
Reproduceable Code
What happened instead?
Build Process crashes.
Relevant log output
Device
Android Simulator
VisionCamera Version
2.15.4
Additional information
The text was updated successfully, but these errors were encountered: