Я создал собственный XMPP-клиент, но этот клиент не подключен к Ejabberd LocalHost Server .. Мой код: ..
XMPPTCPConnectionConfiguration conf = XMPPTCPConnectionConfiguration.builder()
.setUsernameAndPassword("suboshan@localhost", "suboshan")
.setXmppDomain("192.168.1.9")
.setPort(5222)
.setHost("192.168.0.100")
.setResource("Rooster")
.setKeystoreType(null) //This line seems to get rid of the problem
.setSecurityMode(ConnectionConfiguration.SecurityMode.required)
.setCompressionEnabled(true).build();
Пожалуйста, любой может помочь решить проблему ..