-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
prestandardThis issue is referring to the "prestandard" solution and not the current GAEN implementation.This issue is referring to the "prestandard" solution and not the current GAEN implementation.
Description
Hello, I am trying to implement your library into our project and getting some troubles.
Protobuf issue:
> 1 exception was raised by workers:
java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.google.protobuf.AbstractMessageLite found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.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 protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protobuf-lite-3.0.1.jar (com.google.protobuf:protobuf-lite:3.0.1)
Duplicate class com.google.protobuf.AbstractMessageLite$Builder$LimitedInputStream found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protobuf-lite-3.0.1.jar (com.google.protobuf:protobuf-lite:3.0.1)
Duplicate class com.google.protobuf.AbstractParser found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protobuf-lite-3.0.1.jar (com.google.protobuf:protobuf-lite:3.0.1)
Duplicate class com.google.protobuf.AbstractProtobufList found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protobuf-lite-3.0.1.jar (com.google.protobuf:protobuf-lite:3.0.1)
Duplicate class com.google.protobuf.Any found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protolite-well-known-types-17.0.0-runtime.jar (com.google.firebase:protolite-well-known-types:17.0.0)
Duplicate class com.google.protobuf.Any$1 found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protolite-well-known-types-17.0.0-runtime.jar (com.google.firebase:protolite-well-known-types:17.0.0)
Duplicate class com.google.protobuf.Any$Builder found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protolite-well-known-types-17.0.0-runtime.jar (com.google.firebase:protolite-well-known-types:17.0.0)
Duplicate class com.google.protobuf.AnyOrBuilder found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protolite-well-known-types-17.0.0-runtime.jar (com.google.firebase:protolite-well-known-types:17.0.0)
Duplicate class com.google.protobuf.AnyProto found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protolite-well-known-types-17.0.0-runtime.jar (com.google.firebase:protolite-well-known-types:17.0.0)
Duplicate class com.google.protobuf.Api found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protolite-well-known-types-17.0.0-runtime.jar (com.google.firebase:protolite-well-known-types:17.0.0)
Duplicate class com.google.protobuf.Api$1 found in modules protobuf-javalite-3.11.4.jar (com.google.protobuf:protobuf-javalite:3.11.4) and protolite-well-known-types-17.0.0-runtime.jar (com.google.firebase:protolite-well-known-types:17.0.0)
...of course, error code continues much further.
Have tried to look for a workaround, but nothing works out perfectly.
Have tried to exclude sub dependency:
implementation ('org.dpppt:dp3t-sdk-android:0.2.6') {
exclude group: "com.google.protobuf", module: "protobuf-javalite"
}
And at least it helps to build the project. However, when invoking initialize method error happens:

We are using firebase config and firebase inappmessaging in our project.
Is there any way to make it work?
Any help appreciated.
Metadata
Metadata
Assignees
Labels
prestandardThis issue is referring to the "prestandard" solution and not the current GAEN implementation.This issue is referring to the "prestandard" solution and not the current GAEN implementation.