anywhere
Posts: 40
Joined: Tue Sep 08, 2020 3:04 am

Cant create APK

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.

Chris..
Posts: 9
Joined: Sun Oct 18, 2020 10:33 am

Re: Cant create APK

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

gehlotsur
Posts: 1
Joined: Thu Oct 06, 2022 8:57 am

Re: Cant create APK

i have also faced same issue while building apk

Return to “Issues”