Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11412

Re: Smack 4.1 in android, getting exception "VerifyError" org/jivesoftware/smack/sasl/javax/SASLJavaXMechanism

$
0
0

You added Smack components that require a Java SE runtime which his not provided by Android. Those are all smack components with 'java' in its name, e.g. smack-java7, smack-resolver-javax, and so on.

 

Remove those, read the Smack 4.1 README. And I really recommend *not* adding the Smack components as .jar files to your project, as you may get problems with (transitive) dependencies. Instead use a build system which is able to fetch maven artifacts, e.g. gradle.


Viewing all articles
Browse latest Browse all 11412

Trending Articles