Error:Error: Can't process attribute android:fillColor="@color/colorPrimary": references to other resources are not supported by build-time PNG generation
解决办法的官方网站 https://developer.android.google.cn/studio/write/vector-asset-studio
build.gradle 文件添加声明
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
dependencies {
compile 'com.android.support:appcompat-v7:23.2.0'
}