Android Studio单独编译Demo没问题,但集成到项目中说包冲突。
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
AGPBI: {"kind":"error","text":"Program type already present: com.baidu.idl.facesdk.FaceSDK$1","sources":[{}],"tool":"D8"}
已经将SDK中的build.gradle配置成下面:
dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0'
api files('libs/facesdk.jar')
api files('libs/baidu_license.jar')
api files('libs/ast.jar')
}
在这里卡了很久了,求助!
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
看下是不是其他的库下面有重复依赖的