android - Getting " Gradle sync failed " on Xabber import -
i importing xabber demo github android studio . , shows me error -
gradle sync failed: configuration name 'default' not found. i tried change outer gradle , of no use still getting same error on syncing gradle. outer gradle -
// top-level build file can add configuration options common 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 tried using tips this question no luck.
do 1 have suggestion or faced same situation , resolved , please help.
it common error in multiprojects gradle setup when project configuration in unavailable. gradle trying load configuration each project lister in settings.gradle , failed on of them. try fetch subprojects git command: git submodule update --init --recursive or if download archive - check xabber/otr4j, xabber/memorizingtrustmanager , xabber/emojicon directories have build.gradle each.
Comments
Post a Comment