【发布时间】:2016-08-11 02:13:54
【问题描述】:
我正在将xabber 演示从 github 导入到我的 android studio 中。并显示错误-
Gradle sync failed: Configuration with name 'default' not found.
我尝试更改外部 gradle,但这没有用,我在同步我的 gradle 时仍然遇到同样的错误。我的外部 gradle 是 -
// Top-level build file where you can add configuration options
common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}
allprojects {
repositories {
jcenter()
}
}
settings.gradle 是
include ':xabber'
include ':xabber:otr4j'
include ':xabber:MemorizingTrustManager'
include ':xabber:emojicon'
我也尝试过使用来自this SO Question 的提示,但没有成功。
有没有人提出建议或遇到同样的情况并解决了,请帮忙。
【问题讨论】:
标签: android android-studio xmpp android-gradle-plugin ejabberd