crazycodeboy / react-native-splash-screen

A splash screen for react-native, hide when application loaded ,it works on iOS and Android.
MIT License
5.61k stars 1.09k forks source link

Android crash #52

Open gzfgeh opened 7 years ago

gzfgeh commented 7 years ago

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

Android 5.5.1, react-native-splash-screen v2.0.0 react-native v0.43.2

rocwong-cn commented 7 years ago

+1, Any progress with this issue ?

PARAGJYOTI commented 7 years ago

@gzfgeh @rocwangv It happens if you put the launch_screen.xml file in drawable or other folder . Create a folder named layout in res directory and put the xml there . The path should look like this. android/src/main/res/layout/launch_screen.xml

Gp2mv3 commented 7 years ago

I can confirm the solution of @PARAGJYOTI

Andrfas commented 6 years ago

Not working for me. App crashes with Unfortunately, APP has stopped alert. react-native 0.49.3

Andrfas commented 6 years ago

If anyone else facing this problem - solution in the following issue helped me https://github.com/crazycodeboy/react-native-splash-screen/issues/124

Arshiya7 commented 6 years ago

this is solved by creating the file: android/app/src/main/res/values/colors.xml <?xml version="1.0" encoding="utf-8"?>