Application based on qxmpp can't connect to server on Android, but working well on windows

青春壹個敷衍的年華 提交于 2019-12-12 23:41:48
问题 I'm using qxmpp library in my project. I've tried to write simple app to find out if it connects to server. It connects on Windows well. Then I've tried to test it on Android, but it doesn't connect and I don't know why because it shows no error. The app running correctly on Android, but it seems nothing is going on about XMPP protocol. No connection and logging. All I got in debug() just this one line: D/libc-netbsd( 465): getaddrinfo: gmail.com get result from proxy >> This is my first try: