4. Enable AndroidX and R8

The WinZO SDK depends on the AndroidX Support Libraries instead of the original Android Support Libraries. Additionally, R8 has replaced Proguard as the standard tool for code shrinking, desugaring, and obfuscation.

In your project, add the lines below to the gradle.properties file. If it does not already exist, create it. These will tell Android Studio to automatically migrate dependencies from any original Support Libraries to their AndroidX equivalents, and enable R8.

gradle.properties
android.useAndroidX=true
android.enableJetifier=true
android.enableR8=true

Last updated