using just the dependencies of
- smack-tcp:4.5.0-alpha1
- smack-im:4.5.0-alpha1
- smack-extensions:4.5.0-alpha1
- smak-java8:4.4.0
in a maven environment, I can connect to my openfire server without issue.
However, when I use the same code in an android app built with gradle and using the same dependencies, I get the following error:
org.jivesoftware.smack.xml.XmlPullParserFactory: Provider org.jivesoftware.smack.xml.stax.StaxXmlPullParserFactory could not be instantiated.
Please help.