Android stadio 自定义debug release keystore
1.添加siggnig
name 随意,不过按我写的就可以了。设置完成之后,你的build.grade就会多出来一些:
android {
signingConfigs {
signingConfigs {
keyAlias 'androiddebugkey'
keyPassword 'android'
storeFile file('D:/lightpole.keystore')
storePassword 'android'
}
}
2.配置你的sigging生效
buildTypes {
release {
signingConfig signingConfigs.signingConfigs
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
signingConfig signingConfigs.signingConfigs
}
}
泰山崩于前而色不变的曹新雨,抱歉