修复测试问题

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