From 0baf94225974a8a993789f671860f3679e1a9ff0 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 09 一月 2024 16:11:01 +0800
Subject: [PATCH] 修改权限框架 添加包名和签名验证 数据库文件隐藏
---
app/build.gradle | 46 ++++++++++++++++++++++++++++++++++++++--------
1 files changed, 38 insertions(+), 8 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index 02c2efb..be4093b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,17 +1,31 @@
apply plugin: 'com.android.application'
android {
+ signingConfigs {
+ debug {
+ storeFile file('../dycz.jks')
+ storePassword 'dycz@2023'
+ keyAlias 'dayu'
+ keyPassword 'dycz@2023'
+ }
+ }
namespace 'com.dayu.recharge'
compileSdk 33
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'
+// }
+ signingConfig signingConfigs.debug
+
}
buildTypes {
@@ -24,6 +38,9 @@
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
+ dataBinding {
+ enabled = true;
+ }
viewBinding {
enabled = true;
}
@@ -32,8 +49,15 @@
// dirs 'libs'
// }
// }
+ externalNativeBuild {
+ cmake {
+ path "CMakeLists.txt"
+ }
+ }
}
-
+//ps:dycz@2023
+//alias:dayu
+//ps:dycz@2023
dependencies {
implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
@@ -49,15 +73,21 @@
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 'com.github.getActivity:XXPermissions:18.5'
+ //婊氬姩閫夋嫨妗�
+ implementation 'com.contrarywind:Android-PickerView:4.1.9'
+
+ //鍒楄〃
+ implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5'
+ implementation 'io.github.scwang90:refresh-header-classics:2.0.5'
+ implementation 'androidx.recyclerview:recyclerview:1.2.0'//缁忓吀鍒锋柊澶�
+
+ implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
}
\ No newline at end of file
--
Gitblit v1.8.0