無法解析:com。 android.support:cardview-v7:24.0.1和)無法解析:com.android.support:appcompat-v7:24.0.1gradle build fail錯誤:無法解析:com.android.support:cardview-v7:24.0.1和)無法解析:com.android.support:appcompat-v7:24.0.1
這是gradle這個配置 什麼我需要做的解決這個 請幫助我
apply plugin: 'com.android.application'
compileSdkVersion 24
buildToolsVersion '24.0.1'
defaultConfig {
applicationId 'com.fanbaseafrica.fabaservices'
minSdkVersion 14
targetSdkVersion 24
versionCode 2
versionName '2.0'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
debuggable false
signingConfig signingConfigs.config
renderscriptOptimLevel 3
}
debug {
debuggable true
}
}
productFlavors {
}
}
repositories {
jcenter()
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:cardview-v7:24.0.1'
compile 'com.android.support:appcompat-v7:24.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:design:24.0.1'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.google.code.gson:gson:2.2.3'
compile 'com.jakewharton.retrofit:retrofit1-okhttp3-client:1.1.0'
compile 'com.android.volley:volley:1.0.0'
compile 'com.android.support:recyclerview-v4:24.0.1'
compile 'com.android.support:support-v7:24.0.1'
compile 'com.koushikdutta.ion:ion:2.1.6'
compile 'com.sprylab.android.texturevideoview:texturevideoview:1.1.1'
}
請下載庫,如果你沒有它,它必須給你的下載鏈接 – Veer3383
它確實給我鏈接下載,但它不工作 –
也許這有助於:http://stackoverflow.com/questions/ 18380337/android-support-library-setup-with-maven – Jens