Mopub SDK 5.2升级到5.2或更高版本时出错

时间:2020-01-10 09:28:31

标签: android gradle mopub

我目前对com.mopub:mopub-sdk-native-static:5.2.0@aar有依赖性。 当我将其更改为5.2以上的任何版本时,都会收到以下错误。 5.2可以正常运行,但是当我将其更改为5.2以上的另一个版本时,同步本身将失败。

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()

}

感谢您的帮助。

0 个答案:

没有答案