问题
Can't process attribute android:strokeColor="@color/ucrop_color_toolbar_widget": references to other resources are not supported by build-time PNG generation. See http://developer.android.com/tools/help/vector-asset-studio.html for details.
解决方案
参考文档:http://developer.android.com/tools/help/vector-asset-studio.html
在项目build.gradle
中,添加如下代码:
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
OK,完美解决~