(behavior) Two splash screens appear on Android 12+
Android 12 forces a system splash screen, so custom splash activities cause a double splash.
Android 12 splash screen shows twiceSplashScreen API double splashAndroid 12 shows the system splash screen and then my custom SplashActivity again, so two splash screens appear Meaning
Use the SplashScreen compat library: installSplashScreen() and a Theme.SplashScreen; remove the custom splash Activity.
Common causes
- Custom SplashActivity kept
- Missing postSplashScreenTheme
- Icon without proper padding
⚡ Quick fix
- Use androidx.core:core-splashscreen
- Set windowSplashScreenAnimatedIcon
- Remove old splash activity
Detailed fix by platform
Kotlin
override fun onCreate(s: Bundle?) { installSplashScreen(); super.onCreate(s) }
How to diagnose
- Library — core-splashscreen?
- Theme — Theme.SplashScreen?
- Old activity — removed?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Android 14: implicit intents to non-exported components blocked SecurityException: Targeting U+ ... Implicit intents with a mutable PendingIntent are blocked
- Android 15 edge-to-edge: content hidden behind system bars (behavior) UI overlaps status bar and navigation bar on targetSdk 35
- AppWidget not updating / Problem loading widget Can't load widget / RemoteViews: Android.view.InflateException in widget
Most viewed in Android
- Could not resolve Gradle: Could not resolve all files for configuration / Could not resolve dependency
- INSTALL_FAILED_USER_RESTRICTED INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)
- INSTALL_PARSE_FAILED_NO_CERTIFICATES INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Nov 2026