5

while running Android debug build in real device app crashing in device with error is

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

Actually, I developed an app with Expo bare flow with expo updates but I did proper expo update installation in my project. The error related to expo updates any suggestions to fix this issue

2 Answers2

2

Just leave these expo update tags in the manifest. That's what solved it for me

<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="46.0.0"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATE_URL" android:value="https://exp.host/@projet/projet"/>
<meta-data android:name="expo.modules.updates.EXPO_RELEASE_CHANNEL" android:value="default"/>
<meta-data android:name="expo.modules.updates.ENABLED" android:value="true"/>

Previously it was like this

 <meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="46.0.0"/>
<meta-data android:name="expo.modules.updates.ENABLED" android:value="true"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATE_URL" android:value="https://exp.host/@projeto/projet"/>
<meta-data android:name="expo.modules.updates.EXPO_RELEASE_CHANNEL" android:value="default"/>
1

I solved that by running

eas update:configure 

as suggested in https://github.com/expo/expo/issues/21238

Im using 'expo' sdk 49.0.0

rafahoro
  • 1,237
  • 13
  • 19