EAS android build fails due to missing gradlew?

With a newish EAS project that was previously setup via Expo and then modified it to work with EAS, I am unable to get any builds working.

It fails with this error while “fixing gradlew” step:

ENOENT: no such file or directory, open ‘/home/expo/workingdir/build/android/gradlew’

Thanks

hi there. it looks like you have gradlew gitignored. in the same way as if you cloned your project from github and tried to build it on ci it wouldn’t work, this is what is happening on eas build. more about how we archive your project to upload for building: fyi/eas-build-archive.md at main · expo/fyi · GitHub

This makes perfect sense! I just checked and you are correct, as I did not realize it was leveraging .gitignore that way.

Thanks!

1 Like