but the 'android.useandroidx' property is not enabled. set this property to true code example
Example: This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled.
android.useAndroidX=true
android.enableJetifier=true