title: Quickblox: ClassDefNotFoundError : Smack.smackAndroid in video chat
body: <p>I have used <a href="http://quickblox.com/developers/Sample-videochat-android" rel="nofollow">this</a> link to preform videoChat.However, it gives me  <code>java.lang.NoClassDefFoundError</code> which cannot locate : <code>com.quickblox.module.chat.smack.SmackAndroid</code> class .I tried changing the preferences of libraries but din't helped.</p>
  
  <p>Here is the log:</p>
  
  <pre><code>03-22 18:14:21.476: I/dalvikvm(9908): Could not find method com.quickblox.module.chat.smack.SmackAndroid.init, referenced from method com.quickblox.videochatsample.ui.App.onCreate
  03-22 18:14:21.476: W/dalvikvm(9908): VFY: unable to resolve static method 50: Lcom/quickblox/module/chat/smack/SmackAndroid;.init (Landroid/content/Context;)Lcom/quickblox/module/chat/smack/SmackAndroid;
  03-22 18:14:21.476: D/dalvikvm(9908): VFY: replacing opcode 0x71 at 0x0003
  03-22 18:14:21.481: D/AndroidRuntime(9908): Shutting down VM
  03-22 18:14:21.481: W/dalvikvm(9908): threadid=1: thread exiting with uncaught exception (group=0x41927700)
  03-22 18:14:21.486: E/AndroidRuntime(9908): FATAL EXCEPTION: main
  03-22 18:14:21.486: E/AndroidRuntime(9908): java.lang.NoClassDefFoundError: com.quickblox.module.chat.smack.SmackAndroid
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at com.quickblox.videochatsample.ui.App.onCreate(App.java:13)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4684)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at android.app.ActivityThread.access$1400(ActivityThread.java:159)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1376)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at android.os.Handler.dispatchMessage(Handler.java:99)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at android.os.Looper.loop(Looper.java:137)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at android.app.ActivityThread.main(ActivityThread.java:5419)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at java.lang.reflect.Method.invokeNative(Native Method)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at java.lang.reflect.Method.invoke(Method.java:525)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
  03-22 18:14:21.486: E/AndroidRuntime(9908):     at dalvik.system.NativeStart.main(Native Method)
  </code></pre>