When you have finished coding and testing your Android application, you should create a publishable APK file if you want to publish it in the Google Play Store. This article shows you step by step how to create a publishable APP file
1. Generate publishable APL file steps.
Open Android Studio, click “Build -> Create Signed APP”.
A dialog will pop up. There are two sections in the dialogue. Key stores and keys. Key Store is a file that has the Jax (Java Key Store) suffix. This file will be used to store multiple different app keys. If you have multiple Android apps, you can provide each application with a key. However, it’s best to use your single key to sign multiple applications, because apps signed to the same key can trust each other when communicating. And it’s easy to maintain.
Android generates the signed apk dialog
If you do not have an existing key store file, click the “Create New …” button in the dialog above. Another dialog will pop up. You need to select the name of your key store file and input a strong password for it. The path to the original store file must be an existing directory otherwise Android Studios will not create it for you.
Detailed information dialog of the new key store in Android Studio
In the Key section, name a title for the new key. The nickname cannot include white space and punctuation. If you have multiple keys with multiple novels, make sure the nickname is unique to both the character and the character.
Also input a strong password for the newly generated key.
The default validity is 25 years, that’s enough for your APP file. Because for the Google Play Store rules, your key must be valid before October 22, 2033.
Input your information in the Certificates area.
Click the OK button. This will return to the “Generate Signed APK” conversation. And all the key stores and key information are also included in that dialogue.
Android generates a data-filled signed apk dialog
Click the Next button, there will be another dialog popup. You can choose APK destination folder and build type. The build type should be expressed in this example.
Android generates a signed APK folder and type
Select at least one signature version checkbox at the bottom of the conversation above, click the Finish button. You can then get the release file to the publishable APK. You can click here to see the details of the signature version.
Released Android APK release file
2. Create the steps of the Android Debug APP file.
Open Android Studio, and click “Build -> Create APK” in the top toolbar.
Create executable files for Android APK
When the build process is complete, a dialog will pop up at the bottom right of Android Studio. Click the link to open the folder where the APK was created.
Create Android APK show in Explorer
In that folder you can see a file named app-debug.app ((app \ build \ outputs \ app) k