6.4.2打包提版
This commit is contained in:
parent
a066d3f4ff
commit
c7b81a5185
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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",
|
||||
|
@ -451,7 +451,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
||||
});
|
||||
//获取指导员账号
|
||||
ConversationIMListManager.get(this).getUserInstructor(this);
|
||||
// checkVersion();
|
||||
checkVersion();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user