Build failing when using app.json splash config without backgroundColor - AAPT: error: resource color/splashscreen_background #2442
Labels
needs review
Issue is ready to be reviewed by a maintainer
Summary
Android build using on local and remote EAS build if app.json splash:{ backgroundColor } is not specified.
I upgraded the app from expo 49 to expo 51 and the eas-cli to lastest version. Previously the app build worked without issues for android with only splash:{ image } being specified. After the upgrade the build fails and the solution was to add a color value for the splash:{ backgroundColor } attribute
fails:
succedes:
Managed or bare?
Managed
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
I don't have time to create demo but I assume if you create project with the latest expo
add
app.json
/app.config.js
splash withimage
withoutbackgroundColor
property and useeas
to build the app for android.Current behaviour is not consistent with the expo-doctor schema validation, and with types specified for ExpoConfig where the backgroundColor is optional.
The text was updated successfully, but these errors were encountered: