Some test text!

Search
Hamburger Icon

Android / FAQ / Why do I need to enable vectorDrawables support for my app?

Why do I need to enable vectorDrawables support for my app?

The Apryse Android SDK uses vector drawables for all its image resources. In order to support vector drawables on devices running Android versions lower than Android 5.0 (API level 21), you will need set vectorDrawables.usesSupportLibrary = true in your application module's build.gradle file. If your Android app's minimum SDK level is 21 or above, you will not need to set this flag. You can learn more about vector drawable resources in Android.

Example:

android {
    defaultConfig {
        ...
        multiDexEnabled true
+       vectorDrawables.useSupportLibrary = true
        manifestPlaceholders = [pdftronLicenseKey:PDFTRON_LICENSE_KEY]
    }
    ...
}

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales