Last active
December 29, 2015 04:59
-
-
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…
This file contains hidden or 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
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