Smack_4_0_6 no

The type cannot be resolved. It is indirectly referenced from

required .class files

XMPPTCPConnection con;

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


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.