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
- Generating App Signing Keystore file
- Download Firebase config file and FCM server key
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.
- Open the Terminal or Command Prompt.
- 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.
- Set your Keystore password and memorize it. You'll need this again when you code sign your app for Android.
- Enter the details as prompted.
- 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.
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.
- Open the Terminal or Command Prompt.
- 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.
- Set your Keystore password and memorize it. You'll need this again when you code sign your app for Android.
- Enter the details as prompted.
- 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.
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
- Sign in to your Firebase console.
- Select the required project. If you haven't created a project yet, then:
- Click the Settings icon, then select Project settings.
- Navigate to the General tab.
- In the Your apps card, select the package name of the app for which you need a config file.
- Click the google-services.json button. Your Firebase config file will be downloaded to your device.
2. Download FCM server key
- Access your Firebase console.
- Select the required project.
- Click the Settings icon, then select Project settings.
- Navigate to the Cloud Messaging tab.
- Copy the Server key.