当前位置:网站首页>Vectordrawable error
Vectordrawable error
2022-06-11 20:31:00 【Build a boat in the wind】
Abnormal information :
Can't process attribute android:fillColor="@color/colorPrimary": 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.
resolvent :
modify app.gradle, Add the following
// stay gradle2.0 And above :
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
// stay gradle 1.5 before
android {
defaultConfig {
// Stops the Gradle plugin’s automatic rasterization of vectors
generatedDensities = []
}
// Flag to tell aapt to keep the attribute ids around
aaptOptions {
additionalParameters "--no-version-vectors"
}
}
边栏推荐
- Simulate Oracle lock waiting and manual unlocking
- In 2021, the global revenue of Indian fragrant rice was about $12530 million, and it is expected to reach $21670 million in 2028
- Gestionnaire de paquets d'Unit é Starting Server Stuck
- 29. location object
- Calculation of Zeno paradox
- Date of SQL optimization_ Format() function
- Force buckle 6 Zigzag transformation
- moderlarts第一次培训
- Première formation sur les largeurs modernes
- sql优化之DATE_FORMAT()函数
猜你喜欢

2022Redis7.0x版本持久化详细讲解

29. location object

12 date and time in R

unity里面使用opencv,qt建立plugin(一)

浅聊对比学习(Contrastive Learning)第一弹
Recompile kubeadm to solve the problem of certificate expiration in one year

Teach you how to grab ZigBee packets through cc2531 and parse encrypted ZigBee packets

What is the essence and process of SCM development? Chengdu Automation Development Undertaking

11 r create random number

周鸿祎:想做直播带货抹不下面子 数据勒索成突出的安全威胁
随机推荐
Recompile kubeadm to solve the problem of certificate expiration in one year
Apache APISIX 在Amazon Graviton3 上的安装和性能测试
STL container nested container
In 2021, the global revenue of Indian fragrant rice was about $12530 million, and it is expected to reach $21670 million in 2028
Gestionnaire de paquets d'Unit é Starting Server Stuck
29. location object
Unity package manager starting server stuck
使用flask框架写挡板
unity package manager starting server stuck(Unity启动卡在starting server,然后报错)
STL容器嵌套容器
27. this指向问题
Rtd2171u, substitute for trd2171u, substitute for trd2171u, cs5261 C to hdmi4k_ 30Hz
Flutter doctor 顯示xcode沒有安裝的解决辦法
2022-2028 global and Chinese thermopile infrared sensor market status and future development trend
Windows icon display exception resolution. The desktop icon is abnormal, the start menu icon is abnormal, and the taskbar icon is abnormal. Icon cache location.
Unity screenshot
Force buckle 6 Zigzag transformation
Unified exception handling
秀创意,赢显卡!MMPose姿态估计创意大赛震撼来袭
Shanghai internal promotion 𞓜 Yuyang teacher's research group of Shanghai Chizhi research institute recruits full-time researchers