From c7b81a5185e09fcb7740fc26b0a2d37cf2310331 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 28 Sep 2022 18:04:21 +0800 Subject: [PATCH] =?UTF-8?q?6.4.2=E6=89=93=E5=8C=85=E6=8F=90=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 24 +++++++++---------- config.gradle | 8 +++---- .../yunbao/main/activity/MainActivity.java | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 9d3603c20..b95eba43d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -141,15 +141,15 @@ dependencies { } // 链接包需要注释掉 否正无法更新 谷歌包需要打开 -//project.afterEvaluate { -// android.applicationVariants.all { variant -> -// variant.outputs.each { output -> -// output.processResources.doFirst { pm-> -// String manifestPath = output.processResources.manifestFile; -// def manifestContent = file(manifestPath).getText() -// manifestContent = manifestContent.replace('android.permission.REQUEST_INSTALL_PACKAGES', '') -// file(manifestPath).write(manifestContent) -// } -// } -// } -//} \ No newline at end of file +project.afterEvaluate { + android.applicationVariants.all { variant -> + variant.outputs.each { output -> + output.processResources.doFirst { pm-> + String manifestPath = output.processResources.manifestFile; + def manifestContent = file(manifestPath).getText() + manifestContent = manifestContent.replace('android.permission.REQUEST_INSTALL_PACKAGES', '') + file(manifestPath).write(manifestContent) + } + } + } +} \ No newline at end of file diff --git a/config.gradle b/config.gradle index f9e5da19d..1b7545338 100644 --- a/config.gradle +++ b/config.gradle @@ -4,15 +4,15 @@ ext { buildToolsVersion: "28.0.3", minSdkVersion : 21, targetSdkVersion : 31, - versionCode : 212, - versionName : "6.4.0" + versionCode : 214, + versionName : "6.4.2" ] manifestPlaceholders = [ //正式 -// serverHost : "https://napi.yaoulive.com", + serverHost : "https://napi.yaoulive.com", //測試 - serverHost : "https://ceshi.yaoulive.com", +// serverHost : "https://ceshi.yaoulive.com", //腾讯地图 txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB", diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java index f3b81d9dc..527c8ade6 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java @@ -451,7 +451,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene }); //获取指导员账号 ConversationIMListManager.get(this).getUserInstructor(this); -// checkVersion(); + checkVersion(); } /**