Support library VectorDrawable Resources$NotFoundException

前端 未结 14 1353
你的背包
你的背包 2020-11-29 18:40

I am using Design Support Library version 23.4.0. I have enabled the gradle flag:

defaultConfig {
    vectorDrawables.useSupportLibrary = tr         


        
14条回答
  •  旧巷少年郎
    2020-11-29 19:03

    I had a similar problem long ago, it did not work by setting

    vectorDrawables.useSupportLibrary = true

    only worked when I created the "mipmap" folder, and the code used

    imageView.setImageResource (R.mipmap.drawable_image)

    It has more Info here

提交回复
热议问题