apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.3" defaultConfig { applicationId "com.hjx.personalcenter" minSdkVersion 15 targetSdkVersion 25 versionCode 6 versionName "1.1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } useLibrary 'org.apache.http.legacy' lintOptions{ checkReleaseBuilds false abortOnError false } sourceSets { main { jniLibs.srcDirs = ['libs'] } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.tencent.bugly:crashreport:latest.release' compile 'org.apache.httpcomponents:httpcore:4.4.1' compile 'org.apache.httpcomponents:httpclient:4.5' compile 'com.android.support:appcompat-v7:25.3.1' testCompile 'junit:junit:4.12' compile project(':circledialog') compile project(':pickerview') compile files('libs/android-async-http-1.4.8.jar') compile 'com.google.code.gson:gson:2.7' compile 'com.zaaach:toprightmenu:1.0' compile 'com.android.support:recyclerview-v7:25.3.1' debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3' compile 'com.google.zxing:core:3.3.0' compile 'com.google.zxing:android-core:3.3.0' compile project(path: ':mypresonallibrary') compile files('libs/picasso-2.5.2.jar') }