The issue is potentially caused by other .AARs/.JARs that link in differing versions of the same library causing duplicate entries to be added to project's classes.jar. Google has a plugin that we might be able to use to break this dependency management issue across plugins:
When bringing the SDK into a large project with other native plugins, the project will produce the following Gradle error:
Currently we link in the support-annotations library when we build our instrument tests for the shopify_buy_plugin .AAR we generate:
https://github.com/Shopify/unity-buy-sdk/blob/beta/android/shopify_buy_plugin/build.gradle#L29
The issue is potentially caused by other .AARs/.JARs that link in differing versions of the same library causing duplicate entries to be added to project's classes.jar. Google has a plugin that we might be able to use to break this dependency management issue across plugins:
https://github.com/googlesamples/unity-jar-resolver#plugin-redistribution