I have an Android project that I would like to upgrade to AndroidX
.
However, I am using a module which is shared across other applications that have not migrated to AndroidX yet. I would like to avoid forking the code and prefer using the support library for the module while upgrading the reset of the project to use AndroidX.
Right now I cannot import any android.support.v7
classes. So for example import android.support.v7.widget.AppCompatEditText;
fails.
I've tried to revert the changes made to build.gradle
by the migration tool in the module but that doesn't prevent the compilation problem.
However in my gradle.properties
still has:
android.useAndroidX=true
android.enableJetifier=true