#DuplicateClasses

1 messages · Page 1 of 1 (latest)

solar viper
#

Hello, I'm getting the error below. I think it's conflicting because I've used Google services before. What's the best solution for this?

  • What went wrong:
    Execution failed for task ':launcher:checkReleaseDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.google.android.gms.games.AchievementsClient found in modules jetified-play-services-games-23.1.0-runtime (com.google.android.gms:play-services-games:23.1.0) and jetified-play-services-games-v2-17.0.0-runtime (com.google.android.gms:play-services-games-v2:17.0.0)

solar viper
#

These are the ones I already use

mystic moth
#

What services are you using from our plugin?

solar viper
#

Cloud services and game services, I think I solved the problem by deleting the old google play games files, but now I'm getting another error

#

I'm getting a null reference error somewhere I don't understand.

solar viper
#

@mystic moth do you have any idea for that

mystic moth
#

The shared error exception is actually in PlayerOperations class which is not part of thd plugin.

solar viper
#

No this is my own class for playerdata, I just integrated the cloud codes. I think I used wrong sha key for cloud api.

#

In addition, as I know google saved games has the ability to work offline. Does this also work when using the plugin or do I need to do anything?

mystic moth
#

Yes. Works offline. No extra code needed.

solar viper
#

I couldn't use it stably, sometimes it works sometimes it doesn't

#

myCloudData is returning to null

#

are there any steps that you suggest I check