I want to customize my splash screen on Android 12 and I get the AAPT error:
AAPT: error: style attribute 'android:attr/windowSplashScreenAnimatableIcon' not found.
Here is the relevant part of the style:
<style name="SplashTheme" parent="@style/Theme.MaterialComponents.DayNight.NoActionBar">
<item name="android:windowSplashScreenAnimatableIcon">@drawable/ic_splash</item>
</style>
That is the attribute mentioned in the documentation.
Here is an overview of the build tool libs I'm using:
compileSdk="android-S"
minSdk=21
targetSdk="S"
buildTools='31.0.0-rc4'
I use Android Studio Arctic Fox | 2020.3.1 Beta 1 just for the records.
Can someone point out what I'm doing wrong?