apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId ""
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
//指定 ndk 兼容的架构
ndk {
abiFilters "armeabi", "armeabi-v7a"
// 如果您使用的是商业版,只能使用 armeabi 架构,即:
// abiFilters "armeabi",
}
//分包
multiDexEnabled = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
// 导入腾讯云直播 SDK aar
implementation(name: 'LiteAVSDK_Professional_4.9.4663', ext: 'aar')
// implementation(name: 'liteimsdk-release', ext: 'aar')
implementation 'com.android.support:appcompat-v7:27.0.2'
//约束布局
implementation 'com.android.support.constraint:constraint-layout:1.1.1'
//注解
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//轮播图
implementation 'com.youth.banner:banner:1.4.10'
//最新版本
// glide 图片加载框架
//implementation 'com.github.bumptech.glide:glide:3.6.1'
implementation ('com.github.bumptech.glide:glide:4.7.1') {
//去除support包解决冲突--注意细节-->()
exclude group: "com.android.support"
}
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
// okhttp网络框架
implementation 'com.squareup.okhttp:okhttp:2.7.0'
//eventbus集成
implementation 'org.greenrobot:eventbus:3.1.1'
//recyclerview复杂列表适配器
implementation 'me.drakeet.multitype:multitype:3.4.4'
//下拉刷新上拉加载
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-5'
//选择器
implementation 'com.contrarywind:Android-PickerView:4.1.4'
//gson解析
implementation 'com.google.code.gson:gson:2.8.5'
//集成融云
implementation project(':IMLib')
//点赞心形
implementation project(':heartlib')
//动态权限申请
implementation('com.github.hotchemi:permissionsdispatcher:3.3.1') {
// if you don't use android.app.Fragment you can exclude support for them
exclude module: "support-v13"
}
annotationProcessor "com.github.hotchemi:permissionsdispatcher-processor:3.3.1"
//依赖so库
// implementation files('src/main/jniLibs/liteavsdk.jar')
//分包工具
implementation 'com.android.support:multidex:1.0.0'
}