直接把zxing放到项目里面试试,如果还有问题,那就是你引入的东西有问题,如果么问题就是导入有错误,我一般省事直接拖进去
Android Studio 集成 Zxing源码 报错
5不在 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条回答
为你推荐
- Android Studio 集成 Zxing源码 报错
- android-studio
- android
- zxing
- 2个回答