相关疑难解决方法(0)

找不到 windowSplashScreenAnimatableIcon

我想在 Android 12 上自定义启动屏幕,但收到 AAPT 错误:

AAPT: error: style attribute 'android:attr/windowSplashScreenAnimatableIcon' not found.
Run Code Online (Sandbox Code Playgroud)

这是样式的相关部分:

AAPT: error: style attribute 'android:attr/windowSplashScreenAnimatableIcon' not found.
Run Code Online (Sandbox Code Playgroud)

这就是文档中提到的属性。

以下是我正在使用的构建工具库的概述:

compileSdk="android-S"
minSdk=21
targetSdk="S"
buildTools='31.0.0-rc4'
Run Code Online (Sandbox Code Playgroud)

我使用 Android Studio 北极狐 | 2020.3.1 Beta 1 仅供记录。

有人可以指出我做错了什么吗?

android splash-screen styling android-12

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×1

android-12 ×1

splash-screen ×1

styling ×1