connectionConfig.setSecurityMode(SecurityMode.disabled); 怎么样才能 用安全模式? 目前,从smack4.1.x开始,已经全面支持android端开发了,无需使用Asmack类库包了。