From 25927bcc7dd89d34d6b995bedfcdd8e770458f22 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sun, 22 Apr 2018 15:09:45 +0000 Subject: [PATCH] Deploy website Deploy website version based on 9cb0a9a9baab9eb590042f201631354358fd7ace --- docs/next/signed-apk-android.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/next/signed-apk-android.html b/docs/next/signed-apk-android.html index 8b1ce9bc4c5..4709a864888 100644 --- a/docs/next/signed-apk-android.html +++ b/docs/next/signed-apk-android.html @@ -11,6 +11,14 @@

This command prompts you for passwords for the keystore and key, and to provide the Distinguished Name fields for your key. It then generates the keystore as a file called my-release-key.keystore.

The keystore contains a single key, valid for 10000 days. The alias is a name that you will use later when signing your app, so remember to take note of the alias.

+

On Mac if you not sure where is your jdk bin folder is then perform the following command to find it, +$ /usr/libexec/java_home +it will output the directroy of jdk which looks like this, +/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home +then navigate to that directory by the following command, +$ cd /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/ +Now you can perform the keytool command with sudo permission as shown below, +$ sudo keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000

Note: Remember to keep your keystore file private and never commit it to version control.

Setting up gradle variables