Update README

This commit is contained in:
Jenly
2023-09-13 00:40:29 +08:00
parent 13024e733a
commit 7eb0543085

View File

@@ -27,21 +27,21 @@ ZXingLite for Android 是ZXing的精简极速版基于ZXing库优化扫码和
1. 在Project的 **build.gradle****setting.gradle** 中添加远程仓库 1. 在Project的 **build.gradle****setting.gradle** 中添加远程仓库
```gradle ```gradle
repositories { repositories {
//... //...
mavenCentral() mavenCentral()
maven { url 'https://jitpack.io' } maven { url 'https://jitpack.io' }
} }
``` ```
2. 在Module的 **build.gradle** 里面添加引入依赖项 2. 在Module的 **build.gradle** 里面添加引入依赖项
```gradle ```gradle
// AndroidX 版本 // AndroidX 版本
implementation 'com.github.jenly1314:zxing-lite:3.0.1' implementation 'com.github.jenly1314:zxing-lite:3.0.1'
``` ```
### 温馨提示 ### 温馨提示