bug100000 / react-native

native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native

native

1- Create a new folder => android/app/src/main/assets

2- Run this command =>

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
This command will create 2 files : index.android.bundle & index.android.bundle.meta

3- run command => react-native run-android

  • 开启安卓开发平台自带的模拟器时,无法开启。 点击这里

About

native