我已将发布版本配置如下:
signingConfigs {
config {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storePassword keystoreProperties['storePassword']
storeFile file(keystoreProperties['storeFile'])
}
}