Android动画矢量在一个文件中编译错误

Android动画矢量在一个文件中编译错误,android,animation,vector,Android,Animation,Vector,我已从导出动画向量 生成的文件是 <animated-vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"> <aapt:attr name="android:drawable"> <vector xmlns:android="http:

我已从导出动画向量

生成的文件是

<animated-vector
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:aapt="http://schemas.android.com/aapt">
    <aapt:attr name="android:drawable">
        <vector
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:width="510dp"
            android:height="510dp"
            android:viewportWidth="510"
            android:viewportHeight="510"
            android:alpha="1">
            <group android:name="group">
                <group android:name="play_circle_outline">
                    <path
                        android:name="path"
                        android:pathData="M 204 369.75 L 357 255 L 204 140.25 L 204 369.75 Z M 255 0 C 114.75 0 0 114.75 0 255 C 0 395.25 114.75 510 255 510 C 395.25 510 510 395.25 510 255 C 510 114.75 395.25 0 255 0 Z M 255 459 C 142.8 459 51 367.2 51 255 C 51 142.8 142.8 51 255 51 C 367.2 51 459 142.8 459 255 C 459 367.2 367.2 459 255 459 Z"
                        android:strokeColor="#000000"/>
                </group>
            </group>
        </vector>
    </aapt:attr>
    <target android:name="path">
        <aapt:attr name="android:animation">
            <objectAnimator
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:name="path"
                android:propertyName="pathData"
                android:startOffset="200"
                android:duration="1000"
                android:valueFrom="M 204 369.75 L 357 255 L 204 140.25 L 204 369.75 Z M 255 0 C 114.75 0 0 114.75 0 255 C 0 395.25 114.75 510 255 510 C 395.25 510 510 395.25 510 255 C 510 114.75 395.25 0 255 0 Z M 255 459 C 142.8 459 51 367.2 51 255 C 51 142.8 142.8 51 255 51 C 367.2 51 459 142.8 459 255 C 459 367.2 367.2 459 255 459 Z"
                android:valueTo="M 204 369.75 L 360 180 L 204 369.75 L 150 336.75 Z M 255 0 C 114.75 0 0 114.75 0 255 C 0 395.25 114.75 510 255 510 C 395.25 510 510 395.25 510 255 C 510 114.75 395.25 0 255 0 Z M 255 459 C 142.8 459 51 367.2 51 255 C 51 142.8 142.8 51 255 51 C 367.2 51 459 142.8 459 255 C 459 367.2 367.2 459 255 459 Z"
                android:valueType="pathType"
                android:interpolator="@android:anim/accelerate_decelerate_interpolator"/>
        </aapt:attr>
    </target>
</animated-vector>

这里的一部分文件几乎相同。

这是android studio编辑器的bug。顺便说一句,在android studio 2.3上,这个文件编译和运行得很好,我用你的绘图工具试用过)


这是android studio编辑器的bug。顺便说一句,在android studio 2.3上,这个文件编译和运行得很好,我用你的绘图工具试用过)