Hello.
After eject expo project to bare workflow (SDK 37) and run expo publish
I try to build apk but get this error all the time.
Use this command gradlew bundleRelease in folder /android
But wat such a command works correctly gradlew bundleDebug
What am I doing wrong ?
build.gradle
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
// Caution! In production, you need to generate your own keystore file.
// see https://facebook.github.io/react-native/docs/signed-apk-android.
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
Error
E:\WorkFlow\ReactNative\Test2>expo bundle-assets E:\WorkFlow\ReactNative\Test2 --platform android --dest E:\WorkFlow\ReactNative\Test2\android\app\build\intermediates\merged_assets\release\out
[08:28:11] Error: The manifest at 'E:\WorkFlow\ReactNative\Test2\android\app\src\main\assets\app.manifest' was empty or invalid.
[08:28:11] Before making a release build, make sure you have run 'expo publish' at least once. Learn more. (тАЛhttps://expo.fyi/release-builds-with-expo-updatesтАЛ)
> Task :app:bundleReleaseExpoUpdatesAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseExpoUpdatesAssets'.
> Process 'command 'cmd'' finished with non-zero exit value 1