Starting with Batch 1.15.0, the Android SDK requires AndroidX.
If you see one of the following errors:
This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry.
Manifest merger failed : Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86
is also present at [com.android.support:support-compat:28.0.0]
error: package android.support.v7.app does not exist
then your project doesn't use AndroidX but the legacy support libraries.
There are two ways to fix this:
Migrate your project to androidx (recommended)
Downgrade to Batch 1.14 and plan to upgrade to migrate to androidx at a later date
If you don't use any support library, you may have to add
android.useAndroidX=true in your