我对Android Studio有一点问题:
无法解决:' com.android.support:appcompat-v7:16。+'
我还尝试安装存储库但出现了另一个错误。
apply plugin: 'com.android.application'
android {
compileSdkVersion 16
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "p11zt.futebol24"
minSdkVersion 16
targetSdkVersion 16
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
} }
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:16.+' }
答案 0 :(得分:2)
将compile sdk更改为23试试此
compileSdkVersion 23
targetSdkVersion 23
并使用support:appcompat
compile 'com.android.support:appcompat-v7:23.0.0'