📌  相关文章
📜  如何生成android项目的签名apk - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:54.882000             🧑  作者: Mango

代码示例1
android {
    ...
    defaultConfig { ... }
    signingConfigs {
        release {
            storeFile file("my.keystore")
            storePassword "password"
            keyAlias "MyReleaseKey"
            keyPassword "password"
        }
    }
    buildTypes {
        release {
            ...
            signingConfig signingConfigs.release
        }
    }
}