Reputation: 11362
I'm developing an application that use Google messaging. Hence, I need to include the gcm.jar in the final .apk file.
I added the jar file in Eclipse using project properties but still I don't think the file included in .apk file because I'm getting the message:
java.lang.NoClassDefFoundError: com.google.android.gcm.CMRegistrar
Hence, I wonder how to include the jar in .apk file?
Upvotes: 2
Views: 3494
Reputation: 2622
in your project you need create folder "libs", and put into gcm.jar
Upvotes: 7