Skip to content
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

Build fails with firebase dependency #10

Closed
ggajews opened this issue Jul 2, 2021 · 3 comments
Closed

Build fails with firebase dependency #10

ggajews opened this issue Jul 2, 2021 · 3 comments

Comments

@ggajews
Copy link

ggajews commented Jul 2, 2021

This library is using protobuf-java dependency which clashes with Firebase library which contains protobuf-javalite.
I'm not sure if there is a way to resolve this dependency issue.

My android instrumentation builds fails with multiple errors like this:

Duplicate class com.google.protobuf.AbstractMessageLite found in modules jetified-protobuf-java-3.14.0 (com.google.protobuf:protobuf-java:3.14.0) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)

@nymanjens
Copy link
Collaborator

It feels like your problem would be solved if we changed the protobuf dependency to protobuf-lite.

I tried this and everything seems to build, so unless anyone objects, you can expect a release for this early next week.

@ggajews
Copy link
Author

ggajews commented Jul 5, 2021

👍 thanks!

@nymanjens
Copy link
Collaborator

I just released v1.4, with the protobuf-lite replacement. It'll probably take O(hours) before it is distributed across all channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants