Last active
August 21, 2017 09:19
-
-
Save loonix/a50c702a19b6870420cc198a33135ca2 to your computer and use it in GitHub Desktop.
Convert .PFX files into .JKS key and Build signed Android APK
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
If your certificate's file format is in pfx you will need to export it to a jks format. Follow these steps to do that: | |
* Access the following website and download KeyStore Explorer: | |
* http://keystore-explorer.org/downloads.html | |
* Open Key Store Explorer | |
* Open the key file (.pfx or other format) | |
* Type the certificate password | |
* Go to File > Save As | |
* Select JKS type and save it. | |
After that you can go to Android Studio and follow these steps: | |
* Top menu select Build > Build Variant | |
* On the left will highlight a table | |
* Select on the dropdown 'Release' | |
Build Signed APK | |
* On Android Studio go to Build > Generate Signed APK | |
* Key Store Path: insert the path for the .jks file | |
* Type in the alias and the password | |
* Click Next | |
* APK destination folder: place where the apk will be exported | |
* Signature versions: choose one of the versions | |
* V1 - all devices | |
* V2 - no mandatory, only works with android 7.0 or above | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment