Browse Source

整理

pull/1/head
周雪成 4 years ago
parent
commit
a917862ea3
1 changed files with 13 additions and 6 deletions
  1. 13
    6
      AI/安卓活体核身接入文档.md

+ 13
- 6
AI/安卓活体核身接入文档.md View File

@@ -5,8 +5,8 @@
5 5
 ### 注意事项
6 6
 
7 7
 - 人脸核身 SDK(Faceid)最低支持到 Android API 14: Android 4.0(ICS) ,请在构建项目时注意。
8
-- 人脸核身 SDK 将以 AAR 文件的形式提供,即 FaceidSDK.aar。
9
-- 人脸核身 SDK 同时需要依赖**公共组件(XXX)**,同样也是以 AAR 文件的形式提供,详情请参见 [添加依赖](#yilai)。
8
+- 人脸核身 SDK 将以 AAR 文件的形式提供,即 faceidsdk.aar。
9
+- 人脸核身 SDK 同时需要依赖**公共组件(cepm_common.aar)**,同样也是以 AAR 文件的形式提供,详情请参见 [添加依赖](#yilai)。
10 10
 
11 11
 
12 12
 <span id='yilai'></span>
@@ -27,10 +27,17 @@ android{
27 27
 
28 28
 //添加依赖
29 29
 dependencies {
30
-     //0. appcompat-v7
31
-    compile 'com.android.support:appcompat-v7:23.0.1'
32
-    //1. 云刷脸SDK
33
-    compile(name: 'FaceidSDK', ext: 'aar') 
30
+    // json依赖
31
+    implementation 'com.alibaba:fastjson:1.2.73'
32
+    // okHttp依赖
33
+    implementation 'com.squareup.okhttp3:okhttp:4.0.0'
34
+    // 加入sl4j安卓包,保证jar包里的日志可以正常打印
35
+    implementation 'org.slf4j:slf4j-api:1.7.30
36
+    implementation 'uk.uuid.slf4j:slf4j-android:1.7.30-0'
37
+    // cepm_common.aar
38
+    implementation(name: 'cepm_common', ext: 'aar')
39
+    // 活体核身
40
+    implementation(name: 'faceidsdk', ext: 'aar')
34 41
 }
35 42
 
36 43
 ```

Loading…
Cancel
Save