unresolved supertypes with proto lite

219 views
Skip to first unread message

Sterling Albury

unread,
May 1, 2023, 1:39:01 PM5/1/23
to Protocol Buffers
I'm trying to generate kotlin files from protobuf messages in my Android project and I'm trying to only use the lite versions of the protobuf libraries. I have other libraries in my project that use `protobuf-javalite` and trying to avoid any conflicts with libraries. However, I keep seeing "unresolved supertypes" errors. Missing classes include `GeneratedMessageV3` and `MessageOrBuilder`, among others. I've tried using other dependencies, such as `protobuf-javalite` and `protobuf-lite` but still seeing the unresolved supertype errors, which I don't get with `protobuf-java`, but then I start running into conflicts with my other app libraries. Is it not possible to avoid using `protobuf-java`?

Thanks,
Sterling

Reply all
Reply to author
Forward
0 new messages