Android-设置release模式运行
2023-02-10 本文已影响0人
ChaosHeart
配置build.gradle
//配置keystore签名
signingConfigs {
release {
storeFile file("TimeHutKeyStore")
storePassword "joyful888"
keyAlias "timehut team"
keyPassword "joyful888"
}
}
buildTypes {
debug {
//运行模式
//signingConfig signingConfigs.debug
signingConfig signingConfigs.release
}
release {
//运行模式
signingConfig signingConfigs.release
}
}