修复测试问题
This commit is contained in:
parent
e352db3ced
commit
b8ff6d56ae
@ -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
|
||||
|
@ -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
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user