2016-08-22 42 views

回答

0

瞭解您的應用水平構建到搖籃文件:

apply plugin: 'com.android.application' 
android { 
compileSdkVersion 23 
buildToolsVersion "23.0.3" 

defaultConfig { 
    applicationId "com.app.ids" 
    minSdkVersion 16 
    targetSdkVersion 23 
    versionCode 1 
    versionName "1.0" 
    useLibrary 'org.apache.http.legacy' 
} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 
packagingOptions { 
    exclude 'META-INF/LICENSE' 
    exclude 'META-INF/LICENSE-FIREBASE.txt' 
    exclude 'META-INF/NOTICE' 
} 
} 

變化minsdk版本,根據您的要求

+0

其實我使用這個庫: - – dipali

+0

編譯「com.android.support:multidex:1.0 .1' compile'c​​om.android.support:appcompat-v7:23.1.1' compile'c​​om.android.support:design:23.1.1' compile'c​​om.android.support:recyclerview-v7:23.1。 1' – dipali

+0

@dipali你在defaultConfig中的minsdkversion是什麼? –

相關問題