Foggy day

Android(Java) - vector asset about min sdk 본문

Android

Android(Java) - vector asset about min sdk

jinhan38 2021. 1. 21. 08:31

To use vector asset image, min sdk must be at least 24.

 

But If you add this code "vectorDrawables.useSupportLibrary = true" in gradle, minimum sdk need not be 24.

 

    defaultConfig {
        vectorDrawables.useSupportLibrary = true
       
       ...

    }