I testes Smack on Android 4.0.4 today and got very long connection time related to DNS resolving. Very similar to 15 Second Delay Connecting to XMPP Server in 4.2.0 but I’ve seen this only on Android 4.0.4. I have also 4.4.2 and later ones, they work good.
Smack 4.2.0-rc3 Also I use custom AndroidUsingExec class from here Filter out empty values in AndroidUsingExec · Flowdalic/minidns@f46491a · GitHub
Full connection log below:
Smack 4.2.0-rc3 very long time DNS resolving on Android 4.0.4 (no problems on 4.4.2 or 6-7) · GitHub