修复测试问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user