Created
September 27, 2021 14:39
-
-
Save rohitcoder/b1ad26b74c543b6d29ef59f7194d9720 to your computer and use it in GitHub Desktop.
Solved: Unable to load script from assets ‘index.android.bundle’
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
For more: https://medium.com/@adityasingh_32512/solved-unable-to-load-script-from-assets-index-android-bundle-bdc5e3a3d5ff