- Platform: Android
- Workflow: Bare
- CLI:
eas-cli/0.54.1 darwin-arm64 node-v16.15.1
Hi, everyone.
I recently tried using eas build
to build my Android app. Once it finished building, I downloaded it and uploaded it to the Google Play Console for Internal Testing use. The app runs fine on the Android emulator (running with yarn android
, not the downloaded build), but on an actual device, it crashes, and I see the following:
FATAL EXCEPTION: main
java.lang.AssertionError: The embedded manifest is invalid or could not be read. Make sure you have configured expo-updates correctly in android/app/build.gradle. app.manifest
at expo.modules.updates.manifest.EmbeddedManifest.get(EmbeddedManifest.kt:31)
at expo.modules.updates.loader.LoaderTask.launchFallbackUpdateFromDisk(LoaderTask.kt:238)
at expo.modules.updates.loader.LoaderTask.start(LoaderTask.kt:99)
at expo.modules.updates.UpdatesController.start(UpdatesController.kt:290)
at expo.modules.updates.UpdatesController$Companion.initialize(UpdatesController.kt:464)
at expo.modules.updates.UpdatesPackage$createReactNativeHostHandlers$handler$1.onWillCreateReactInstanceManager(UpdatesPackage.kt:41)
at expo.modules.ReactNativeHostWrapperBase.createReactInstanceManager(ReactNativeHostWrapperBase.kt:28)
...
As far as I can tell, expo-updates
is set up correctly, but there’s some kind of issue.
For context, here’s my app.json
:
{
"name": "...",
"displayName": "...",
"expo": {
"name": "...",
"slug": "...",
"version": "1.0.6",
"description": "...",
"jsEngine": "hermes",
"privacy": "unlisted",
"platforms": ["ios", "android"],
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "...",
"splash": {
"image": "./assets/images/splash.png",
"resizeMode": "contain",
"backgroundColor": "#f9f9f9"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"userInterfaceStyle": "light",
"assetBundlePatterns": ["**/*"],
"ios": {
"buildNumber": "215",
"supportsTablet": false,
"usesAppleSignIn": true,
"infoPlist": {
"LSApplicationQueriesSchemes": ["instagram", "twitter", "fb"]
},
"userInterfaceStyle": "light",
"config": {
"usesNonExemptEncryption": false,
"googleSignIn": {
"reservedClientId": "..."
}
},
"bundleIdentifier": "..."
},
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "...",
"project": "...",
"authToken": "..."
}
}
]
},
"android": {
"versionCode": 3,
"userInterfaceStyle": "light"
}
}
}
Any advice on what I could try next? Thanks.