Page 1 of 1

Cant create APK

Posted: Mon Oct 12, 2020 1:38 pm
by anywhere

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.


Re: Cant create APK

Posted: Tue Oct 13, 2020 5:45 pm
by Galyna Abramovych

Re: Cant create APK

Posted: Tue Oct 20, 2020 8:04 pm
by Chris..

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


Re: Cant create APK

Posted: Fri Oct 07, 2022 9:08 am
by gehlotsur

i have also faced same issue while building apk