title: Getting NoClassDefFoundError with Google Cloud Messaging (GCM) on Nexus 4
body: <p>I have the gcm.jar in my classpath, so eclipse compiles the project but it fails on my Nexus 4 device with</p>
  
  <pre><code>02-24 11:52:12.645: E/AndroidRuntime(30240): FATAL EXCEPTION: main
  02-24 11:52:12.645: E/AndroidRuntime(30240): java.lang.NoClassDefFoundError: com.google.android.gcm.GCMRegistrar
  02-24 11:52:12.645: E/AndroidRuntime(30240):    at com.foo.closethedoor.CloseTheDoorActivity.onCreate(CloseTheDoorActivity.java:77)
  </code></pre>