Re: [protobuf] NoClassDefFoundError Android

2012-05-08 Thread Kasper Revsbech
Hi Jason thanks for your answer. I just pasted the relevant lines from the proto file, sorry for not being more explicit about that. Here is a paste of the whole file: http://pastebin.com/uCKCsviG the file is called doorProtocol and hence since I have/had not specified the outer class name the

Re: [protobuf] NoClassDefFoundError Android

2012-05-08 Thread Jason Hsueh
Your proto file in the link looks incomplete. Have you checked the outer class name option? https://developers.google.com/protocol-buffers/docs/reference/java-generated#invocation On Tue, May 8, 2012 at 12:25 AM, Kasper Revsbech wrote: > Hi all > I have a mind wrapping problem using protocol Buff

[protobuf] NoClassDefFoundError Android

2012-05-08 Thread Kasper Revsbech
Hi all I have a mind wrapping problem using protocol Buffers on Android. I among other commands defined a request in my .proto file: http://pastebin.com/B4htQeRm In my communication I do as follows: Protocol.request.Builder r = Protocol.request.newBuilder(); However on run time I get the error