Last active
October 29, 2023 06:36
Revisions
-
erikyuntantyo revised this gist
Jan 9, 2018 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,5 +4,14 @@ $ mkdir android/app/src/main/assets # create bundle script $ 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/ # execute command to run android to create debug apk $ react-native run-android # Or change to android folder $ cd android # build debug apk $ ./gradlew assembleDebug # build release/unsigned apk $ ./gradlew assembleRelease -
erikyuntantyo revised this gist
Jan 9, 2018 . No changes.There are no files selected for viewing
-
erikyuntantyo created this gist
Jan 9, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # create assets folder in the current project $ mkdir android/app/src/main/assets # create bundle script $ 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/ # execute build debuk.apk $ react-native run-android