user836026
user836026

Reputation: 11362

Include jar file on .apk

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

Answers (1)

silentnuke
silentnuke

Reputation: 2622

in your project you need create folder "libs", and put into gcm.jar

Upvotes: 7

Related Questions