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
Unable to find JsonFormat class in Android #276
Comments
This has nothing to do with this plugin, since But in short, |
Thanks @ejona86 for the quick revert. |
I'm not aware of any, but I'm not in-the-know enough to say if someone else has made something. We tend to think that conversions like that shouldn't be happening in an Android app (due to app size), so we design the system differently. |
@sourcesoftankit did you find any alternative to convert the protobuf generated to JSON? |
If it helps to anyone. I've described the problem and the solution in a thread in google forums. Solution, using https://groups.google.com/forum/#!topic/protobuf/EC2TtPixCFY |
is there any good solution except using protobuf-java instead of javalite? |
I am using "Protobuf" library in android, and My business logic required to convert Proto format to Json so i need JsonFormat class for that but i am not able to find the "com.google.protobuf.util.JsonFormat" class and even com.google.protobuf.util package also.
I am using lite version of Protobuf and My gradle entry for protobuf is
And in my project level gradle:
The text was updated successfully, but these errors were encountered: