How to setup Signing configuration in Android Studio/Gradle

Add following to your build.gradle :

android {

defaultConfig {}
signingConfigs {

   release {
      storeFile file("<path-to-signing-keys>/signingKeys.jks")
      storePassword "your store password"      keyAlias "your chosen alias"      keyPassword "password"
You can also publish to playtore by adding following configuration to your build.gradle:
play {
    serviceAccountEmail = ''    pk12File = file('key.p12')
    track = 'alpha'}


Popular posts from this blog

How to fix "Plugin with id '' not found." issue with Android Libraries

Setting up .netrc file on Mac OS X (Lion) for Git

How did I setup SSL with HTTPClient-4.1.2