十二月丶清晨 2018-10-23 11:28 采纳率: 100%
浏览 1383
已采纳

Android Studio 集成 Zxing源码 报错

不在 app.build 里面添加 implementation project(':zxingall')行代码 可以正常运行,但是开启 后就报错 下方内容 Zxingall 的 build已经按照app.build 更改还是没有作用
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :zxingall.
Open File
Show Details

Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :zxingall.
Open File
Show Details

Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :zxingall.
Open File
Show Details

Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve project :zxingall.
Open File
Show Details

Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve project :zxingall.
Open File
Show Details

  • 写回答

2条回答 默认 最新

  • SmallMartin 2018-10-24 09:55
    关注

    直接把zxing放到项目里面试试,如果还有问题,那就是你引入的东西有问题,如果么问题就是导入有错误,我一般省事直接拖进去

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?