kathrine
Posts: 1
Joined: Wed Oct 14, 2020 10:42 am

Android X issue

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: Android X issue

Hi Katherine,

I had the same issue. For me it only shows in Android, not iOS. And no, I don't have a solution yet.

I suspect Appery's response, if you get one, will simply be to point out that third-party plugins are outside the scope of their support.

Chris

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

Re: Android X issue

Hi Katherine,

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Re: Android X issue

Chris, thank you for the information!

Kathrine, could you please test it on your side? Does that solution fix the issue?

Jingg
Posts: 1
Joined: Sat Jun 19, 2021 4:16 pm

Re: Android X issue

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.

western21
Posts: 1
Joined: Tue Jun 29, 2021 2:43 pm

Re: Android X issue

Chris, thank you for the information!

Kathrine, could you please test it on your side? Does that solution fix the issue.?

gochi88
Posts: 2
Joined: Wed Sep 01, 2021 7:26 am

Re: Android X issue

western21 wrote: Tue Jun 29, 2021 2:44 pm

Chris, thank you for the information!

Kathrine, could you please test it on your side? Does that solution fix the issue.?

Thank you for your info.

Glendani
Posts: 1
Joined: Sun Nov 14, 2021 8:33 pm

Re: Android X issue

Chris.. wrote: Tue Oct 20, 2020 8:03 pm

Hi Katherine,

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

Thanks for the solution, but it still doesn't work for me.

JohnWick128
Posts: 6
Joined: Sat Jul 17, 2021 7:23 am
Contact: Website

Re: Android X issue

kathrine wrote: Wed Oct 14, 2020 10:43 am

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

Hello kathrine, I am also facing the sameissue with my I phone 11. Did you find out the solution yet??
Hoping for your reply asap...
??

Last edited by JohnWick128 on Mon Feb 13, 2023 10:41 am, edited 3 times in total.
Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Re: Android X issue

Hello,

This issue is most likely connected with some plug-ins added but to get more details, we need to check the project.
And the possibility is high that upgrading to the most recent library versin will resolve this.

Return to “Issues”