Skip to content

Move to protobuf-javalite  #133

@djmuhlestein

Description

@djmuhlestein

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions