File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ![ GitHub release] ( https://img.shields.io/github/release/devilsen/czxing.svg )
2- ![ Bintray] ( https://img.shields.io/bintray/v/devilsen/Android/czxing?color=1E88E5&label=version )
3-
41# CZXing
52C++ port of ZXing for Android
63
@@ -12,7 +9,7 @@ C++ port of ZXing for Android
129在gradle中:
1310``` groovy
1411// 迁移至 Maven Central
15- implementation 'io.github.devilsen:czxing:1.1 .0'
12+ implementation 'io.github.devilsen:czxing:1.2 .0'
1613```
1714建议加入abiFilters
1815``` gradle
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ android {
77 minSdkVersion rootProject. ext. minSdkVersion
88 targetSdkVersion rootProject. ext. targetSdkVersion
99 ndkVersion rootProject. ext. ndkVersion
10+ versionCode 35
11+ versionName " 1.2.0"
1012
1113 externalNativeBuild {
1214 cmake {
Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ android {
6161dependencies {
6262
6363 debugImplementation ' com.squareup.leakcanary:leakcanary-android:2.2'
64- implementation project(' :czxing' )
65- // implementation 'io.github.devilsen:czxing:1.1 .0'
64+ // implementation project(':czxing')
65+ implementation ' io.github.devilsen:czxing:1.2 .0'
6666
6767 testImplementation rootProject. ext. junit
6868 androidTestImplementation rootProject. ext. testrunner
Original file line number Diff line number Diff line change 5656 android : onClick =" openScanBox"
5757 android : text =" openScanBox"
5858 android : textAllCaps =" false"
59- android : visibility =" visible " />
59+ android : visibility =" gone " />
6060
6161 <Button
6262 android : layout_width =" wrap_content"
6363 android : layout_height =" wrap_content"
6464 android : onClick =" testDetect"
6565 android : text =" testDetect"
6666 android : textAllCaps =" false"
67- android : visibility =" visible " />
67+ android : visibility =" gone " />
6868
6969</LinearLayout >
You can’t perform that action at this time.
0 commit comments