Q:

Migrate to AndroidX

I'm trying to migrate to AndroidX and we use this library in our project. However, this is currently causing an issue in our project:

Unable to resolve dependency for ':module@buildType/compileClasspath':
  Failed to transform file 'localytics-1.3.0.aar' to match attributes
  {artifactType=processed-aar} using transform JetifyTransform

Removing the library makes this issue disappear.
Is there any workaround that would allow me to migrate to AndroidX til this library is migrated?
Per the documentation: https://developer.android.com/jetpack/androidx/migrate
I have updated my gradle.properties. The issue is not with setup, the issue is that localytics does not seem to support androidX. I want to confirm this if anyone knows since contacting them results in no answer (they have poor costumer service).

A:

Someone posted a patch on Github:

Clone the repository.
Update the analytics-android-integration-localytics project to the latest
Android updates, including AndroidX. Generate a jar file instead of
an aar file. (This is the winning item here. It must be a jar file
for it to work. An aar file isn't needed anyway since there aren't
any resources in this project's aar file.)
Remove the existing maven dependencies in the consuming project.
Import the jar file as new module in the consuming project.
Rebuild the consuming project.

