gpt4 book ai didi

android - Gradle Build因Android Studio异常而失败

转载 作者:行者123 更新时间:2023-12-03 05:05:02 24 4
gpt4 key购买 nike

嗨,我在生成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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com