Could not find method javax.security.sasl.Sasl.createSaslClient

I am new to Smack 4.1. My demo app on Android got an exception like this:

Could not find method javax.security.sasl.Sasl.createSaslClient, referenced from method org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism.authenticateInternal

and then : Exception Ljava/lang/VerifyError; thrown while initializing Lorg/jivesoftware/smack/SmackInitialization;

Where could I found javax.security.sasl jar ?

Could anybody help ?

Thanks a lot!

Did you read Smack 4.1 Readme and Upgrade Guide · igniterealtime/Smack Wiki · GitHub ?

Caused by proxy setting.

AS proxy setting do not work, so the dependency can not resolved correctly.

Now, it works.

Thanks!