react-native packaged apk update js and FAQs

1, packaged and released
a, execute the following command in the root directory of the project resource file packaged js
  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/
b, enter the Android execution directory 
   gradlew assembleRelease
Error handling:
   

Re-compile these files can be deleted after
  
 

Guess you like

Origin www.cnblogs.com/pxjbk/p/11976015.html