Articles → Android → Create A Signed Apk Using Android Studio

Create A Signed Apk Using Android Studio






Steps




  1. Go to Build Generate Signed bundle/APK...
  2. Following window will appear
  3. Picture showing the Generate Signed bundle or APK window for creating the signed apk
    Click to Enlarge

  4. Select APK and click on Next. Following window will appear
  5. Picture showing selecting the apk file in Generate Signed bundle or APK  window
    Click to Enlarge



    1. The key store path (which is the jks file on local path on your machine).
    2. Key store password
    3. Key password.


  6. In the last window, you can select the build variant and destination folder (where apk gets generated).
  7. Picture showing adding the build variant and the destination file path of the generated apk
    Click to Enlarge

  8. Click on Finish and your APK gets generated on destination folder.

Create A New JKS File




  1. Click on ‘Create new…’ on the following screen
  2. Picture showing the Create new button for creating the new jks file
    Click to Enlarge

  3. Following window will appear, where you can enter the path and password
  4. Picture showing a window to enter the path and password of the jks file
    Click to Enlarge

  5. Once you click on Ok, jks file will get created.

Why Do We Need Jks File?


  1. This file is used to sign APK file.
  2. You can store your certificate in this file.
  3. You can sign multiple applications (APK files) with the same key store files.
  4. Only holder of the certificate can update your application on play store.



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, October 29, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250