Hi,
Is it possible to have both plugins SdkBoxPlay and GPG imported together and used inside a game with Cocos Creator 2.2.1?
My game works fine with SdkBoxPlay for leaderboard/achievements.
But when I also import GPG plugin to use NearbyConnections, the build then failed with error below. I believe this is because both plugins have common lib dependencies. (Both plugin are 2.6.0.1)
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3m 31s
Error running command, return code: 1.
Thanks,
Majiho