-
-
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
🐛 Support for kotlin-android-extensions Gradle plugin version 1.6.20 and higher. #1352
Comments
any updates on this one? |
Not really. I found, that Gradle 7.3.3 and Gradle Plugin 7.2.2 is the sweetspot to get everything running and use the current react. You can set this in Android Studio -> Open Module Settings -> Project. Hope this helps! |
Having the same error. |
any update on that ? I am having the same error. |
I added |
Thank you @sleaper that solves the issue on my side. |
Gracias buen hombre 👨💻 ! ✨ funcionó perfecto |
Muchas Gracias bro. El problema se resolvió @sleaper |
Adding |
By |
issue still persists on react-native@0.71.3 |
still issue on react-native 0.71.7 |
still issue on react-native@0.71.7 |
Follow this instruction, and it's working on RN 0.71.8
|
Bug is still there, i have a temporary fix for everyone who faces this error: |
This is stopping me from using this in production. Please fix it @mrousavy |
Has anyone gotten it to work with rn 0.70.8? |
Yes, try my answer two messages above |
Worked for me Thank you :-) |
That's because RN upgrades (or other libs that use Kotlin) break the version. There's not a lot I can do about this apart from just updating Kotlin version everytime. |
@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 Please push this change. Thank you! |
Thanks bro, life saver. |
For those using expo you can install a config plugin: and in your app.json
|
@sleaper |
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.? |
I tried the method you provided but my apk just crashes as soon as I open it. Is there a way to fix this? |
I've literally tried every suggested fix on this thread, and none of them have worked. I can't get past a gradle sync. |
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! |
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 |
This is the true answer, thank you so much! |
Adding kotlinVersion =1.7.0 to my android/gradle.properties file in my project fixed it for me. |
Hi, i already change the kotlin version to 1.7.0 FAILURE: Build failed with an exception. But, still showing same error. Please help.
my code:
|
Thanks man you save my time |
What were you trying to do?
Run my demo application
Reproduceable Code
What happened instead?
Build Process crashes.
Relevant log output
Device
Android Simulator
VisionCamera Version
2.15.2
Additional information
The text was updated successfully, but these errors were encountered: