-
Notifications
You must be signed in to change notification settings - Fork 295
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
Android build fails with react native 0.71 - please update kotlin version #777
Comments
Hi men, I'm getting the same error, I tried to copy your solution but it's still not working, have you changed something else? |
If you're using expo, you can set the kotlin version in |
Is this only happening with expo? |
I don't know 🤷🏽♂️ |
I had the same issue and I'm not using Expo. My RN version is The fix by @youssdevx worked for me, but I had to remove the This is my modified
|
Worked for me as well, I changed it from kotlin_version to kotlinVersion and it works my |
Is it expo ? because There is no android folder in Expo |
It happened with me also using react native cli |
Current behavior
Build fails on Android
Expected behavior
Build should succeed
To Reproduce
Upgrade to React native 0.71 and build on Android
Platform:
Environment
How to fix
In
android/build.gradle
modify:ext._kotlinVersion = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get('kotlinVersion') : '1.6.20'
The text was updated successfully, but these errors were encountered: