Answers for "fix This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled."

2

This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled.

// 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
Posted by: Guest on May-24-2021

Code answers related to "fix This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled."

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language