Android Studio在编译项目时出现此错误.我搜索过,发现这可能是因为
安卓
阻止在我的build.gradle中build.gradle.But的顶部,这可能不是问题.这是我的gradle文件.
的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:1.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
android {
compileSdkVersion 19
}
dependencies {
Run Code Online (Sandbox Code Playgroud)
}
app.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 20
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.ptrprograms.chromecast"
minSdkVersion 14 …Run Code Online (Sandbox Code Playgroud)