Dependency failing: org.igniterealtime.smack:smack-resolver-minidns:4.3.4 -> org.jxmpp:jxmpp-util-cache@[0.6, 0.6.999],
but jxmpp-util-cache version was 0.6.3.
Please advise.
Here’s the full text:
ERROR: In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[0.6,
0.6.999]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: org.igniterealtime.smack:smack-resolver-minidns:4.3.4 -> org.jxmpp:jxmpp-util-cache@[0.6, 0.6.999],
but jxmpp-util-cache version was 0.6.3.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends onto org.igniterealtime.smack:smack-android@4.3.4
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@{strictly 4.3.4}
-- Project 'app' depends onto org.igniterealtime.smack:smack-resolver-minidns@{strictly 4.3.4}
-- Project 'app' depends onto org.jxmpp:jxmpp-core@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-util-cache@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-jid@{strictly 0.6.3}
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@4.3.4
-- Project 'app' depends onto org.igniterealtime.smack:smack-android@{strictly 4.3.4}
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.
-ignorewarnings
# Keep Glide stuff
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-dontwarn com.bumptech.glide.**
Unfortunately, synchronisation with Smack 4.3.4 (or 4.3.3, for that matter) did not succeed with that either:
ERROR: In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[0.6,
0.6.999]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: org.igniterealtime.smack:smack-resolver-minidns:4.3.4 -> org.jxmpp:jxmpp-util-cache@[0.6, 0.6.999],
but jxmpp-util-cache version was 0.6.3.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends onto org.igniterealtime.smack:smack-android@4.3.4
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@{strictly 4.3.4}
-- Project 'app' depends onto org.igniterealtime.smack:smack-resolver-minidns@{strictly 4.3.4}
-- Project 'app' depends onto org.jxmpp:jxmpp-core@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-util-cache@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-jid@{strictly 0.6.3}
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@4.3.4
-- Project 'app' depends onto org.igniterealtime.smack:smack-android@{strictly 4.3.4}
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.
A shot in the dark: does the version of JDK and OS matter?
Could you remove that dependency declaration and report back if this fixes the issue? smack-android is a dependency of smack-android-extensions and thus for not need to be delcared explecitly. Some goes for smack-core.
Smack 4.3.4 is causing gradle synchronisation error.
Summary:
4.3.2 syncs OK.
4.3.3 fails.
4.3.4 fails.
4.4.0-alpha1 syncs OK.
ERROR: In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[0.6, 0.6.999]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: org.igniterealtime.smack:smack-resolver-minidns:4.3.4 -> org.jxmpp:jxmpp-util-cache@[0.6, 0.6.999], but jxmpp-util-cache version was 0.6.3.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the artifact with the issue.
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@{strictly 4.3.4}
-- Project 'app' depends onto org.igniterealtime.smack:smack-resolver-minidns@{strictly 4.3.4}
-- Project 'app' depends onto org.jxmpp:jxmpp-core@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-util-cache@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-jid@{strictly 0.6.3}
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@4.3.4
-- Project 'app' depends onto org.igniterealtime.smack:smack-android@{strictly 4.3.4}
For extended debugging info execute Gradle from the command line with /gradlew --info :app:assembleDebug to see the dependency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your build.gradle file.
In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[0.6,
0.6.999]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: org.igniterealtime.smack:smack-resolver-minidns:4.3.4 -> org.jxmpp:jxmpp-util-cache@[0.6, 0.6.999],
but jxmpp-util-cache version was 0.6.3.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@{strictly 4.3.4}
-- Project 'app' depends onto org.igniterealtime.smack:smack-resolver-minidns@{strictly 4.3.4}
-- Project 'app' depends onto org.jxmpp:jxmpp-core@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-util-cache@{strictly 0.6.3}
-- Project 'app' depends onto org.jxmpp:jxmpp-jid@{strictly 0.6.3}
-- Project 'app' depends onto org.igniterealtime.smack:smack-android-extensions@4.3.4
-- Project 'app' depends onto org.igniterealtime.smack:smack-android@{strictly 4.3.4}
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.