powered by Jive Software

Error:Failed to resolve: org.igniterealtime.smack:smack-omemo:4.2.1


#1

Error:Failed to resolve: org.igniterealtime.smack:smack-omemo:4.2.1
Error:Failed to resolve: org.igniterealtime.smack:smack-omemo-signal:4.2.1

This is The only error I am currently getting.
Anyway to rectify it?

below are my current settings:

apply plugin: ‘com.android.application’

android {
** compileSdkVersion 25**
** buildToolsVersion ‘25.0.3’**
** defaultConfig {**
** applicationId ‘com.chimebuzz’**
** minSdkVersion 19**
** targetSdkVersion 25**
** versionCode 1**
** versionName “1.0”**
** testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner”**
** //multiDexEnabled true**
** }**
** buildTypes {**
** debug {**
** debuggable true**
** }**
** }**
** productFlavors {**
** }**
}
configurations {
** all*.exclude group: ‘xpp3’, module: ‘xpp3’**
}
dependencies {
** compile fileTree(include: [’*.jar’], dir: ‘libs’)**
** androidTestCompile(‘com.android.support.test.espresso:espresso-core:2.2.2’, {**
** exclude group: ‘com.android.support’, module: ‘support-annotations’**
** })**
** compile ‘com.android.support:appcompat-v7:25.4.0’**
** compile ‘com.android.support:design:25.4.0’**
** testCompile ‘junit:junit:4.12’**
** compile ‘org.igniterealtime.smack:smack-android-extensions:4.2.1’**
** compile ‘org.igniterealtime.smack:smack-experimental:4.2.1’**
** compile ‘org.igniterealtime.smack:smack-tcp:4.2.1’**
}

Thanks.


#2

You are seeing the effects of SMACK-779.


#3

so should I revert back to 4.2.0 in the meantime?


#4

Or you simply add the according exclude statements to your build.gradle.


#5

This might be a noob question, but can you state the proper syntax on how to exclude it?
Thank you.


#6

#7

More specifically :

compile "org.igniterealtime.smack:smack-tcp:$smackVersion"
compile "org.igniterealtime.smack:smack-experimental:$smackVersion"
compile("org.igniterealtime.smack:smack-android:$smackVersion") {
    exclude module: 'smack-omemo'
    exclude module: 'smack-omemo-signal'
}

Seems to be already fixed by This commit, 4.2.2 won’t need this exlusion.a