oXinLian1234
十二月丶清晨
2018-10-23 11:28
采纳率: 66.7%
浏览 1.3k

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条回答 默认 最新

  • qq_34115898
    SmallMartin 2018-10-24 09:55
    已采纳

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

    点赞 评论
  • devmiao
    devmiao 2018-10-23 12:46
    点赞 评论

相关推荐