-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Android, Conflict between protobuf-java and protobuf-javalite. #370
Comments
Will adding an exclusion help resolve this conflict? Here's an example from a build.gradle with Groovy DSL
|
I'm having the same issue. Adding the inclusion lines doesn't seem to help. |
@lessthanoptimal we also have this issue. |
@zvibazak and @seankim1311 can someone share a simple project that I can replicate the issue with? I think @SherMish has a work around, but worried it might be hiding an issue where conflicting jars are included at runtime. |
Hi, when I add a dependency to build.gradle on Android, the following error appears:
Duplicate class com.google.protobuf.Writer found in modules jetified-protobuf-java-3.17.3 (com.google.protobuf:protobuf-java:3.17.3) and jetified-protobuf-javalite-3.11.4 (com.google.protobuf:protobuf-javalite:3.11.4)
Duplicate class com.google.protobuf.Writer$FieldOrder found in modules jetified-protobuf-java-3.17.3 (com.google.protobuf:protobuf-java:3.17.3) and jetified-protobuf-javalite-3.11.4 (com.google.protobuf:protobuf-javalite:3.11.4)
This seems like a problem with Protobuf, but can I get another version or special detour to avoid this problem in boofcv?
The text was updated successfully, but these errors were encountered: