diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-mapper-lgpl-1.9.5.jar b/app/libs/jackson-mapper-lgpl-1.9.5.jar
deleted file mode 100644
index 095ffb3..0000000
--- a/app/libs/jackson-mapper-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-mapper-lgpl-1.9.5.jar b/app/libs/jackson-mapper-lgpl-1.9.5.jar
deleted file mode 100644
index 095ffb3..0000000
--- a/app/libs/jackson-mapper-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jts-1.13.jar b/app/libs/jts-1.13.jar
deleted file mode 100644
index bbaa20b..0000000
--- a/app/libs/jts-1.13.jar
+++ /dev/null
Binary files differ
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-mapper-lgpl-1.9.5.jar b/app/libs/jackson-mapper-lgpl-1.9.5.jar
deleted file mode 100644
index 095ffb3..0000000
--- a/app/libs/jackson-mapper-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jts-1.13.jar b/app/libs/jts-1.13.jar
deleted file mode 100644
index bbaa20b..0000000
--- a/app/libs/jts-1.13.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/kxml2-2.3.0.jar b/app/libs/kxml2-2.3.0.jar
deleted file mode 100644
index 6470952..0000000
--- a/app/libs/kxml2-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-mapper-lgpl-1.9.5.jar b/app/libs/jackson-mapper-lgpl-1.9.5.jar
deleted file mode 100644
index 095ffb3..0000000
--- a/app/libs/jackson-mapper-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jts-1.13.jar b/app/libs/jts-1.13.jar
deleted file mode 100644
index bbaa20b..0000000
--- a/app/libs/jts-1.13.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/kxml2-2.3.0.jar b/app/libs/kxml2-2.3.0.jar
deleted file mode 100644
index 6470952..0000000
--- a/app/libs/kxml2-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/libfriapkrecord-r1.0.1.aar b/app/libs/libfriapkrecord-r1.0.1.aar
new file mode 100644
index 0000000..ad69876
--- /dev/null
+++ b/app/libs/libfriapkrecord-r1.0.1.aar
Binary files differ
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-mapper-lgpl-1.9.5.jar b/app/libs/jackson-mapper-lgpl-1.9.5.jar
deleted file mode 100644
index 095ffb3..0000000
--- a/app/libs/jackson-mapper-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jts-1.13.jar b/app/libs/jts-1.13.jar
deleted file mode 100644
index bbaa20b..0000000
--- a/app/libs/jts-1.13.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/kxml2-2.3.0.jar b/app/libs/kxml2-2.3.0.jar
deleted file mode 100644
index 6470952..0000000
--- a/app/libs/kxml2-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/libfriapkrecord-r1.0.1.aar b/app/libs/libfriapkrecord-r1.0.1.aar
new file mode 100644
index 0000000..ad69876
--- /dev/null
+++ b/app/libs/libfriapkrecord-r1.0.1.aar
Binary files differ
diff --git a/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java
deleted file mode 100644
index 3013492..0000000
--- a/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.casic.smartwellapp;
-
-import android.content.Context;
-
-import androidx.test.InstrumentationRegistry;
-import androidx.test.runner.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * @see Testing documentation
- */
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
- @Test
- public void useAppContext() {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getTargetContext();
-
- assertEquals("com.casic.smartwellapp", appContext.getPackageName());
- }
-}
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-mapper-lgpl-1.9.5.jar b/app/libs/jackson-mapper-lgpl-1.9.5.jar
deleted file mode 100644
index 095ffb3..0000000
--- a/app/libs/jackson-mapper-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jts-1.13.jar b/app/libs/jts-1.13.jar
deleted file mode 100644
index bbaa20b..0000000
--- a/app/libs/jts-1.13.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/kxml2-2.3.0.jar b/app/libs/kxml2-2.3.0.jar
deleted file mode 100644
index 6470952..0000000
--- a/app/libs/kxml2-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/libfriapkrecord-r1.0.1.aar b/app/libs/libfriapkrecord-r1.0.1.aar
new file mode 100644
index 0000000..ad69876
--- /dev/null
+++ b/app/libs/libfriapkrecord-r1.0.1.aar
Binary files differ
diff --git a/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java
deleted file mode 100644
index 3013492..0000000
--- a/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.casic.smartwellapp;
-
-import android.content.Context;
-
-import androidx.test.InstrumentationRegistry;
-import androidx.test.runner.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * @see Testing documentation
- */
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
- @Test
- public void useAppContext() {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getTargetContext();
-
- assertEquals("com.casic.smartwellapp", appContext.getPackageName());
- }
-}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 4eeda90..bc63fec 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -3,6 +3,9 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.casic.smartwellapp">
+
@@ -20,22 +23,23 @@
-
-
-
+
+
+
diff --git a/app/build.gradle b/app/build.gradle
index 0614b2f..5ec7f4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,15 +1,24 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
+ compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.casic.smartwellapp"
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 8
- versionName "v1.1.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ //备案号sdk版本要求最低24
+ minSdkVersion 24
+ targetSdkVersion 30
+ /**
+ * 使用中版本如下:
+ * versionCode 8
+ * versionName "v1.1.2"
+ *
+ * 待测试上架版本:
+ * versionCode 9
+ * versionName "v1.1.3"
+ * */
+ versionCode 9
+ versionName "v1.1.3"
multiDexEnabled true
}
buildTypes {
@@ -37,32 +46,50 @@
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/rxjava.properties'
- exclude 'org/codehaus/jackson/impl/VERSION.txt'
- exclude 'org/codehaus/jackson/map/VERSION.txt'
+// exclude 'org/codehaus/jackson/impl/VERSION.txt'
+// exclude 'org/codehaus/jackson/map/VERSION.txt'
+ }
+
+ //导入aar包
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'pub.devrel:easypermissions:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ //移动警务授权sdk
implementation files('libs/OauthLoginJar_V1.0.jar')
- implementation 'com.lbx:xTools:2.1.2'
- implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
- implementation 'org.apache.commons:commons-lang3:3.1'
- implementation 'com.alibaba:fastjson:1.2.68'
- implementation files('libs/guava-17.0.jar')
- implementation files('libs/androidsvg-1.2.2-beta-1.jar')
+ //山海易绘离线地图
implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
- implementation files('libs/jts-1.13.jar')
- implementation files('libs/kxml2-2.3.0.jar')
implementation files('libs/EzLicenseAPI4Android.jar')
implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
- implementation files('libs/jackson-core-lgpl-1.9.5.jar')
- implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
+ //移动警务备案号sdk
+ implementation(name: 'libfriapkrecord-r1.0.1', ext: 'aar')
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ //Google申请手机相关权限官方库
+ implementation group: 'pub.devrel', name: 'easypermissions', version: '3.0.0'
+ //Google官方Json解析
+ implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
+// implementation group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.68'
+ //公共帮助类
+// implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
+ //阿里巴巴Json解析库
+// implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.76'
+ //Google提供的一套工具类
+// implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
+ //安卓SVG渲染库
+// implementation group: 'com.caverock', name: 'androidsvg', version: '1.4'
+ //JTS拓扑套件是用于建模和操纵二维线性几何形状的API
+// implementation group: 'com.vividsolutions', name: 'jts', version: '1.13'
+ //Json解析
+// implementation group: 'org.codehaus.jackson', name: 'jackson-core-lgpl', version: '1.9.13'
+ //Jackson数据映射
+// implementation group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9.13'
+ //xml解析
+// implementation group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
+// implementation 'com.lbx:xTools:2.1.2'
}
diff --git a/app/libs/androidsvg-1.2.2-beta-1.jar b/app/libs/androidsvg-1.2.2-beta-1.jar
deleted file mode 100644
index aa69f00..0000000
--- a/app/libs/androidsvg-1.2.2-beta-1.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/guava-17.0.jar b/app/libs/guava-17.0.jar
deleted file mode 100644
index 661fc74..0000000
--- a/app/libs/guava-17.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-core-lgpl-1.9.5.jar b/app/libs/jackson-core-lgpl-1.9.5.jar
deleted file mode 100644
index 89dc160..0000000
--- a/app/libs/jackson-core-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jackson-mapper-lgpl-1.9.5.jar b/app/libs/jackson-mapper-lgpl-1.9.5.jar
deleted file mode 100644
index 095ffb3..0000000
--- a/app/libs/jackson-mapper-lgpl-1.9.5.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/jts-1.13.jar b/app/libs/jts-1.13.jar
deleted file mode 100644
index bbaa20b..0000000
--- a/app/libs/jts-1.13.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/kxml2-2.3.0.jar b/app/libs/kxml2-2.3.0.jar
deleted file mode 100644
index 6470952..0000000
--- a/app/libs/kxml2-2.3.0.jar
+++ /dev/null
Binary files differ
diff --git a/app/libs/libfriapkrecord-r1.0.1.aar b/app/libs/libfriapkrecord-r1.0.1.aar
new file mode 100644
index 0000000..ad69876
--- /dev/null
+++ b/app/libs/libfriapkrecord-r1.0.1.aar
Binary files differ
diff --git a/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java
deleted file mode 100644
index 3013492..0000000
--- a/app/src/androidTest/java/com/casic/smartwellapp/ExampleInstrumentedTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.casic.smartwellapp;
-
-import android.content.Context;
-
-import androidx.test.InstrumentationRegistry;
-import androidx.test.runner.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * @see Testing documentation
- */
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
- @Test
- public void useAppContext() {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getTargetContext();
-
- assertEquals("com.casic.smartwellapp", appContext.getPackageName());
- }
-}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 4eeda90..bc63fec 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -3,6 +3,9 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.casic.smartwellapp">
+
@@ -20,22 +23,23 @@
-
-
-
+
+
+
diff --git a/app/src/main/assets/error.html b/app/src/main/assets/error.html
index dcd365f..5abea9c 100644
--- a/app/src/main/assets/error.html
+++ b/app/src/main/assets/error.html
@@ -1,82 +1,90 @@
-
-
-
- 404
-
-
-
-
-

-
-
-

-
-
- 请检查网络后重试
-
-
-
-
-
-
-
-
-
+ .text-area {
+
+ height: 75px;
+ }
+
+ .tips {
+ font-size: 25px;
+ line-height: 35px;
+ color: white;
+ text-align: center;
+ }
+
+ .tips img {
+ width: 70%;
+ }
+
+ .btn {
+ margin-top: 5%;
+ text-align: center;
+ }
+
+ .btn button {
+ font-size: 30px;
+ padding: 10px 20px;
+ border-radius: 20px;
+ background-color: #ffee00;
+ color: #ff7700;
+ margin: 0 auto;
+ }
+
+ .btn button:hover {
+ background-color: #ffbb00;
+ color: #ffff00;
+ }
+
+
+
+
+

+
+
+

+
+
+ 请检查网络后重试
+
+
+
+
+
+
+
+
+