Could not resolve xpp3:xpp3:1.1.4c

attempting to use

implementation "org.igniterealtime.smack:smack-android:4.2.0"
implementation "org.igniterealtime.smack:smack-tcp:4.2.0"

generates an error

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve xpp3:xpp3:1.1.4c.
<a href="openFile:C:/Users/saruman/AndroidStudioProjects/passengerMVP/app/build.gradle">Open File</a><br><a href="Unable to resolve dependency for &#39;:app@debug/compileClasspath&#39;: Could not resolve xpp3:xpp3:1.1.4c.">Show Details</a>

gradle build failed. :frowning:

Well the message means that gradle was not able to resolve “xpp3:xpp3:1.1.4c”, which usually means that none of the Maven repositories gradle knows contains the artifact. But this is add, as this particular version of xpp3 is certainly on Maven Central and I would assume that you configured Maven Central to fetch Smack from in the first place.

Also please don’t hijack years old threads next time. :slight_smile: