as升级到3.1.3后, 开始撸新的项目, 因项目中用到了 SVG 格式的图片, 报一下错误:
Can't process attribute android:fillColor="@color/***": references to other resources are not
解决办法:在gradle文件android下添加。
defaultConfig { vectorDrawables.useSupportLibrary = true }
as升级到3.1.3后, 开始撸新的项目, 因项目中用到了 SVG 格式的图片, 报一下错误:
解决办法:在gradle文件android下添加。
defaultConfig { vectorDrawables.useSupportLibrary = true }