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’


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.


1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.