Import a key
If you or your company has already published apps, you probably already have signing keys, which you can import into the Theme Creator. Do this by using the “Add key from file” option.
Create a key
Creating a key consists of two main tasks:
- Decide what keystore you want to put the key in.
You can use an existing keystore, or you can create a new one.
If you or your company already has a keystore, then it might be easier to simply insert your new key into that keystore rather than having a separate keystore for it.
If you create a new keystore, then you must give it a password of at least 6 characters. We recommend a longer password longer than 6 characters, and use a combination of letters, numbers and special characters to make the password more secure.
- Decide attributes for the key.
The “key alias” is the name that you use when referencing the key inside the keystore. This isn’t visible to any end users, so just chose something that works for you.
There are multiple identifying attributes you can add that are visible to the end users. Only one is required: common name. Here you normally put your website or your name if you don’t have a website. When signing the theme, this information is added to the APK file and end users will be able to read it. To make your key more personal you can add the other fields such as “Organization Unit” and “Organization Name” as well, but they are optional.
Export the signed APK
Finally, when you have either imported or created a key, you can sign the APK. Your key alias should now be visible in the pop-up window that appeared when you clicked “Export Signed APK”. Click it to confirm that this is the key you want to sign with. You will be prompted for the password for the key and keystore. If they were correct, then you will be asked where to export to and then the build will start. The produced APK file is signed and ready for distribution on Google Play.
Important note: For security reasons, the Theme Creator never stores your key passwords anywhere. We only store the location of the keystore and the alias inside it. The key data is temporarily held in memory while the theme is being built, and then it is immediately discarded.
For more information on what signing keys are and how to use them, we recommend reading Android’s official signing documentation.