Search code examples
androidquickblox

Sample video chat from Quickblox not working in Android


I cannot run any sample application in Quickblox Android samples. It shows me NoClassDefinitionFoundException in SmackAndroid.init(this);.

I attached Quickblox jar to the build path and also done checking it in Order and Export. I tried cleaning and rebuilding the application. But it still shows me the same exception. I don't know what I am doing wrong. Please help me.


Solution

  • Finally I found the solution.

    NoClassDefinitionFoundException in SmackAndroid.init(this); is due to eclipse(juno) not importing the library properly. I tried using Intellij Idea, Eclipse Luna then Quickblox working fine. Now I able to use the quickblox functions cheers. Hope, this will help some one.