All Collections
Getting Started
Compilation fails after migrating to Batch 1.15.0
Compilation fails after migrating to Batch 1.15.0
Arnaud avatar
Written by Arnaud
Updated over a week ago

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 supported library, you may have to add android.useAndroidX=true in your  file.

This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on and our blog.

Did this answer your question?