Ehsan
Ehsan

Reputation: 2781

How to have Android-Support and Android-X at same time for different SDKs

I have an Android SDK that contains two dependencies in it, they are :

android-support-v4

android-support-v7-appcompat

When I add this Android SDK into a Unity application And add Google Play Game plugin into it, I'll get an error in compile time. Error is about duplicate dependencies.

The problem is the Google Play Game plugin used AndroidX in it and the Android SDK used android-support dependency.

It's not possible to migrate the Android SDK to AndroidX.

So how can I deal with this situation?

Upvotes: 0

Views: 194

Answers (1)

Asad Ali
Asad Ali

Reputation: 96

Use Play Services Resolver to resolve all your dependencies issues.

Upvotes: 1

Related Questions