В настоящее время у меня есть зависимость от com.mopub: mopub-sdk-native-stati c: 5.2. 0@aar. Когда я изменяю его на любую версию выше 5.2, я получаю следующую ошибку. 5.2 работает отлично, но когда я изменяю его на другую версию выше 5.2, сам syn c не работает.
ERROR: Unable to resolve dependency for appname@debug/compileClasspath': Could not resolve com.android.support:support-annotations:{strictly 26.1.0}.
ERROR: Unable to resolve dependency for appname@debug/compileClasspath': Could not resolve com.android.support:support-annotations:25.3.1.
ERROR: Unable to resolve dependency for appname@debug/compileClasspath': Could not resolve com.android.support:support-annotations:28.0.0.
ERROR: Unable to resolve dependency for appname@debug/compileClasspath': Could not resolve com.android.support:support-annotations:26.1.0.
ERROR: Unable to resolve dependency for appname@release/compileClasspath': Could not resolve com.android.support:support-annotations:{strictly 26.1.0}.
ERROR: Unable to resolve dependency for appname@release/compileClasspath': Could not resolve com.android.support:support-annotations:25.3.1.
ERROR: Unable to resolve dependency for appname@release/compileClasspath': Could not resolve com.android.support:support-annotations:28.0.0.
ERROR: Unable to resolve dependency for appname@release/compileClasspath': Could not resolve com.android.support:support-annotations:26.1.0.
ERROR: Unable to resolve dependency for appname@release/compileClasspath': Could not resolve com.android.support:support-annotations:26.1.0.
У меня есть следующее в моем build.gradle
repositories {
// Gradle 4.1 and higher include support for Google's Maven repo using
// the google() method. And you need to include this repo to download
// Android Gradle plugin 3.0.0 or higher.
jcenter()
google()
mavenCentral()
}
Any помощь приветствуется.