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

后端 未结 30 4299
鱼传尺愫
鱼传尺愫 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:00

    I spent hours trying to figure this issue out. My problem was not specific to Windows but is specific to Android.

    Accessing the development server worked locally and in the emulator's browser. The only thing that did not work was accessing the development server in the app.

    Starting with Android 9.0 (API level 28), cleartext support is disabled by default.

    AndroidManifest.xml

    
    
        
        
            ...
        
    
    

    See for more info: https://stackoverflow.com/a/50834600/1713216

提交回复
热议问题