Android X issue

Moderator: Support

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

Android X issue

Post by kathrine »

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

Post by Chris.. »

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

Post by Chris.. »

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: 147
Joined: Tue Aug 27, 2013 1:47 pm

Re: Android X issue

Post by Serhii Kulibaba »

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

Post by Jingg »

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

Post by western21 »

Chris, thank you for the information!

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

Post Reply