android studio打包weexplus项目常见错误
Posted 于文静0727
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了android studio打包weexplus项目常见错误相关的知识,希望对你有一定的参考价值。
android studio打包weexplus项目时,gradle失败报错:
ERROR: Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not download eventbus.jar
解决办法:下载不到相应的类库,添加镜像源
在project build.gradle更改为
allprojects {
repositories {
maven {
url "https://maven.aliyun.com/repository/google"
}
maven {
url "https://maven.aliyun.com/repository/jcenter"
}
}
}
以上是关于android studio打包weexplus项目常见错误的主要内容,如果未能解决你的问题,请参考以下文章