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 code example
Example: This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled.
android.useAndroidX=true
android.enableJetifier=true