Android Prerequisites

Android 

  1. Android package name
  2. Android signing keystore file: android.keystore 
  3. Android signing keystore alias
  4. Android signing keystore password

Prerequisite: Setup Android Signing Key

Determine Android Package Name

  1. Decide on an Android package name for your app, e.g., com.example.custom.mobile

 

Generate Android Signing Key

Take note of your -alias (line 1) and keystore password (line 2 & line 3). This will be needed in the android configuration.

  1. Generate an Android signing key using Android Studio, or the command line and use the command below e.g.

Windows

keytool -genkey -v -keystore android.keystore -alias custom-mobile -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password: 
Re-enter new password:
What is your first and last name?
  [Unknown]:  Custom Mobile
What is the name of your organizational unit?
  [Unknown]:  Mobile
What is the name of your organization?
  [Unknown]:  Example Inc
What is the name of your City or Locality?
  [Unknown]:  Columbia
What is the name of your State or Province?
  [Unknown]:  MD
What is the two-letter country code for this unit?
  [Unknown]:  US
Is CN=Custom Mobile, OU=Mobile, O=Example Inc, L=Columbia, ST=MD, C=US correct?
  [no]:  yes

 

Please be aware that the command for Linux is using "$" sign symbol while Windows does not have any symbol.

Linux
$ keytool -genkey -v -keystore android.keystore -alias custom-mobile -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password: 
Re-enter new password:
What is your first and last name?
  [Unknown]:  Custom Mobile
What is the name of your organizational unit?
  [Unknown]:  Mobile
What is the name of your organization?
  [Unknown]:  Example Inc
What is the name of your City or Locality?
  [Unknown]:  Columbia
What is the name of your State or Province?
  [Unknown]:  MD
What is the two-letter country code for this unit?
  [Unknown]:  US
Is CN=Custom Mobile, OU=Mobile, O=Example Inc, L=Columbia, ST=MD, C=US correct?
  [no]:  yes

    2. Save the generated keystore as android.keystore

 

Summary

Ensure that you have obtained the following: 

  1. android.keystore file
  2. Android Keystore Alias
  3. Android Keystore Password

Please go to Custom Mobile Apps Prerequisites to check for other configurations and prerequisites.

 

Created by Damian Last modified by Aadrian on Nov 19, 2024