I have a project that was created using expo 49 and typescript 5.1.3, and now I need to prepare it for submission to Google Play.
To achieve this, I followed a series of steps in the VS Code terminal:
1) Ran npm install -g eas-cli
2) Executed eas login
3) Entered eas build:configure
√ Selected Android as the platform to configure for EAS Build
√ Generated eas.json. For more details, visit here
🎉 The project is now ready for building.
To initiate the build, run eas build whenever you're prepared.
After the build is finished, use eas submit to upload the app to app stores.
Explore additional features of EAS Build at this link
4) Lastly, executed eas build --platform android
Loaded "env" configuration for the "production" profile with no environment variables specified. Learn more at this link
✔ Used remote Android credentials from Expo server
✔ Employed Keystore from configuration: Build Credentials wdhdOKG1L- (default)
Compressed files and uploaded them to EAS Build. Gain insights at this archive
✔ Successfully uploaded to EAS in 1 second
Awaiting completion of the build process. You can exit by pressing Ctrl+C.
✖ Unfortunately, the build failed
The Android build specifically encountered an error related to Gradle, which leads us to the following errors on the Expo website:
While navigating the expo.dev site, the issue persisted with the error below,
Error message received when running 'gradlew :app:bundleRelease' in /home/expo/workingdir/build/android
For further information on this release, please refer to https://docs.gradle.org/8.0.1/release-notes.html
In order to respect JVM settings used for this build, a single-use Daemon process will be forked.
To troubleshoot these issues, follow the guidelines provided in the links above.
For the full codebase, check out the repository here