apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
defaultConfig {
applicationId "abdulsamadgroup.com.asgroup"
minSdkVersion 11
targetSdkVersion 24
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:24.2.0'
compile 'com.android.support:design:24.2.0'
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.google.code.gson:gson:2.2.3'
}
和here is我正在使用的已安裝sdk的詳細信息。無法解析:com.android.support:appcompat-v7:24.4.0
幫我解決這個問題。我一直在2天內搜索它。
24.2.0或24.4.0? – Shark
嘗試使用最新的buildtool(buildToolsVersion「25.0.0」)和appcompact('com.android.support:appcompat-v7:25.0.1') – Shijil