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

Move to protobuf-javalite #133

Open
djmuhlestein opened this issue Jan 13, 2021 · 0 comments
Open

Move to protobuf-javalite #133

djmuhlestein opened this issue Jan 13, 2021 · 0 comments

Comments

@djmuhlestein
Copy link

I didn't create a pull request for this because I don't know if it will suite other people's needs or not. But I thought I'd open an issue and discuss to document what I came across.

I wasn't able to use this library in combination with other android library dependencies that used the protobuf-javalite library. I found that it wasn't enough to just ignore the version dependency and use the lite version because there were some compile class output differences between the two that failed at runtime.

So I re-output the .proto class with lite and changed the dependency. All the tests still pass fine and I was able to go on my way with the other library dependencies working fine.

https://github.com/BrooksEE/chromecast-java-api-v2

I'm not sure if there are reasons to use the full protobuf-java version but I found no difference when testing our application. I suppose if someone had other libraries that require protobuf-java then they'd have the same problem I had with my version that I had with the original version though. I'm unsure the best way to resolve that.

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

1 participant