AnsweredAssumed Answered

Error : XMPPTCPConnectionConfiguration.builder() hangs in Android Smack 4.2.0-alpha1

Question asked by Andrea on May 7, 2015
Latest reply on May 10, 2015 by Andrea

Hi everyone,

 

I'm new to Smack and my sample code hangs at XMPPTCPConnectionConfiguration.builder().

Can anyone help me ?

 

1) Environment :

- Android Studio

- Android Smack 4.2.0-alpha1

   . I have copied the source code from the Maven Central Repository and used source code instead of jar files.

     The related jar files are as follows.

external_lib.png

 

     The final jar files that are as follows.

external_src.png

2-1) A simple ActionBarActivity demo program

trace1.png

 

2-2) Debug-trace: Step-Into XMPPTCPConnectionConfiguration.builder()

 

trace2.png

2-3) Debug-trace: Step-Into ConnectionConfiguration => SmackConfiguration.getVersion()

 

trace3.png

2-4) Step-over => ZygoteInit ???) => The demo program is destroyed

 

trace4.png

 

Thanks & Regards,

Outcomes