0
我已經改變了我的appcompat
庫從版本v7:21到v7:19.1 我已經修復了所有相關問題,並將目標sdk從21降級到19,我嘗試建立到設備我得到 沒有資源發現應用緊湊V7錯誤:21,位於沒有資源後降級應用程序版本
app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.1/res/values-v21/values-v21.xml
我試圖清理項目,我的項目,我用gradlew/clean
沒有成功
我問題,如果我使用應用程序壓縮v7:19爲什麼我找到應用程序緊湊型v7:21在我的爆炸arr文件夾中?
這是我的gradle這個
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "19.1"
defaultConfig {
applicationId "appname"
minSdkVersion 17
targetSdkVersion 19
versionCode 1
versionName "1.0"
multiDexEnabled = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
preDexLibraries = false
}
}
allprojects {
repositories {
mavenCentral()
jcenter()
maven { url 'https://github.com/leonardocardoso/mvn-repo/raw/master/maven-deploy' }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':bounceScroller')
compile project(':SwipeMenu')
compile project(':indicator')
compile project(':BetterSpinner')
compile 'com.android.support:appcompat-v7:19.1.0'
compile 'com.android.support:support-v4:19.1.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:[email protected]'
compile 'com.daimajia.androidanimations:library:[email protected]'
compile 'com.edmodo:cropper:1.0.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.leocardz:aelv:[email protected]'
compile 'com.google.android.gms:play-services:7.8.0'
compile 'com.google.android.gms:play-services-ads:7.8.0'
compile 'com.google.android.gms:play-services-identity:7.8.0'
compile 'com.google.android.gms:play-services-gcm:7.8.0'
compile 'com.android.support:multidex:1.0.0'
compile 'com.creativeelites:androidexternalfilewriter:1.4'
compile 'com.lifeofcoding:cacheutilslibrary:[email protected]'
compile 'com.google.code.gson:gson:2.2.2'
}
我已經刪除了他們,但他們重新 – Tony
我編輯我的迴應。希望它有幫助 – Jim
感謝@jim爲我的迴應,但我試過你的解決方案沒有運氣:( – Tony