apply plugin: 'com.android.application' android { compileSdkVersion 26 defaultConfig { applicationId "com.ynstkz.shitu.android" minSdkVersion 16 targetSdkVersion 26 versionCode 1 versionName "1.0" javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } ndk { abiFilters 'armeabi-v7a','x86'//, 'armeabi-v7a', 'x86_64', 'arm64-v8a', mips, mips64...加入需要生成的文件夹 } } signingConfigs { myconfig { keyAlias 'shitunet' keyPassword 'key_shitu' storePassword 'key_shitu' storeFile file('src\\main\\doc\\shitunet.jks') } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.myconfig } debug { debuggable true minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.myconfig } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile project(':library') //noinspection GradleCompatible compile 'com.android.support:design:26.1.0' compile 'com.jakewharton:butterknife:7.0.1' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.muddzdev:styleabletoast:2.0.1' compile 'org.greenrobot:eventbus:3.1.1' compile 'me.zhanghai.android.materialratingbar:library:1.2.0' compile 'com.github.vipulasri:timelineview:1.0.6' //导航 compile 'com.amap.api:navi-3dmap:5.6.0_3dmap5.7.0' //定位 compile 'com.amap.api:location:3.8.0' //搜索 compile 'com.amap.api:search:latest.integration' //友盟SDK compile 'com.umeng.analytics:analytics:latest.integration' }