Expo app crashes after installing from google Playstore, but works fine on Expo published apps.

Following is the information :

  1. SDK Version: ^40.0.1
  2. Platforms(Android/iOS/web/all): Android

ERROR while running “expo start --no-dev --minify” :
uncaught Error: java.lang.Exception: Failed to load all assets

What should I do to make sure all assets are loaded perfectly. I even optimized the assets using " npx expo -optimize" . What should I do next? What’s the problem here…?

Below is a small snippet from my app.json :

“android”: {
“package”: “com.xyz.my_app_name”,
“versionCode”: 2,
“adaptiveIcon”: {
“foregroundImage”: “./assets/icon.png”,
“backgroundColor”: “#4B131C
},
“useNextNotificationsApi”: true,
“permissions”: ,
“enableDangerousExperimentalLeanBuilds” : true
},
“androidStatusBar”: {
“hidden”: true
}

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.