From beaf2b5257a455644ea26ed1878d3b623102f1d8 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 08 十二月 2023 10:39:00 +0800 Subject: [PATCH] 中安身份证识别相关代码 --- app/build.gradle | 48 +++++++++++++++++++++++++++++------------------- 1 files changed, 29 insertions(+), 19 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 70a8e5a..e3245c9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,11 +7,15 @@ defaultConfig { applicationId "com.dayu.recharge" minSdk 23 - targetSdk 33 + targetSdk 26 versionCode 1 versionName "1.0" - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + + ndk { + abiFilters "armeabi-v7a" + } + } buildTypes { @@ -27,35 +31,41 @@ viewBinding { enabled = true; } +// repositories { +// flatDir { +// dirs 'libs' +// } +// } } - +//ps:dycz@2023 +//alias:dayu +//ps:dycz@2023 dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') -// implementation 'androidx.appcompat:appcompat:1.6.1' -// implementation 'com.google.android.material:material:1.10.0' + implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') + implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'com.android.support.constraint:constraint-layout:1.1.3' + implementation 'androidx.core:core-ktx:1.8.0' + implementation 'androidx.appcompat:appcompat:1.5.0' //room鏁版嵁搴� implementation "androidx.room:room-runtime:2.3.0" implementation "androidx.room:room-ktx:2.3.0" runtimeOnly("androidx.room:room-common:2.3.0") annotationProcessor "androidx.room:room-compiler:2.3.0" -// implementation 'com.android.support:appcompat-v7:28.0.0' -// implementation('com.jakewharton:butterknife:9.0.0') { -// exclude group: 'com.android.support:annotations-v7:28.0.0'; -// exclude group: 'android.arch.core:common:1.1.1' -// } -// implementation project(path: ':pickerviewlibrary') -// implementation files('libs\\AMap_Location_V6.2.0_20221026.jar') -// annotationProcessor('com.jakewharton:butterknife-compiler:9.0.0') { -// exclude group: 'android.arch.core:common:1.1.1' -// } -// implementation 'com.android.support:support-v4:28.0.0-alpha1' -// implementation 'org.xutils:xutils:3.8.5' -// implementation files('libs/core-3.3.0.jar') implementation 'com.google.zxing:core:3.4.1' implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12' implementation 'com.wang.avi:library:2.1.3' implementation project(':pickerviewlibrary') implementation project(':easysocket') implementation 'com.tencent.bugly:crashreport:latest.release' +// 澶勭悊鍥剧墖 +// implementation (name: 'ocr-library', ext: 'aar') + //鏉冮檺 + implementation ('com.guolindev.permissionx:permissionx:1.7.1'){ + exclude group: 'androidx.core'; + exclude group: 'androidx.appcompat'; + exclude group: 'androidx.annotation'; + } + implementation project(':ocridcardlibrary') + } \ No newline at end of file -- Gitblit v1.8.0