Black screen showing instead of splash background drawable.
Not sure if it's related, but I had the same issue. I realised that my MainActivity had the following code:
public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle persistentState) {
SplashScreen.show(this);
super.onCreate(savedInstanceState, persistentState);
}
instead of
public void onCreate(Bundle savedInstanceState) {
SplashScreen.show(this);
super.onCreate(savedInstanceState);
}
I recompiled the APK and it worked after that.
Most helpful comment
Not sure if it's related, but I had the same issue. I realised that my MainActivity had the following code:
instead of
I recompiled the APK and it worked after that.