Skip to content

Instantly share code, notes, and snippets.

@Mariuxtheone
Last active December 29, 2015 04:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Mariuxtheone/7618233 to your computer and use it in GitHub Desktop.
Save Mariuxtheone/7618233 to your computer and use it in GitHub Desktop.
Android Studio 0.3.6 APK Signing issue. 1) Add the following code to *build.gradle* 2) Add the debug.keystore and your release.keystore file into project root folder 3) Update the "mypassword" and "myalias" strings in code with your keystore password and alias, 4) Select "Release" in *Build Variants* (you can find it in Help->Find Actions->Build…
android {
...
signingConfigs {
debug {
storeFile file("debug.keystore")
}
myConfig {
storeFile file("release.keystore")
storePassword "mypassword"
keyAlias "myalias"
keyPassword "mypassword"
}
}
buildTypes {
debug {
debuggable true
jniDebugBuild true
signingConfig signingConfigs.debug
}
release {
debuggable false
jniDebugBuild true
signingConfig signingConfigs.myConfig
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment