Step by Step Guide to Generate a signed APK using Android Studio

Get a signed APK to deploy the android application on the Google play store

Image for post
Image for post
Photo by on

After you successfully develop your Android application, you need to develop its APK file. Here, APK files can be generated for testing purposes as well. However, in this blog, I will be discussing the stepwise procedure to generate a signed APK file for deploying your application in Google Play Store.

Note: Before you dive into the stepwise procedure, you should have adequate knowledge about the APK files and the difference between building an android APK and generating a signed APK file. Here’s the link to my blog where I talked about this subject matter.

Stepwise Procedure for Generating a signed APK in Android Studio

Step 1: First of all you are required to ‘Sign in’ to your ‘Google account’ as shown in the image below.

Image for post
Image for post

Step 2: Then, at the toolbar, click on the ‘Build’ option and select the ‘Generate Signed Bundle / APK …’ as shown in the image below.

Image for post
Image for post

Step 3: Now, a pop-up appears as shown in the image below.

Image for post
Image for post

Step 4: Here, select ‘APK’ in the radio button as shown in the image below. Then, click on the ‘Next’ button.

Image for post
Image for post

Step 5: Click on the ‘Create new … ’ button.

Image for post
Image for post

Step 6: Now, another pop-up regarding the ‘New Key Store’ appears.

Image for post
Image for post

Step 7: In ‘New Key Store’, browse a ‘Key store path’ by clicking on the Folder icon as shown in the image below. Then, provide a ‘Password’ and ‘Confirm’ password. Now, on the ‘Key’ section, provide an ‘Alias:’. After that enter a ‘Password’ and ‘Confirm’ password. Then, determine ‘Validity (years). Hence, after you have provided details regarding ‘Key’ you can move onto the ‘Certificate’ section. here, provide your ‘First and Last Name’. Then, enter your address details i.e. ‘City or Locality’, ‘State or Province’, and ‘Country Code (XX)’. After you have provided the required details, click on the ‘OK’ button.

Image for post
Image for post

Step 8: Now, you can see the path for your ‘Key store’.

Image for post
Image for post

Step 9: Here, enter the ‘Key store password’ and ‘Key password’ as shown in the image below. After you have provided the ‘Key store password’ and ‘Key password’, click on the ‘Next’ button.

Image for post
Image for post

Step 10: Checkmark the ‘V1 (Jar Signature)’ in ‘Signature Versions’ as presented in the image below.

Image for post
Image for post

Step 11: Now, after you have checked the ‘V1 (Jar Signature)’, click on the ‘Finish’ button.

Image for post
Image for post

Step 12: If you complete all the steps as required, your Signed APK will generate. Then once, your APK file gets generated, you can locate your .apk file by clicking on ‘locate’ from the information dialogue box, Generate Signed APK.

Image for post
Image for post

Cloud Computing | Data Science | Mobile Application Development | Artificial Intelligence | Python Programming | Soft Skills | Many more…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store