Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hielfx/471e698e0f20f1acfd69efc338e478ab to your computer and use it in GitHub Desktop.
Save hielfx/471e698e0f20f1acfd69efc338e478ab to your computer and use it in GitHub Desktop.
1. (in project directory) mkdir android/app/src/main/assets
2. 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
3. react-native run-android
```
mkdir android/app/src/main/assets
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
react-native run-android
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment