build android app failed on expo-splash-screen

when i build the projeect, i get an error message :

" [stderr] Execution failed for task ‘:expo-splash-screen:compileReleaseKotlin’.".

it seems to be solved on this topic:

fyi/android-071-rc-build-failure.md at main · expo/fyi · GitHub

but i still get the error on this build.
i had try to uninstall expo-splash-screen, and it works, but i’m still wondering why i get this error.

eas-cli version: .3.17.1
“dependencies”: {
“expo”: “^49.0.5”,
“react-native”: “0.72.3”,
“expo-splash-screen”: “‘0.20.5’”
}

I have the same issues doing a eas build --profile development --platform android
as well as in EAS cloud or local I get a problem with android build at expo-splash-screen.
I can’t find any useful in de logs…what is wrong?

EAS CLI 3.18.3 environment info:
System:
OS: macOS 13.5
Shell: 5.9 - /opt/homebrew/bin/zsh
Binaries:
Node: 16.18.0 - ~/.nvm/versions/node/v16.18.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.18.0/bin/yarn
npm: 8.19.2 - ~/.nvm/versions/node/v16.18.0/bin/npm
Utilities:
Git: 2.39.2 - /usr/bin/git
npmPackages:
expo: ~49.0.3 => 49.0.3
expo-dev-client: ~2.4.6 => 2.4.6
react: 18.2.0 => 18.2.0
react-native: 0.72.3 => 0.72.3
npmGlobalPackages:
eas-cli: 3.18.3
expo-cli: 6.3.10
Project workflow: managed

},
“dependencies”: {
“expo”: “~49.0.3”,
“expo-av”: “~13.4.1”,
“expo-dev-client”: “~2.4.6”,
“expo-font”: “~11.4.0”,
“expo-localization”: “~14.3.0”,
“expo-splash-screen”: “~0.20.5”,
“expo-status-bar”: “~1.6.0”,
“i18n-js”: “3.9.2”,
“react”: “18.2.0”,
“react-native”: “0.72.3”,
“react-native-paper”: “^5.9.1”,
“react-native-purchases”: “^6.3.0”,
“react-native-safe-area-context”: “4.6.3”,
“react-native-screens”: “~3.22.0”,
“react-native-svg”: “13.9.0”,
“react-query”: “~3.39.3”,
“react-redux”: “^8.1.1”
},

Some how something has changed between expo sdk 49 first release when I had to use @latest with create-expo-app because I just did it again with npx create-expo-app --templated, used typescript and made a vanilla project with sdk 49.0.5 and added al my dependencies, and placed al the sources.
Now I works fine!

For me, the build failed while building expo-splash-screen. There’s no hard dependency for me in my project for this library, so I removed it for now. Post removing, the build succeeded.

For anyone this is still affecting, Expo version 49.0.6 solves this

2 Likes

Thank you, it work for me :facepunch: :cowboy_hat_face: