Home > Mobile >  React native EAS Android Build fails
React native EAS Android Build fails

Time:09-17

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

EAS Build log ScreenShot

Here is a Screenshot of my package json package json screenshot

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

  • Related