Skip to content

Instantly share code, notes, and snippets.

@rohitcoder
Created September 27, 2021 14:39
Show Gist options
  • Save rohitcoder/b1ad26b74c543b6d29ef59f7194d9720 to your computer and use it in GitHub Desktop.
Save rohitcoder/b1ad26b74c543b6d29ef59f7194d9720 to your computer and use it in GitHub Desktop.
Solved: Unable to load script from assets ‘index.android.bundle’
1. Create assets folder under android/app/src/main
2. Run Below code
```
cd android
./gradlew clean
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment