whyorean / playstore-api-v2

DEPRECATED, Checkout v3
https://gitlab.com/AuroraOSS/gplayapi
GNU General Public License v3.0
31 stars 7 forks source link

Protobuf issue #2

Closed MagisG closed 4 years ago

MagisG commented 4 years ago

I got this kind of error when I add this lib as dependencie:

implementation "androidx.security:security-crypto:1.0.0-alpha02"

Duplicate class com.google.protobuf.AbstractMessageLite found in modules playstore-api-v2-2.4.jar (com.github.whyorean:playstore-api-v2:2.4) and protobuf-lite-3.0.1.jar (com.google.protobuf:protobuf-lite:3.0.1)

Duplicate class com.google.protobuf.AbstractMessageLite$Builder found in modules playstore-api-v2-2.4.jar (com.github.whyorean:playstore-api-v2:2.4) and protobuf-lite-3.0.1.jar (com.google.protobuf:protobuf-lite:3.0.1)

etc.....

whyorean commented 4 years ago

Use it the following way :

implementation("androidx.security:security-crypto:1.0.0-alpha02") { exclude module: "TheModuleNameCausingConflict" }