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 file and retry.


Manifest merger failed : Attribute application@appComponentFactory value=( from [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86
is also present at []


error: package does not exist

 then your project doesn't use AndroidX but the legacy support libraries.

There are two ways to fix this:

If you don't use any support library, you may have to add android.useAndroidX=true in your  file.

Did this answer your question?