Created
April 1, 2017 08:51
-
-
Save toropanov/fc84cbfa5dd728b9daf506ceadfc34ed to your computer and use it in GitHub Desktop.
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
Generate APK (UNSIGNED) (Android) | |
Create the folder assets in android/app/src/main folder. | |
Run curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle" | |
Run react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | |
Run cd android && ./gradlew assembleRelease |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment