修复测试问题

This commit is contained in:
18401019693 2022-10-13 18:29:23 +08:00
parent e352db3ced
commit b8ff6d56ae
2 changed files with 4 additions and 3 deletions

View File

@ -62,7 +62,8 @@ android {
def isGooglePlay=rootProject.ext.manifestPlaceholders.isGooglePlay
if(file(manifestPath).exists()&&isGooglePlay) {
def manifestContent = file(manifestPath).getText()
manifestContent = manifestContent.replace('android.permission.REQUEST_INSTALL_PACKAGES', '')
manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />', '')
file(manifestPath).write(manifestContent)
}else{
print "not Exists = "+manifestPath

View File

@ -4,7 +4,7 @@ ext {
buildToolsVersion: "28.0.3",
minSdkVersion : 21,
targetSdkVersion : 31,
versionCode : 219,
versionCode : 221,
versionName : "6.4.3"
]
manifestPlaceholders = [
@ -25,6 +25,6 @@ ext {
baiduAppSecretKey: "nEVSgmuGpU0pjPr6VleEGGAl0hzGW52S",
// true表示谷歌支付 false
isGooglePlay : true
isGooglePlay : false
]
}