Could not get BatchBridge, make sure your bundle is packaged correctly

后端 未结 5 1601
北海茫月
北海茫月 2020-12-18 00:38

I am trying to run a react-native app I have created. I am getting the below screen when I run it initially in my phone.

I tried running the \"react-native

5条回答
  •  一整个雨季
    2020-12-18 01:29

    You must have download index.android.bundle file in your asset folder.

    Open your project directory and shift key+ right click, open command prompt. Then paste 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/
    

提交回复
热议问题