TechBuzzPro

Android 12 Splash Screen Icon Not Showing? Fix It

· 6 min read · Phones & Tablets

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your Android 12 splash screen icon is not displaying, the cause is almost always a missing or misconfigured windowSplashScreenAnimatedIcon attribute in your app theme, or an icon that the system silently rejects. The fastest fix is to confirm the attribute is set in your launch theme, point it at a valid drawable, and make sure the activity actually uses that theme. Below is the full diagnostic path, from the simplest check to the deeper causes.

What You'll Need

  • Android Studio with an emulator or a physical device running Android 12 (API 31) or higher.
  • Your app project open, with access to res/values/themes.xml (and values-v31 if you use version-specific resources).
  • A vector drawable or PNG for the icon, placed in res/drawable.
  • Basic familiarity with XML resource files and the Android manifest.

Step-by-Step

  1. Check which theme your launcher activity uses. Open AndroidManifest.xml and find the <activity> block for your main activity. Look at its android:theme attribute. If it points to a theme that does not define the splash icon, the system falls back to the app icon or shows nothing. Note the exact theme name.
  2. Open the theme file that defines that theme. This is usually res/values/themes.xml. If you have a values-v31/themes.xml, check that file too, because Android 12 reads the v31 version first when it exists.
  3. Confirm the splash icon attribute is present. Inside the theme, look for <item name="android:windowSplashScreenAnimatedIcon">@drawable/your_icon</item>. Note that the attribute name is animated even for a static icon. If the line is missing, add it. If it points to a resource that no longer exists, that alone explains the blank splash.
  4. Verify the drawable exists and is valid. Open the file referenced by the attribute. A vector drawable must have a proper <vector> root with a viewport and path data. A corrupt or empty XML file will fail to inflate, and the system will quietly skip the icon rather than crash. Re-export or recreate the drawable if in doubt.
  5. Check the icon size and shape. The splash icon is masked to a circle. If your artwork fills the entire canvas edge to edge, the visible part can be cropped to almost nothing, which looks like a missing icon. Keep the important content inside the inner two-thirds of the drawable, and use a square canvas with a transparent background.
  6. Make sure the activity is not overriding the theme at runtime. Call setTheme() before super.onCreate() only if you intend to change the theme, and confirm you are not switching to a theme without the splash attribute. A common mistake is applying a night-mode or custom theme in onCreate that lacks the splash configuration.
  7. Clean and rebuild. In Android Studio, choose Build > Clean Project, then Build > Rebuild Project. Resource changes sometimes do not propagate to the running app, especially after renaming drawables. Uninstall the app from the device or emulator and install again to rule out a stale APK.
  8. Test on a real Android 12+ device or emulator. The splash screen API only applies from API 31 upward. On older versions the system uses the legacy windowBackground, so the icon will not appear there no matter what you set. Confirm the device's Android version in Settings > About phone.
  9. Check for a library that replaces the splash screen. If you use a third-party splash library or a custom splash activity, it may launch before your main activity and show its own blank screen. Temporarily disable it and retest. The native Android 12 splash should appear first, before any custom activity.
  10. Inspect the merged manifest and resources. In Android Studio, open the merged manifest (Build > Analyze APK, or the merged manifest view) and confirm the theme attribute was not overridden by a manifest merger from a library. Also check that no library defines a conflicting windowSplashScreenAnimatedIcon in a theme you inherit from.

Common Mistakes

  • Using windowSplashScreenBackground only. Setting the background colour without the icon attribute gives a plain coloured splash with no logo.
  • Putting the icon in the wrong theme. The attribute must be in the theme applied to the launcher activity, not in a separate splash theme that is never referenced.
  • Referencing a PNG that was deleted or renamed. The build may still succeed if the reference is in an unused resource file, but the splash will be blank.
  • Forgetting the android: namespace. Writing windowSplashScreenAnimatedIcon without the prefix does nothing on Android 12.
  • Assuming the icon shows on Android 11 and below. It does not; those versions use the old launch screen behaviour.
  • Using an adaptive icon XML directly. The splash attribute expects a drawable, and some adaptive icon configurations do not render correctly as the splash icon. Use a simple vector or bitmap instead.

Tips

  • Keep the splash icon simple. Fine detail and small text disappear at the size the system renders.
  • Test in both light and dark mode, because the icon is drawn over the splash background colour, which can differ between themes.
  • Use a dedicated values-v31/themes.xml only if you need different behaviour on Android 12; otherwise a single theme file is easier to maintain.
  • If you want an animated icon, the same attribute accepts an animated vector drawable, but keep the animation short and test performance on a low-end device.
  • Name your splash drawable clearly, such as ic_splash_logo, so it is not confused with the launcher icon.

Troubleshooting

If the icon still does not appear after the steps above, work through these checks in order.

  • Blank splash with correct colour: the icon attribute is missing or the drawable fails to inflate. Open the drawable in Android Studio's preview to confirm it renders.
  • Icon appears on the emulator but not on a device: the device may be running an Android version below 12, or an OEM skin that customises the splash screen. Check Settings > About phone for the version.
  • Icon appears briefly then disappears: a custom splash activity is starting immediately after. Disable it and retest.
  • Build error about the attribute: your compile SDK is below 31. Update compileSdkVersion in the module build file to 31 or higher.
  • Icon is cropped or tiny: the drawable's content extends to the edges. Add padding inside the vector's viewport.
  • Nothing changes after editing: clean and rebuild, then uninstall the app before reinstalling. Resource caching can hide the update.

Frequently Asked Questions

Why is my splash icon missing only on Android 12?

Android 12 introduced the system splash screen API. If your theme does not define windowSplashScreenAnimatedIcon, the system shows a default treatment instead of your icon. Older versions use a different launch screen mechanism, which is why the problem appears only on 12 and above.

Does the splash icon work on Android 11 and below?

No. The windowSplashScreenAnimatedIcon attribute is ignored below API 31. Those versions use the activity's windowBackground for the launch screen.

Can I use a PNG instead of a vector drawable?

Yes. The attribute accepts a bitmap drawable. Use a square image with a transparent background, and keep the important content away from the edges because the system masks the icon to a circle.

Why does the icon look cropped?

The splash icon is displayed inside a circular mask. Artwork that fills the whole canvas gets its corners cut off. Leave padding around the logo so the full shape stays visible.

Do I need a separate theme for Android 12?

Not necessarily. You can add the splash attributes to your existing theme. A separate values-v31 theme is only useful if you want different splash behaviour on Android 12 than on older versions.

Why does the splash screen show the app icon instead of mine?

The system falls back to the launcher icon when the splash icon attribute is absent or points to an invalid resource. Check the theme applied to your launcher activity and confirm the drawable reference is correct.