"react": "16.0.0-alpha.12",
"react-native": "0.47.0",
"react-native-splash-screen": "^3.0.1"
Build console:

MainActivity.java;

@brkrtp I'm experiencing the same error. The link in your latest comment is broken for me (404). What did you do to fix the issue?
Hello, Have you found any solution for this ?
@jnranawedo in my case, I wasn't including Bundle in android/app/src/main/java/com/<myapp>/MainActivity.java.
I solved the issue by adding these lines to the top of MainActivity.java:
import android.os.Bundle; // required for onCreate parameter
import org.devio.rn.splashscreen.SplashScreen; // required for react-native-splash-screen >= 0.3.1
this might help you
MainActivity.java
import android.os.Bundle;
import com.facebook.react.ReactActivity;
import com.cboy.rn.splashscreen.SplashScreen;
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
SplashScreen.show(this); // here
super.onCreate(savedInstanceState);
}
// ...other code
}
@brandonjyuhas solution worked but shouldnt this be in the docs?
Or did i miss it?
Yes, how is this not in the docs (still!)?
Yes it's Working
Just Add the this line given that document.
"import android.os.Bundle;"
Thankyou...
Most helpful comment
@jnranawedo in my case, I wasn't including
Bundleinandroid/app/src/main/java/com/<myapp>/MainActivity.java.I solved the issue by adding these lines to the top of
MainActivity.java: