Invalid drawable tag vector

后端 未结 14 1044
小蘑菇
小蘑菇 2020-12-28 12:34

Im trying to use vector drawables on pre lollipop devices. I did all as instructed here but i still get this crash.

build.gradle:

14条回答
  •  死守一世寂寞
    2020-12-28 13:00

    It works with 23.2.0 or 23.4.0, not 23.3.0. Seriously Google!

    First up, this functionality was originally released in 23.2.0, but then we found some memory usage and Configuration updating issues so we it removed in 23.3.0. In 23.4.0 (technically a fix release) we’ve re-added the same functionality but behind a flag which you need to manually enable.

    Ref : https://medium.com/@chrisbanes/appcompat-v23-2-age-of-the-vectors-91cbafa87c88#.waicp19gh

提交回复
热议问题