References to other resources are not supported by build-time PNG generation

前端 未结 8 2009
陌清茗
陌清茗 2020-12-12 11:25

AndroidStudio 3.0 / Android Gradle plugin 3.0


  

8条回答
  •  轮回少年
    2020-12-12 12:02

    I've been able to work around this by doing the following:

    1. create a drawable-v21 folder and copy all your drawable xmls that use variables there
    2. in the original drawable folder change all the icons to use a static color

    This way the compiler will work

提交回复
热议问题