I am using Smack version 4.1.1(tried with 4.1 as well) on Android Kitkat 4.4.2 &
even after setting SmackConfiguration.DEBUG to true I don't see the XML stanzas
being exchanged between Android & chat server in logcat output.
Share some code so the viewer will be able to understand your exact problem.I'm able to to see the stanzas by setting :
XMPPTCPConnectionConfiguration.Builder configBuilder = XMPPTCPConnectionConfiguration
one more thing i want to ask.have you imported smack debug jars in your debug folder??
does that work in android ?
yeah thats working fine in android.
Thanks. I Forgot about smack debug jar. I will add it & see if it
produces the log.
FYI: Don't use configBuilder.setDebuggerEnabled(true) on
Android, it is meant only for non-Android applications & will
crash your app.
Thanks for the advice bro but I have used this method as per smack 4.1 official documentation snippet and its running quite fine in my android application
Do you have smack-android in your dependencies?
I have both Smack-android & smack-android-extensions jars in my path.
Also, I have added smack-debug-slf4j-4.1.1 & smack-debug-4.1.1 in
my build path, but still don't see the stanza exchange.
I am using Android KitKat v4.4.2
Retrieving data ...