[protobuf] Re: NoClassDefFoundError

2011-06-10 Thread Ben Wright
The descriptor.proto is the proto that describes proto files. This supports that Java and C++ reflection language feature and is required to be part of the java library. descriptor.proto is located at protobuf-2.4.1/src/google/protobuf/ descriptor.proto (with the C++ code) Please see the file in

[protobuf] Re: NoClassDefFoundError

2011-06-10 Thread Jubei
Thank you for your response. Unfortunately I'm not sure what descriptor.proto is. I never had to compile that before. What would I do with the output of compiling that file? On Jun 10, 9:29 am, Ben Wright wrote: > Did you remember to compile descriptor.proto with protoc? -- You received this m

[protobuf] Re: NoClassDefFoundError

2011-06-10 Thread Ben Wright
Did you remember to compile descriptor.proto with protoc? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@goo

[protobuf] NoClassDefFoundError

2011-06-10 Thread Jubei
Hello. I have already read the previous posts and attempted to everything right to get Protobuf 2.4.1 working on android but I still get a NoClassDefFoundError on runtime at the following line: PhoneEvent.Builder eventMessage = PhoneEvent.newBuilder().setX(x).setY(y).setZ(z); I have: - Downloaded