Unable to load script from assets index.android.bundle on windows

后端 未结 30 3515
鱼传尺愫
鱼传尺愫 2020-11-22 06:33

I\'m trying to run my first React Native project for first time on my device (Android 4.2.2).

And I get:

unable to load script from assets in

30条回答
  •  无人及你
    2020-11-22 07:01

    It may be caused by unlinked assets in your React Native project code base, like when you renames your project application/bundle id or adds an external package without link it properly, for example.

    Simply try it in your project root directory:

    react-native link
    
    react-native run-android
    

提交回复
热议问题