Search code examples
javaandroidpublish-subscribepubnub

Pubnub on android: class not found


I have imported the jar files. I placed a copy in the libs folder too (just in case). I am just trying to subscribe to a channel.

And I get the error: Could not find class 'com.pubnub.api.Pubnub', referenced from method com.melloto.pubnubtest.MainActivity.onCreate

No clue why the error is popping up. Thanks in advance

Screen Shot


Solution

  • You have to register all library jar files in your project settings. Otherwise eclipse and adt will not use them.