This help page is for users in Creator 5. If you are in the newer version (Creator 6), click here. Know your Creator version.

Prerequisites for Android code sign

Generating Upload Keystore file

To generate the Upload Keystore file for Android, you must have a Java Development Kit (JDK) or Java Runtime Environment (JRE) set up. Alternatively, you may use Android Studio.
  1. Open the Terminal or Command Prompt.
  2. Replace <my-release-key> and <alias_name> with the upload keystore file name and alias name, respectively, then:
    keytool -genkeypair -v -keystore <my-release-key>.keystore -alias <alias_name> -keyalg RSA -keysize 2048 -validity 20000 -storetype jks

    You will be prompted to set your Keystore password.

  3. Set your Keystore password and memorize it. You'll need this again when you code sign your app for Android.
  4. Enter the details as prompted.
  5. Set your Key password:
    • Enter the required password, or
    • Press the RETURN or ENTER key in your keyboard to set the Keystore password as the Key password

The Upload Keystore file will be generated and downloaded in the path where you executed the above commands.

Note: You might encounter the error message "The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format." Kindly ignore this message and proceed further.

Generating App Signing Keystore file

To generate the App Signing Keystore file for Android, you must have a Java Development Kit (JDK) or Java Runtime Environment (JRE) set up. Alternatively, you may use Android Studio.
  1. Open the Terminal or Command Prompt.
  2. Replace <my-release-key> and <alias_name> with the app signing keystore file name and alias name, respectively, then:
    keytool -genkeypair -v -keystore <my-release-key>.keystore -alias <alias_name> -keyalg RSA -keysize 2048 -validity 20000 -storetype jks

    You will be prompted to set your Keystore password.

  3. Set your Keystore password and memorize it. You'll need this again when you code sign your app for Android.
  4. Enter the details as prompted.
  5. Set your Key password:
    • Enter the required password, or
    • Press the RETURN or ENTER key in your keyboard to set the Keystore password as the Key password

The App Signing Keystore file will be generated and downloaded in the path where you executed the above commands.

Note: You might encounter the error message "The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format." Kindly ignore this message and proceed further.

Download Firebase config file and FCM server key

The Firebase config file and FCM server key are required to enable push notification support in your Android app.

1. Download Firebase config file

  1. Sign in to your Firebase console.
  2. Select the required project. If you haven't created a project yet, then:
    1. Create a project in Firebase. Learn how
    2. Register your app with Firebase. Learn how
  3. Click the Settings icon, then select Project settings.
  4. Navigate to the General tab.
  5. In the Your apps card, select the package name of the app for which you need a config file.
  6. Click the google-services.json button. Your Firebase config file will be downloaded to your device.

2. Download FCM server key

  1. Access your Firebase console.
  2. Select the required project.
  3. Click the Settings icon, then select Project settings.
  4. Navigate to the Cloud Messaging tab.
  5. Copy the Server key.
Note: At present, we are providing support for the 'Cloud Messaging API (Legacy)' server key for Firebase push notifications. If it's currently disabled, please enable it in the Cloud Messaging tab and utilize the Server key from 'Cloud Messaging API (Legacy)' for code signing.

Related topics

Still can't find what you're looking for?

Write to us: support@zohocreator.com