android studio 集成com.github.yuzhiqiang1993:zxing:2.2.9
zxing
ZXing ("Zebra Crossing") barcode scanning library for Java, Android
项目地址:https://gitcode.com/gh_mirrors/zx/zxing
免费下载资源
·
在github上找到网友写的基于ZXing 安卓扫码功能库,按文档上写的老是集成失败:
如果用新的AS创建的empty项目,build.gradle 里面的内容如下:
直接把作者说的上述代码写到build.gradle里面是会报错。我们只需把
maven { url 'https://jitpack.io' }
这一行写到setting.gradle 里面就可以了。如下所示:
这样再就可以sync成功了。
用法很简单,如作者写的那样就可以。不过
startActivityForResult
这个接口提示废弃了,不知道怎么改,如果有知道的麻烦留言。第一次接触安卓,一脸茫然
GitHub 加速计划 / zx / zxing
32.53 K
9.31 K
下载
ZXing ("Zebra Crossing") barcode scanning library for Java, Android
最近提交(Master分支:2 个月前 )
8944e607
3 个月前
6ea3726b
Bumps `spring.version` from 6.1.5 to 6.1.8.
Updates `org.springframework:spring-test` from 6.1.5 to 6.1.8
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.5...v6.1.8)
Updates `org.springframework:spring-web` from 6.1.5 to 6.1.8
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.5...v6.1.8)
---
updated-dependencies:
- dependency-name: org.springframework:spring-test
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-web
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sean Owen <srowen@gmail.com> 4 个月前
更多推荐
已为社区贡献8条内容
所有评论(0)