步骤1
signingConfigs {
release {
keyAlias 'congge'
keyPassword 'cong666'
storeFile file('../congge.jks')
storePassword 'cong666'
}
}
这个是签名放在项目目录下的,如果是放在app目录下的,前去掉前面“../”
步骤2
debug {
minifyEnabled false
signingConfig signingConfigs.release
}