| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- apply plugin: 'com.android.application'
- android {
- splits {
- abi {
- enable true
- reset()
- include 'armeabi-v7a'
- universalApk true
- }
- }
- signingConfigs {
- // release {
- // storeFile file("/Users/ruizhang/Documents/usai android keystore/usai_keystore")
- // storePassword "#UL\$dc01"
- // keyAlias "apex mobile"
- // keyPassword "#UL\$dc01"
- // }
- }
- compileSdkVersion 29
- defaultConfig {
- applicationId "com.usai.apex"
- minSdkVersion 24
- targetSdkVersion 29
- versionCode 27
- versionName "A200928"
- ndk.abiFilters 'armeabi-v7a',"arm64-v8a"
- // multiDexEnabled true
- // ndk {
- // abiFilters "armeabi-v7a" // 指定要ndk需要兼容的架构(这样其他依赖包里mips,x86,armeabi,arm-v8之类的so会被过滤掉)
- // }
- }
- buildTypes {
- release {
- // debuggable true
- minifyEnabled true
- shrinkResources true
- zipAlignEnabled true
- //
- // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-project.txt'
- proguardFiles 'proguard-project.txt'
- }
- debug {
- // debuggable true
- minifyEnabled true
- zipAlignEnabled true
- shrinkResources true
- // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-project.txt'
- proguardFiles 'proguard-project.txt'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDir 'libs'
- //说明so的路径为该libs路径,关联所有地图SDK的so文件
- }
- }
- }
- dependencies {
- // compile 'com.android.support:support-v4:19.1.0'
- api 'androidx.appcompat:appcompat:1.2.0'
- api 'androidx.legacy:legacy-support-v4:1.0.0'
- api 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'com.google.android.material:material:1.3.0'
- // compile 'com.android.support:recyclerview-v7:26.1.0'
- // compile 'com.google.android.gms:play-services:11.0.4'
- // api 'com.google.android.gms:play-services-maps:16.0.0'
- // api 'com.google.android.gms:play-services-location:11.4.2'
- // compile files('libs/baidumapapi_base_v3_7_1.jar')
- // compile files('libs/baidumapapi_map_v3_7_1.jar')
- // api 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
- implementation project(path: ':RAUtilsLibrary')
- implementation project(':apexmap')
- }
- android {
- useLibrary 'org.apache.http.legacy'
- }
|