Smack_4_0_6 no javax.security.sasl.SaslException?

The type javax.security.sasl.SaslException cannot be resolved. It is indirectly referenced from

required .class files

XMPPTCPConnection con;

con.login("", “”); is not SaslException;

thankyou.

This means that the class is not in the (boot)classpath. Or, what eventually helps you more: Smack 4.0 does not run on Android.

thank you very macth!

Because different versions of JDK~

Android does not use (Oracle’s) JRE.