apply plugin: 'com.android.application' apply plugin: 'android-apt' android { compileSdkVersion 23 buildToolsVersion '25.0.0' defaultConfig { applicationId "com.dashoo.yunguan369" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } configurations.all { resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1' } useLibrary 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.github.limedroid:XDroidMvp:v1.5.0' compile 'com.wang.avi:library:1.0.2' apt 'com.jakewharton:butterknife-compiler:8.4.0' testCompile 'junit:junit:4.12' compile 'com.pgyersdk:sdk:2.4.0' compile 'com.google.zxing:core:3.0.0' }