Published
- 1 min read
This project uses AndroidX dependencies, but the `android.useAndroidX` property is not enabled.
The solution for this is noted below
This project uses AndroidX dependencies, but the android.useAndroidX
property is not enabled.
Solution
// old version fix
// goto [project folder]/platforms/android
// open gradle.properties
// add or modify this lines
android.useAndroidX=true
android.enableJetifier=true
// new version fix
// if not work
// try this
cordova plugin add cordova-plugin-androidx
Try other methods by searching on the site. That is if this doesn’t work