AnimatedVectorDrawable未在Android 8.0.0上运行

AnimatedVectorDrawable未在Android 8.0.0上运行,android,animatedvectordrawable,Android,Animatedvectordrawable,我一直在测试API来制作矢量绘图动画,当我在Android 8.0.0物理设备上运行它时,它只显示动画的结尾(没有动画) 我有一个安卓Q AVD上的测试员,它工作得很好。这是我的毕业剧本: apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.example.nic" m

我一直在测试API来制作矢量绘图动画,当我在Android 8.0.0物理设备上运行它时,它只显示动画的结尾(没有动画)

我有一个安卓Q AVD上的测试员,它工作得很好。这是我的毕业剧本:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.nic"
        minSdkVersion 21
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
    implementation 'com.google.android.material:material:1.0.0'
}

如果我遗漏了什么,请告知。

我在这里读过了吗?我已经试过了。仍然不起作用。好吧,我建议发布一个简短的代码示例来演示这一点,可能有问题,至少对任何想要帮助你复制问题的人来说都比较容易。如果有人有Android 8.0.0设备,请尝试上面构建脚本的动画,如果只是我的设备出现问题,将下载一个模拟器来试用它