I was importing the xabber demo from github into my android studio . and is shows me error -
Gradle sync failed: Configuration with name 'default' not found.
I tried to change the outer gradle and this was of no use i am still getting the same error on syncing my gradle. My outer gradle is -
// 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()
}
}
and settings.gradle is
include ':xabber'
include ':xabber:otr4j'
include ':xabber:MemorizingTrustManager'
include ':xabber:emojicon'
I have also tried using tips from this SO Question but no luck.
Do any one have suggestion or faced same situation and resolved , please help.