I 've a build error once I am trying to create a production android build or production ios build for Stories.
I’ve expokit workflow, expo-cli 4.1.3 version, expo SDK 36
Steps which I did
- expo eject(choosing expokit)
- expo publish
- cd android, ./gradlew clean assembleRelease
It respond the following error
[20:02:17] Error: getaddrinfo ENOTFOUND assets
[20:02:17] Before making a release build, make sure you have run ‘expo publish’ at least once. Learn more. (fyi/release-builds-with-expo-updates.md at main · expo/fyi · GitHub)
> Task :app:bundleReleaseExpoAssets FAILED
FAILURE: Build failed with an exception.
** What went wrong:*
Execution failed for task ‘:app:bundleReleaseExpoAssets’.
> Process ‘command ‘./node_modules/expokit/detach-scripts/run-exp.sh’’ finished with non-zero exit value 1
I noticed also resources were not added to the folder
android/app/build/intermediates/merged_assets/release/out