Search code examples
javaandroidandroid-studioaliaskeystore

How to add an Alias to Android (Java) Keystore


It is easy to create a new Java Keystore in Android-Studio. But I'd like to add a second Alias to this Keystore. For a second app for the same client. How do I do that? Or, if it is a not-so-good idea, what would be a better way?

edit: I do not intend to use different Keystores for same project. First project is done in Android Studio, second in Intel XDK. They will not share process or need accesses to data in the other.


Solution

  • You can also do that in Android Studio. Just go to "Build > Generate Signed Bundle / APK", skip to the next step, then there should be a folder icon right at the end of the "Key alias" field. Click on it and a new window will open up for you to input the information for the new alias.

    Screenshot for reference:

    enter image description here