嗨,我在生成apk时遇到问题,并给出此错误
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:releaseCompileClasspath'.
> Could not find ir.tapsell.plus:tapsell-plus-sdk-android:1.1.1.
Required by:
project :app
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
我现在应该怎么解决这个问题?请指导我
最佳答案
sample app解释说TapsellPlus SDK是从第三方存储库下载的,您需要在根build.gradle
中指定。
allprojects {
repositories {
google()
jcenter()
maven { // THIS
url 'https://dl.bintray.com/tapsellorg/maven'
}
}
}
关于android - Gradle Build因Android Studio异常而失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60750749/