6.4.2打包提版

This commit is contained in:
18401019693 2022-09-28 18:04:21 +08:00
parent a066d3f4ff
commit c7b81a5185
3 changed files with 17 additions and 17 deletions

View File

@ -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)
// }
// }
// }
//}
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)
}
}
}
}

View File

@ -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",

View File

@ -451,7 +451,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
});
//获取指导员账号
ConversationIMListManager.get(this).getUserInstructor(this);
// checkVersion();
checkVersion();
}
/**