Created
June 25, 2015 08:18
-
-
Save mbelsky/454fb930ae0bf8988167 to your computer and use it in GitHub Desktop.
Snippet to custom keystore file for release apk file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Create your key store: keytool -genkey -v -keystore release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 | |
* and after update your build.gradle file. | |
*/ | |
android { | |
signingConfigs { | |
release { | |
storeFile file("release.keystore") | |
storePassword "******" | |
keyAlias "******" | |
keyPassword "******" | |
} | |
} | |
buildTypes { | |
release { | |
signingConfig signingConfigs.release | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment