Issue
we're making an Android Binding Library for the Polar SDK. Everything works well except for one method call (setLocalTime()
- all other methods work) that fails with the following error:
Java.Lang.Throwable: Failed resolution of: Lprotocol/PftpRequest$PbPFtpSetLocalTimeParams; ---> Java.Lang.ClassNotFoundException: protocol.PftpRequest$PbPFtpSetLocalTimeParams ---> Java.Lang.NoClassDefFoundError: Failed resolution of: Lcom/google/protobuf/GeneratedMessageLite; ---> Java.Lang.ClassNotFoundException: Didn’t find class “com.google.protobuf.GeneratedMessageLite”
Does anyone know what could be the cause of this and how to fix it? Any help would be appreciated.
Solution
Turns out we were missing dependencies. Not sure why they aren't packaged with the SDK's .aar file. I re-read the SDK's readme and added the right protobuf jar downloaded from the maaven site. The missing jars were marked as EmbeddedReferenceJar
in the Xamarin project.
Answered By - Simon Corcos
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.