Im trying to build My Expo app with EAS build, but it keeps failing, this fails for Android, i am not sure about IOS, i think it has to do with React native navigation
Here is a Screenshot of my package json
CodePudding user response:
Add in android/build.gradle
buildscript {
ext {
...
kotlinVersion = "new version"
}
dependencies {
...
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
NOTE: this won't be required in versions > 10.1.0, you might want to remove it if you don't wanna risk importing 2 different versions for no reason.
CodePudding user response:
the solution to this problem was the library react-native-navigation:@7.26.0
, apparently this library is not compatible with eas build or Expo Go as stated here
I removed the library from my app (i actually never imported it) and my build was successfull