Error :java.lang.Exception:Faild to load all assets:

Author: RafiKhaziCreated Mar 25, 2021Updated Dec 25, 2022
LabelsAwaiting response

when run app in production mode in expo I got this type of error Error :java.lang.Exception:Faild to load all assets:

app.json

{
  "expo": {
    "name": "grab app",
    "icon": "./assets/images/logo1024x1024.png",
    "description": "grabapp App",
    "slug": "rikshawala",
    "privacy": "public",
    "sdkVersion": "40.0.0",
    "platforms": [
      "ios",
      "android"
    ],
    "assetBundlePatterns": [
      "assets/images/"
    ],
    "android": {
      "package": "com.exi.grab",
      "versionCode": 1
    }
  },
  "notification": {
    "icon": "./assets/images/logo96x96.png"
  },
  "version": "1.0",
  "orientation": "portrait",
  "icon": "./assets/images/logo1024x1024.png",
  "splash": {
    "image": "./assets/images/splash.png",
    "resizeMode": "cover",
    "backgroundColor": "#ffffff"
  },
  "updates": {
    "fallbackToCacheTimeout": 0
  },
  "assetBundlePatterns": [
    "**/*"
  ],
  "packagerOpts": {
    "config": "metro.config.js"
  },
  "ios": {
    "supportsTablet": true,
    "usesAppleSignIn": true,
    "bundleIdentifier": "com.exi.grab",
    "infoPlist": {
      "NSLocationAlwaysUsageDescription": "This app uses the always location access in the background for improved pickups and dropoffs, customer support and safety purpose.",
      "NSLocationAlwaysAndWhenInUseUsageDescription": "This app uses the always location access in the background for improved pickups and dropoffs, customer support and safety purpose.",
      "NSLocationWhenInUseUsageDescription": "This app uses the location to find the Cabs near you.",
      "NSCameraUsageDescription": "This app uses the camera to take your profile picture.",
      "NSPhotoLibraryUsageDescription": "This app uses Photo Library for uploading your profile picture.",
      "ITSAppUsesNonExemptEncryption": false,
      "UIBackgroundModes": [
        "audio",
        "location",
        "fetch"
      ]
    },
    "config": {
      "googleMapsApiKey": "AIzaS_76hxCrC6jFut0"
    },
    "googleServicesFile": "./GoogleService-Info.plist",
    "buildNumber": "1.0"
  },
  "android": {
    "package": "com.exi.grab",
    "versionCode": 1,
    "permissions": [
      "CAMERA",
      "READ_EXTERNAL_STORAGE",
      "WRITE_EXTERNAL_STORAGE",
      "ACCESS_FINE_LOCATION",
      "ACCESS_COARSE_LOCATION",
      "CAMERA_ROLL",
      "FOREGROUND_SERVICE",
      "ACCESS_BACKGROUND_LOCATION"
    ],
    "googleServicesFile": "./google-services.json",
    "config": {
      "googleMaps": {
        "apiKey": "AISyA__76hxCrNIgut0"
      }
    },
    "useNextNotificationsApi": true
  },
  "facebookScheme": "fb437477975",
  "facebookAppId": "437827975",
  "facebookDisplayName": "grabapp"
}

Source: GeekyAnts/vue-native-core