Gradle signing config

signingConfigs{
    releaseWithSignedKey {
        storeFile file("D:\\workSpaceAnd\\key\\xxx.jks")
        storePassword "hxxxxx4"
        keyAlias "cxxxxxxxxn"
        keyPassword "hxxxxx4"
    }
}

buildTypes {
    release {
        ...
        signingConfig signingConfigs.releaseWithSignedKey
    }
}

https://snowdeer.github.io/android/2017/01/22/android-studio-build-key-setting/

좋은 웹페이지 즐겨찾기