简体中文
离线SDK 3.7.6+ 版本支持
需要引入工程的aar文件
路径 | 文件 |
---|---|
SDK\libs | utsplugin-release.aar |
在app级的build.gradle配置
dependencies {
implementation "com.squareup.okhttp3:okhttp:3.12.12"
implementation "androidx.core:core-ktx:1.6.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
implementation "org.jetbrains.kotlin:kotlin-reflect:1.6.0"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.8"
implementation "com.github.getActivity:XXPermissions:18.0"
}
在项目根目录的build.gradle下添加jitpack依赖,参考:
allprojects {
...
repositories {
maven { url 'https://jitpack.io' }
}
}