I'm trying to run my first React Native project for first time on my device (Android 9.0.0).
            Asked
            
        
        
            Active
            
        
            Viewed 243 times
        
    1
            
            
         
    
    
        Kanzariya Hitesh
        
- 118
- 1
- 15
- 
                    What have you done? How did you get to this point? Have you changed any code. Please provide some more information – Sebastian Berglönn Dec 10 '19 at 12:11
- 
                    i well run my database project and no i can't change any code. – Kanzariya Hitesh Dec 10 '19 at 12:13
1 Answers
0
            
            
        <?xml version="1.0" encoding="utf-8"?>
<manifest ...>
<uses-permission android:name="android.permission.INTERNET" />
<application
    ...
    android:usesCleartextTraffic="true" . <-- add this line in your manifest file
    ...>
    ...
</application>
</manifest>
remove android ./build folder and re-run your project
 
    
    
        Jitendrasinh Zala
        
- 151
- 13
- 
                    Thanks for response. does not work same error in device(8.1.0) – Kanzariya Hitesh Dec 11 '19 at 05:32
- 
                    check this https://stackoverflow.com/questions/44446523/unable-to-load-script-from-assets-index-android-bundle-on-windows/44476757#44476757 – Jitendrasinh Zala Dec 11 '19 at 05:49
- 
                    
