I have been trying to connect to my (locally hosted) Openfire XMPP server from my aSmack Android client for hours now, and it\'s still not working.
I get a org
**XMPPTCPConnection connection is already configured so please check the connection before creating object of XMPPTCPConnection class.**
XMPPTCPConnection connection;
if (connection != null) {
connection = null;//make it null
}
connection = new XMPPTCPConnection(config.build());
I am getting this same problem but now it has been fixed try it is working.