can't use igniterealtime smack on android Could not resolve xpp3:xpp3:1.1.4c










0














I have failed to use smack jabber on android.

app.gradle



implementation "org.igniterealtime.smack:smack-android:4.3.1"

implementation "org.igniterealtime.smack:smack-tcp:4.3.1"



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-client:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve xpp3:xpp3:1.1.4c.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-core:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-jid:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-core:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-hla:0.3.3.


Gradle build failed.



These are my gradle files



app.gradle



apply plugin: 'com.android.application'

android
compileSdkVersion 26
defaultConfig
applicationId "ug.situla.passengermvp"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation "org.igniterealtime.smack:smack-java7:4.3.1"
implementation "org.igniterealtime.smack:smack-android:4.3.1"
implementation "org.igniterealtime.smack:smack-tcp:4.3.1"
//implementation "org.igniterealtime.smack:smack-android:4.2.0"
//implementation "org.igniterealtime.smack:smack-tcp:4.2.0"
//implementation "org.igniterealtime.smack:smack-im:4.2.0"
//implementation "org.igniterealtime.smack:smack-extensions:4.2.0"
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'


configurations
all*.exclude group: 'xpp3', module: 'xpp3'



build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript

repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
//maven url 'http://localhost:8081/repository/google/'
//maven url 'http://localhost:8081/repository/jcenter/'
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()
//google()
//jcenter()



task clean(type: Delete)
delete rootProject.buildDir










share|improve this question























  • You are missing implementation "org.igniterealtime.smack:smack-java7:4.3.1" dependency
    – MatPag
    Nov 10 '18 at 9:37











  • adding it has no effect . Error is still there
    – Dr Deo
    Nov 10 '18 at 9:43










  • Check my answer below
    – MatPag
    Nov 10 '18 at 9:43










  • Thanks, I have posted my full gradle files for full context. Still showing the error
    – Dr Deo
    Nov 10 '18 at 9:54






  • 1




    Have you tried to close and reopen android studio? The classpath should not be a problem here... If you comment the 3 lines of smack implementations everything works fine?
    – MatPag
    Nov 10 '18 at 10:07
















0














I have failed to use smack jabber on android.

app.gradle



implementation "org.igniterealtime.smack:smack-android:4.3.1"

implementation "org.igniterealtime.smack:smack-tcp:4.3.1"



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-client:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve xpp3:xpp3:1.1.4c.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-core:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-jid:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-core:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-hla:0.3.3.


Gradle build failed.



These are my gradle files



app.gradle



apply plugin: 'com.android.application'

android
compileSdkVersion 26
defaultConfig
applicationId "ug.situla.passengermvp"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation "org.igniterealtime.smack:smack-java7:4.3.1"
implementation "org.igniterealtime.smack:smack-android:4.3.1"
implementation "org.igniterealtime.smack:smack-tcp:4.3.1"
//implementation "org.igniterealtime.smack:smack-android:4.2.0"
//implementation "org.igniterealtime.smack:smack-tcp:4.2.0"
//implementation "org.igniterealtime.smack:smack-im:4.2.0"
//implementation "org.igniterealtime.smack:smack-extensions:4.2.0"
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'


configurations
all*.exclude group: 'xpp3', module: 'xpp3'



build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript

repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
//maven url 'http://localhost:8081/repository/google/'
//maven url 'http://localhost:8081/repository/jcenter/'
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()
//google()
//jcenter()



task clean(type: Delete)
delete rootProject.buildDir










share|improve this question























  • You are missing implementation "org.igniterealtime.smack:smack-java7:4.3.1" dependency
    – MatPag
    Nov 10 '18 at 9:37











  • adding it has no effect . Error is still there
    – Dr Deo
    Nov 10 '18 at 9:43










  • Check my answer below
    – MatPag
    Nov 10 '18 at 9:43










  • Thanks, I have posted my full gradle files for full context. Still showing the error
    – Dr Deo
    Nov 10 '18 at 9:54






  • 1




    Have you tried to close and reopen android studio? The classpath should not be a problem here... If you comment the 3 lines of smack implementations everything works fine?
    – MatPag
    Nov 10 '18 at 10:07














0












0








0







I have failed to use smack jabber on android.

app.gradle



implementation "org.igniterealtime.smack:smack-android:4.3.1"

implementation "org.igniterealtime.smack:smack-tcp:4.3.1"



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-client:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve xpp3:xpp3:1.1.4c.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-core:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-jid:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-core:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-hla:0.3.3.


Gradle build failed.



These are my gradle files



app.gradle



apply plugin: 'com.android.application'

android
compileSdkVersion 26
defaultConfig
applicationId "ug.situla.passengermvp"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation "org.igniterealtime.smack:smack-java7:4.3.1"
implementation "org.igniterealtime.smack:smack-android:4.3.1"
implementation "org.igniterealtime.smack:smack-tcp:4.3.1"
//implementation "org.igniterealtime.smack:smack-android:4.2.0"
//implementation "org.igniterealtime.smack:smack-tcp:4.2.0"
//implementation "org.igniterealtime.smack:smack-im:4.2.0"
//implementation "org.igniterealtime.smack:smack-extensions:4.2.0"
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'


configurations
all*.exclude group: 'xpp3', module: 'xpp3'



build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript

repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
//maven url 'http://localhost:8081/repository/google/'
//maven url 'http://localhost:8081/repository/jcenter/'
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()
//google()
//jcenter()



task clean(type: Delete)
delete rootProject.buildDir










share|improve this question















I have failed to use smack jabber on android.

app.gradle



implementation "org.igniterealtime.smack:smack-android:4.3.1"

implementation "org.igniterealtime.smack:smack-tcp:4.3.1"



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-client:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve xpp3:xpp3:1.1.4c.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-core:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jxmpp:jxmpp-jid:0.6.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-core:0.3.3.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.minidns:minidns-hla:0.3.3.


Gradle build failed.



These are my gradle files



app.gradle



apply plugin: 'com.android.application'

android
compileSdkVersion 26
defaultConfig
applicationId "ug.situla.passengermvp"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation "org.igniterealtime.smack:smack-java7:4.3.1"
implementation "org.igniterealtime.smack:smack-android:4.3.1"
implementation "org.igniterealtime.smack:smack-tcp:4.3.1"
//implementation "org.igniterealtime.smack:smack-android:4.2.0"
//implementation "org.igniterealtime.smack:smack-tcp:4.2.0"
//implementation "org.igniterealtime.smack:smack-im:4.2.0"
//implementation "org.igniterealtime.smack:smack-extensions:4.2.0"
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'


configurations
all*.exclude group: 'xpp3', module: 'xpp3'



build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript

repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
//maven url 'http://localhost:8081/repository/google/'
//maven url 'http://localhost:8081/repository/jcenter/'
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()
//google()
//jcenter()



task clean(type: Delete)
delete rootProject.buildDir







android android-gradle smack asmack






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 10 '18 at 10:26

























asked Nov 10 '18 at 9:14









Dr Deo

3,108103357




3,108103357











  • You are missing implementation "org.igniterealtime.smack:smack-java7:4.3.1" dependency
    – MatPag
    Nov 10 '18 at 9:37











  • adding it has no effect . Error is still there
    – Dr Deo
    Nov 10 '18 at 9:43










  • Check my answer below
    – MatPag
    Nov 10 '18 at 9:43










  • Thanks, I have posted my full gradle files for full context. Still showing the error
    – Dr Deo
    Nov 10 '18 at 9:54






  • 1




    Have you tried to close and reopen android studio? The classpath should not be a problem here... If you comment the 3 lines of smack implementations everything works fine?
    – MatPag
    Nov 10 '18 at 10:07

















  • You are missing implementation "org.igniterealtime.smack:smack-java7:4.3.1" dependency
    – MatPag
    Nov 10 '18 at 9:37











  • adding it has no effect . Error is still there
    – Dr Deo
    Nov 10 '18 at 9:43










  • Check my answer below
    – MatPag
    Nov 10 '18 at 9:43










  • Thanks, I have posted my full gradle files for full context. Still showing the error
    – Dr Deo
    Nov 10 '18 at 9:54






  • 1




    Have you tried to close and reopen android studio? The classpath should not be a problem here... If you comment the 3 lines of smack implementations everything works fine?
    – MatPag
    Nov 10 '18 at 10:07
















You are missing implementation "org.igniterealtime.smack:smack-java7:4.3.1" dependency
– MatPag
Nov 10 '18 at 9:37





You are missing implementation "org.igniterealtime.smack:smack-java7:4.3.1" dependency
– MatPag
Nov 10 '18 at 9:37













adding it has no effect . Error is still there
– Dr Deo
Nov 10 '18 at 9:43




adding it has no effect . Error is still there
– Dr Deo
Nov 10 '18 at 9:43












Check my answer below
– MatPag
Nov 10 '18 at 9:43




Check my answer below
– MatPag
Nov 10 '18 at 9:43












Thanks, I have posted my full gradle files for full context. Still showing the error
– Dr Deo
Nov 10 '18 at 9:54




Thanks, I have posted my full gradle files for full context. Still showing the error
– Dr Deo
Nov 10 '18 at 9:54




1




1




Have you tried to close and reopen android studio? The classpath should not be a problem here... If you comment the 3 lines of smack implementations everything works fine?
– MatPag
Nov 10 '18 at 10:07





Have you tried to close and reopen android studio? The classpath should not be a problem here... If you comment the 3 lines of smack implementations everything works fine?
– MatPag
Nov 10 '18 at 10:07













1 Answer
1






active

oldest

votes


















1














Be sure that in your project build.gradle you have:



buildscript 
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()




And in you app build.gradle in the dependencies block:



dependencies 
implementation "org.igniterealtime.smack:smack-java7:4.3.0"
implementation "org.igniterealtime.smack:smack-android:4.3.0"
implementation "org.igniterealtime.smack:smack-tcp:4.3.0"

configurations
all*.exclude group: 'xpp3', module: 'xpp3'



Documentation reference: https://github.com/igniterealtime/Smack/wiki/Smack-4.3-Readme-and-Upgrade-Guide






share|improve this answer






















  • Thanks, I have no idea why but its now compiling . Weird
    – Dr Deo
    Nov 10 '18 at 10:11










  • Sometimes Android Studio remains stucked and has weird behaviours, when this happens the first thing to do is restart it and see if that solves the problem :)
    – MatPag
    Nov 10 '18 at 10:14










  • Also this line seems required. I had left it out configurations all*.exclude group: 'xpp3', module: 'xpp3'
    – Dr Deo
    Nov 10 '18 at 10:16










  • Yeah that line is probably required as the documentation says, I've updated my answer for completeness
    – MatPag
    Nov 10 '18 at 10:23











  • The smack version 4.3.1 also triggers the error. Other versions dont have issues
    – Dr Deo
    Nov 10 '18 at 10:28










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237526%2fcant-use-igniterealtime-smack-on-android-could-not-resolve-xpp3xpp31-1-4c%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Be sure that in your project build.gradle you have:



buildscript 
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()




And in you app build.gradle in the dependencies block:



dependencies 
implementation "org.igniterealtime.smack:smack-java7:4.3.0"
implementation "org.igniterealtime.smack:smack-android:4.3.0"
implementation "org.igniterealtime.smack:smack-tcp:4.3.0"

configurations
all*.exclude group: 'xpp3', module: 'xpp3'



Documentation reference: https://github.com/igniterealtime/Smack/wiki/Smack-4.3-Readme-and-Upgrade-Guide






share|improve this answer






















  • Thanks, I have no idea why but its now compiling . Weird
    – Dr Deo
    Nov 10 '18 at 10:11










  • Sometimes Android Studio remains stucked and has weird behaviours, when this happens the first thing to do is restart it and see if that solves the problem :)
    – MatPag
    Nov 10 '18 at 10:14










  • Also this line seems required. I had left it out configurations all*.exclude group: 'xpp3', module: 'xpp3'
    – Dr Deo
    Nov 10 '18 at 10:16










  • Yeah that line is probably required as the documentation says, I've updated my answer for completeness
    – MatPag
    Nov 10 '18 at 10:23











  • The smack version 4.3.1 also triggers the error. Other versions dont have issues
    – Dr Deo
    Nov 10 '18 at 10:28















1














Be sure that in your project build.gradle you have:



buildscript 
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()




And in you app build.gradle in the dependencies block:



dependencies 
implementation "org.igniterealtime.smack:smack-java7:4.3.0"
implementation "org.igniterealtime.smack:smack-android:4.3.0"
implementation "org.igniterealtime.smack:smack-tcp:4.3.0"

configurations
all*.exclude group: 'xpp3', module: 'xpp3'



Documentation reference: https://github.com/igniterealtime/Smack/wiki/Smack-4.3-Readme-and-Upgrade-Guide






share|improve this answer






















  • Thanks, I have no idea why but its now compiling . Weird
    – Dr Deo
    Nov 10 '18 at 10:11










  • Sometimes Android Studio remains stucked and has weird behaviours, when this happens the first thing to do is restart it and see if that solves the problem :)
    – MatPag
    Nov 10 '18 at 10:14










  • Also this line seems required. I had left it out configurations all*.exclude group: 'xpp3', module: 'xpp3'
    – Dr Deo
    Nov 10 '18 at 10:16










  • Yeah that line is probably required as the documentation says, I've updated my answer for completeness
    – MatPag
    Nov 10 '18 at 10:23











  • The smack version 4.3.1 also triggers the error. Other versions dont have issues
    – Dr Deo
    Nov 10 '18 at 10:28













1












1








1






Be sure that in your project build.gradle you have:



buildscript 
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()




And in you app build.gradle in the dependencies block:



dependencies 
implementation "org.igniterealtime.smack:smack-java7:4.3.0"
implementation "org.igniterealtime.smack:smack-android:4.3.0"
implementation "org.igniterealtime.smack:smack-tcp:4.3.0"

configurations
all*.exclude group: 'xpp3', module: 'xpp3'



Documentation reference: https://github.com/igniterealtime/Smack/wiki/Smack-4.3-Readme-and-Upgrade-Guide






share|improve this answer














Be sure that in your project build.gradle you have:



buildscript 
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven
url 'https://oss.sonatype.org/content/repositories/snapshots'

mavenCentral()




And in you app build.gradle in the dependencies block:



dependencies 
implementation "org.igniterealtime.smack:smack-java7:4.3.0"
implementation "org.igniterealtime.smack:smack-android:4.3.0"
implementation "org.igniterealtime.smack:smack-tcp:4.3.0"

configurations
all*.exclude group: 'xpp3', module: 'xpp3'



Documentation reference: https://github.com/igniterealtime/Smack/wiki/Smack-4.3-Readme-and-Upgrade-Guide







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 10 '18 at 11:09

























answered Nov 10 '18 at 9:43









MatPag

12.3k73651




12.3k73651











  • Thanks, I have no idea why but its now compiling . Weird
    – Dr Deo
    Nov 10 '18 at 10:11










  • Sometimes Android Studio remains stucked and has weird behaviours, when this happens the first thing to do is restart it and see if that solves the problem :)
    – MatPag
    Nov 10 '18 at 10:14










  • Also this line seems required. I had left it out configurations all*.exclude group: 'xpp3', module: 'xpp3'
    – Dr Deo
    Nov 10 '18 at 10:16










  • Yeah that line is probably required as the documentation says, I've updated my answer for completeness
    – MatPag
    Nov 10 '18 at 10:23











  • The smack version 4.3.1 also triggers the error. Other versions dont have issues
    – Dr Deo
    Nov 10 '18 at 10:28
















  • Thanks, I have no idea why but its now compiling . Weird
    – Dr Deo
    Nov 10 '18 at 10:11










  • Sometimes Android Studio remains stucked and has weird behaviours, when this happens the first thing to do is restart it and see if that solves the problem :)
    – MatPag
    Nov 10 '18 at 10:14










  • Also this line seems required. I had left it out configurations all*.exclude group: 'xpp3', module: 'xpp3'
    – Dr Deo
    Nov 10 '18 at 10:16










  • Yeah that line is probably required as the documentation says, I've updated my answer for completeness
    – MatPag
    Nov 10 '18 at 10:23











  • The smack version 4.3.1 also triggers the error. Other versions dont have issues
    – Dr Deo
    Nov 10 '18 at 10:28















Thanks, I have no idea why but its now compiling . Weird
– Dr Deo
Nov 10 '18 at 10:11




Thanks, I have no idea why but its now compiling . Weird
– Dr Deo
Nov 10 '18 at 10:11












Sometimes Android Studio remains stucked and has weird behaviours, when this happens the first thing to do is restart it and see if that solves the problem :)
– MatPag
Nov 10 '18 at 10:14




Sometimes Android Studio remains stucked and has weird behaviours, when this happens the first thing to do is restart it and see if that solves the problem :)
– MatPag
Nov 10 '18 at 10:14












Also this line seems required. I had left it out configurations all*.exclude group: 'xpp3', module: 'xpp3'
– Dr Deo
Nov 10 '18 at 10:16




Also this line seems required. I had left it out configurations all*.exclude group: 'xpp3', module: 'xpp3'
– Dr Deo
Nov 10 '18 at 10:16












Yeah that line is probably required as the documentation says, I've updated my answer for completeness
– MatPag
Nov 10 '18 at 10:23





Yeah that line is probably required as the documentation says, I've updated my answer for completeness
– MatPag
Nov 10 '18 at 10:23













The smack version 4.3.1 also triggers the error. Other versions dont have issues
– Dr Deo
Nov 10 '18 at 10:28




The smack version 4.3.1 also triggers the error. Other versions dont have issues
– Dr Deo
Nov 10 '18 at 10:28

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237526%2fcant-use-igniterealtime-smack-on-android-could-not-resolve-xpp3xpp31-1-4c%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)