Skip to content

Leessy/CoolKotlin

Repository files navigation

CoolKotlin

必须同时引入的库

某些库需要以下内容同时加入配置(并且配置kotlin)

dependencies {
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:+'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:+'
    implementation 'io.reactivex.rxjava2:rxjava:+'
    implementation 'io.reactivex.rxjava2:rxandroid:+'
}

请注意!!!

  • 请勿直接全部引入,例:
dependencies {
    //直接使用全部功能lib会异常
    implementation 'com.github.Leessy.CoolKotlin:0.2.43'
}

正常引入方式

  • 1.使用人脸算法库:
dependencies {
    implementation 'com.github.Leessy.CoolKotlin:aifacecore:0.2.43'
}
  • 2.使用USB相机库:
dependencies {
    implementation 'com.github.Leessy.CoolKotlin:uvccamera:0.2.43'
}
  • 3.使用读卡模块功能库(只能同时使用一种):
dependencies {
    //相同功能的只能选择一种导入
    implementation 'com.github.Leessy.CoolKotlin:jidacard:0.2.43'
    //implementation 'com.github.Leessy.CoolKotlin:jidacardusb:0.2.43'
    //implementation 'com.github.Leessy.CoolKotlin:yxcardsdk:0.2.43'
}