Hi
I get this error.
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.
Using Cordova Social Share Plugin.
Hi
I get this error.
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.
Using Cordova Social Share Plugin.
If you would like to have the gradle.properties file in your project, you may refer to the following:
https://developer.android.com/jetpack/androidx/migrate
https://docs.gradle.org/current/usergui ... nment.html
https://stackoverflow.com/questions/373 ... rties-file
https://stackoverflow.com/questions/303 ... rties-file
https://stackoverflow.com/questions/394 ... le-project
Hope this helps. Thanks!
Try installing these two Cordova plugins alongside social sharing:
cordova-plugin-androidx
cordova-plugin-androidx-adapter
..as outlined here: https://stackoverflow.com/questions/566 ... x-in-ionic
It works for me.
Chris
i have also faced same issue while building apk