首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Gradle构建失败,出现android studio异常

Gradle构建失败,出现android studio异常
EN

Stack Overflow用户
提问于 2020-03-19 12:01:50
回答 1查看 498关注 0票数 0

嗨,我在生成apk时遇到了问题,并给出了这个错误

代码语言:javascript
复制
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

现在我该怎么做才能解决这个问题呢?请给我指引

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-03-19 18:35:14

sample app解释说,TapsellPlus SDK是从第三方存储库下载的,您需要在根build.gradle中指定。

代码语言:javascript
复制
allprojects {  
    repositories {  
        google()  
        jcenter()  

        maven { // THIS
            url 'https://dl.bintray.com/tapsellorg/maven'  
        }
    }  
}
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60750749

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档