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

This tutorial only applies to Xamarin.Android.

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:

Groovy

1android {
2 defaultConfig {
3 ...
4 multiDexEnabled true
5+ vectorDrawables.useSupportLibrary = true
6 manifestPlaceholders = [pdftronLicenseKey:PDFTRON_LICENSE_KEY]
7 }
8 ...
9}

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales