apply plugin: 'com.android.application' android { compileSdkVersion 32 buildToolsVersion "29.0.3" namespace 'com.kongtian.chat' defaultConfig { applicationId "com.kongtian.chat" minSdkVersion 24 targetSdkVersion 32 versionCode 1 versionName "1.0.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { //设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so) abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","arm64-v8a","x86_64" } //指定room.schemaLocation生成的文件路径 javaCompileOptions { annotationProcessorOptions { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] } } } // signingConfigs { // chatdebug { // storeFile file('C:\\Users\\leiyong\\.android\\debug.keystore') // storePassword 'android' // keyPassword 'android' // } // } signingConfigs { config { keyAlias 'cellsys' keyPassword 'akcellsys' storeFile file('D:\\android_key\\airkoon.jks')//这里是你的jks文件路径 storePassword 'akcellsys' } } buildTypes { release { debuggable true // buildConfigField "boolean", "LOG_DEBUG", "false" //不显示log minifyEnabled false // shrinkResources true //资源压缩 // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.config } debug{ //signingConfig signingConfigs.debug signingConfig signingConfigs.config } } } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.android.support:viewpager:29.0.0' implementation 'com.android.support:design:29.0.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.belerweb:pinyin4j:2.5.1' implementation 'com.github.bigdongdong:ChatView:1.0' implementation 'com.google.zxing:core:3.3.0' // implementation 'com.contrarywind:Android-PickerView:4.1.9' implementation 'org.greenrobot:greendao:3.2.0' implementation 'com.github.bumptech.glide:glide:3.7.0' //高德地图 //3D地图so及jar implementation 'com.amap.api:3dmap:7.8.0' //定位功能 implementation 'com.amap.api:location:5.2.0' //搜索功能 implementation 'com.amap.api:search:7.7.0' implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.qmuiteam:qmui:2.1.0' //rxjava implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'io.reactivex.rxjava2:rxjava:2.2.11' implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' //蓝牙4.0框架 //implementation 'com.clj.fastble:FastBleLib:2.3.9' implementation 'com.github.Jasonchenlijian:FastBle:2.4.0' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.alibaba:fastjson:1.2.58' implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: ['com.alibaba:fastjson:1.1.41']) implementation 'com.google.android.material:material:1.2.1' // implementation project(path: ':AirkoonBleLib') // implementation 'com.github.mzule.fantasyslide:library:1.0.5' implementation files('geture-imageview') implementation 'com.github.jdsjlzx:LRecyclerView:1.5.4.3' implementation 'com.nineoldandroids:library:2.4.0' // implementation 'com.dyhdyh.loadingbar:loadingbar:1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' /*google官方数据库框架 ROOM*/ def room_version = "2.2.6" api "androidx.room:room-runtime:$room_version" annotationProcessor "androidx.room:room-compiler:$room_version" // optional - RxJava support for Room api "androidx.room:room-rxjava2:$room_version" // optional - Guava support for Room, including Optional and ListenableFuture api "androidx.room:room-guava:$room_version" // optional - Test helpers testImplementation "androidx.room:room-testing:$room_version" }