오류 : 'app :'프로젝트를 구성하는 중에 문제가 발생했습니다.Android 스튜디오 빌드 실패 - 지원 -v4.jar을 찾을 수 없음
Could not find support-v4.jar (com.android.support:support-v4:24.0.0). Searched in the following locations: https://jcenter.bintray.com/com/android/support/support-v4/24.0.0/support-v4-24.0.0.jar
하지만 난 24.0.0 버전 검사에게 Gradle을 사용하지 않은 :
apply plugin: 'com.android.application'
android {
compileSdkVersion 14
buildToolsVersion '19.1.0'
defaultConfig {
applicationId "com.XXX.app"
minSdkVersion 14
targetSdkVersion 19
versionCode 2
versionName "2.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.txt'
}
} }
dependencies {
provided fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.gms:play-services:+'
compile 'com.actionbarsherlock:actionbarsherlock:[email protected]'
compile project(':actionbarsherlock')
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.android.support:support-v4:23+' }
** com.android.support : support-v4:23+'** Gradle이 자동으로 버전 23 이상을 지원 라이브러리를 찾습니다. 23.0.2와 같은 fullversion 이름 (예)을 사용하여 특정 지원 라이브러리 버전 –
** 컴파일 'com.android.support : support-v4:24.2.1'** 이것을 시도하십시오 –
빌드 도구와 일치하고 Lib 버전을 지원하십시오. –