我正在尝试在 Android Studio 2.1.2 中为 Sony Smart Glass 开发应用程序。我尝试添加 Sony Smart Glass 示例库函数。我收到这样的错误
错误:未找到名称为“默认”的配置。
我的settings.gradle:
include ':app'
include ':libraries:mylib'
我的build.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:2.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}