// build.gradle文件
dependencies{
implementation files('libs/aliyun-identityplatform-1.2.6.aar')
implementation files('libs/aliyun-identityface-1.2.6.aar')
implementation files('libs/aliyun-identitycrypto-1.0.5.aar')
implementation files('libs/aliyun-identityocr-1.2.6.aar')
implementation files('libs/tygerservice-1.0.0.240823100656.aar')
implementation files('libs/Android-AliyunFaceGuard-10053.1.aar')
implementation files('libs/aliyun-identitybase-sdk-1.2.6.aar')
implementation files('libs/aliyun-identityservice-sdk-1.2.6.aar')
implementation files('libs/aliyun-identityquality-sdk-1.2.6.aar')
// 三方依赖库
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation 'com.squareup.okio:okio:2.2.2'
implementation 'com.aliyun.dpa:oss-android-sdk:2.9.4'
implementation 'com.alibaba:fastjson:1.1.72.android'
}
现在在UTS插件app-android中的config.json,得怎么调整。 libs文件夹和文件已在app-android当前目录创建和放文件了
7***@qq.com (作者)
剩下第三方依赖库那里,照样在config.json配置dependencies字段后,写法不变吗
2025-02-12 17:00
7***@qq.com (作者)
除了本地aar,剩下部分我改成这样写了
"dependencies": [
"androidx.appcompat:appcompat:1.1.0",
"com.squareup.okhttp3:okhttp:3.11.0",
"com.squareup.okio:okio:2.2.2",
"com.aliyun.dpa:oss-android-sdk:2.9.4",
"com.alibaba:fastjson:1.1.72.android"
]
2025-02-12 17:03
7***@qq.com (作者)
又有新问题了~ 按照在安卓那边的写法,这些包加载完,就可以直接写import com.dtf.ekyc.api.ZIMFacade。 但是在uts的安卓文件夹的index.uts里,我写了import ZIMFacade from 'com.dtf.ekyc.api.ZIMFacade',就报错了,自定义基座包也打不了
2025-02-12 17:17