Unable to build APK for Android with EAS Build #2791
Labels
eas build
incomplete issue: missing or invalid repro
A minimal reproducible example is required for most issues
needs review
Issue is ready to be reviewed by a maintainer
Build/Submit details page URL
No response
Summary
I'm trying to build an Android APK for my Expo project using EAS Build, but I’m encountering a resource compilation error during the build process. The build fails with the message:
"Resource compilation failed (Failed to compile values resource file..."
Managed or bare?
it is Expo Project
Environment
npx expo-doctor
Enabled experimental React Native Directory checks. Unset the EXPO_DOCTOR_ENABLE_DIRECTORY_CHECK environment variable to disable this check.
✔ Check package.json for common issues
✔ Check Expo config for common issues
✔ Check native tooling versions
✔ Check if the project meets version requirements for submission to app stores
✔ Check for common project setup issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for app config fields that may not be synced in a non-CNG project
✔ Check npm/ yarn versions
✔ Check for issues with Metro config
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Validate packages against React Native Directory package metadata
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules use compatible support package versions for installed Expo SDK
Didn't find any issues with the project!
Error output
Running 'gradlew :app:assembleRelease' in /home/expo/workingdir/build/android
Downloading https://services.gradle.org/distributions/gradle-8.10.2-all.zip
10%
20%.
30%
40%
50%.
60%.
70%.
80%
90%
100
%
Welcome to Gradle 8.10.2!
Here are the highlights of this release:
For more details see https://docs.gradle.org/8.10.2/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
Execution failed for task ':app:mergeReleaseResources'.
Reproducible demo or steps to reproduce from a blank project
I created the new Project and trying to make a build for an apk.
The text was updated successfully, but these errors were encountered: