crazycodeboy / react-native-splash-screen

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

android example not working #148

Open ajaxboy opened 6 years ago

ajaxboy commented 6 years ago

this is the log: Error: Activity class {org.examples/org.examples.MainActivity} does not exist.

Total time: 1 mins 32.688 secs Running /Users/cj/Library/Android/sdk/platform-tools/adb -s 895b6883 reverse tcp:8081 tcp:8081 Starting the app on 895b6883 (/Users/cj/Library/Android/sdk/platform-tools/adb -s 895b6883 shell am start -n org.examples/org.examples.MainActivity)... Starting: Intent { cmp=org.examples/.MainActivity } Error type 3 Error: Activity class {org.examples/org.examples.MainActivity} does not exist.

dara-singh commented 6 years ago

Build install successfully. "App has stopped". after adding the splash screen code. Also example not working...

Jun711 commented 6 years ago

@dara-singh try adding android/app/src/main/res/values/colors.xml. It works for me after I added the following.

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="status_bar_color"><!-- Colour of your status bar here --></color>
</resources>
suhabaobaid commented 6 years ago

Any updates on this? Code builds but it notifies that the app has stopped woking

nasserms commented 6 years ago

I am also facing the same problem anyone solved this? @dara-singh i have also add colors.xml but no luck.

umarzaman2010 commented 6 years ago

Hi guys, this problem solved here #[https://github.com/crazycodeboy/react-native-splash-screen/issues/146]