java - Error:Configuration with name 'default' not found: GRADLE REFRESH FAILED -


i trying develope app sony smart glass in android studio 2.1.2. tried add sony smart glass sample library functions. getting error that

error:configuration name 'default' not found. can please me it.thank you

my **settings.gradle** include ':app' include ':libraries:mylib' 

my build.gradle

   // top-level build file can add configuration options       common sub-projects/modules.      buildscript {    repositories {     jcenter()     }     dependencies {     classpath 'com.android.tools.build:gradle:2.1.2'      // note: not place application dependencies here; belong     // in individual module build.gradle files     }     }      allprojects {     repositories {     jcenter()    }   }   task clean(type: delete) { delete rootproject.builddir  } 

the best starting place create smarteyeglass app 1 of samples. have of necessary dependencies declared you. basic example try starting "helloworld" sample. in end though settings.gradle file should include this:

includeflat 'smartextensionapi' includeflat 'smartextensionutils' includeflat 'smarteyeglassapi' 

and build.gradle file should include this

compile project(':smarteyeglassapi') compile project(':smartextensionapi') compile project(':smartextensionutils') 

please let me know if helps.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -