Android工作室在build文件夹22.1.0生成,我使用' com.android.support:appcompat-v7:19.0.0'

时间:2015-04-27 15:40:01

标签: android-studio

我想使用' com.android.support:appcompat-v7:19.0.0'我从com.android.support:appcompat-v7:21.1.0'中查找了它。但是当构建时总是生成带有22.1.0文件夹的appcompat-v7。

这是我的gradle文件:

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
}


android {
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
    }

    compileSdkVersion 19
    buildToolsVersion '19.1.0'

    defaultConfig {
        applicationId "com.icab.icab"
        minSdkVersion 9
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:appcompat-v7:19.0.0'
    compile('com.astuetz:pagerslidingtabstrip:1.0.1') { exclude module: 'support-v4' }
    compile('com.github.chrisbanes.actionbarpulltorefresh:extra-abc:0.9.9') {
        exclude module: 'support-v4'
    }
    compile 'com.google.android.gms:play-services:7.0.0'
    compile('com.viewpagerindicator:library:2.4.1') { exclude module: 'support-v4' }
    compile('com.crashlytics.sdk.android:crashlytics:2.2.3@aar') {
        transitive = true;
    }
}

这是AndroidStudio生成的文件夹:

enter image description here

0 个答案:

没有答案