是否可以创建自定义构建类型并使用调试的密钥库对其进行签名?
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
// debug specific configs here
}
staging {
// staging specific configs here
}
}
我尝试设置debubbable true
我的分期,但没有奏效。我无法使用initWith
配置,因为debug
配置可能会干扰我的staging
配置。我知道我可以创建一个signingConfig
,但这涉及创建一个单独的密钥。我正在考虑使用调试的默认密钥库。
请帮忙。