{"id":1275,"date":"2017-10-27T05:48:20","date_gmt":"2017-10-27T05:48:20","guid":{"rendered":"http:\/\/abhiandroid.com\/androidstudio\/?p=1275"},"modified":"2018-06-05T07:10:21","modified_gmt":"2018-06-05T07:10:21","slug":"generate-signed-apk-android-studio","status":"publish","type":"post","link":"https:\/\/abhiandroid.com\/androidstudio\/generate-signed-apk-android-studio.html","title":{"rendered":"How To Generate Signed Apk In Android Studio For Publishing &#038; Updating App"},"content":{"rendered":"<p>If you have completed developing your Android App and now wants to publish it on Playstore. Then the first step you need to take is generate signed apk in Android Studio.<\/p>\n<p>In this tutorial I am going to discuss how to generate signed apk\u00a0 in Android Studio for publishing new App and also for updating existing App on Playstore.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Important Note:<\/strong><\/span> To publish App generating signed apk is compulsory as you cannot publish normal build apk file on Playstore.<\/p>\n<p><strong>Next Read: <a href=\"\/androidstudio\/publish-android-app-playstore.html\">How To Publish Android App On Play Store<\/a><\/strong><\/p>\n<hr \/>\n<h4><strong>How To Generate Signed Apk For Publishing New App In Android Studio:<\/strong><\/h4>\n<p>Follow the below steps:<\/p>\n<p><strong>Step 1:<\/strong> Go to build and click on Generate Signed Apk&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1280\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-Apk-Android-Studio.jpg\" alt=\"Generate Signed Apk Android Studio\" width=\"419\" height=\"323\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-Apk-Android-Studio.jpg 419w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-Apk-Android-Studio-300x231.jpg 300w\" sizes=\"auto, (max-width: 419px) 100vw, 419px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Android Studio will now open a dialog box. Click on Next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1281\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/Module-app-android-studio.jpg\" alt=\"Module app android studio\" width=\"622\" height=\"330\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Module-app-android-studio.jpg 622w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Module-app-android-studio-300x159.jpg 300w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Now you will need to create Keystore path. Click on Create new&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1282\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/key-store-path-create-new-android-studio.jpg\" alt=\"key store path create new android studio\" width=\"630\" height=\"340\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/key-store-path-create-new-android-studio.jpg 630w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/key-store-path-create-new-android-studio-300x162.jpg 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/p>\n<p><strong>Step 4:<\/strong> Now locate key store path in your system where you want to save jks file of your project. Click on &#8230; to locate the path.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1283\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/locate-path-key-store-jks-android-studio.jpg\" alt=\"locate path key store jks android studio\" width=\"527\" height=\"481\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/locate-path-key-store-jks-android-studio.jpg 527w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/locate-path-key-store-jks-android-studio-300x274.jpg 300w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/p>\n<p><strong>Step 5:<\/strong> After locating the path from your system. Give any name to the jks file that will be created and click ok.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1284\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/saving-jks-file-example-android.jpg\" alt=\"Saving jks file example android\" width=\"426\" height=\"532\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/saving-jks-file-example-android.jpg 426w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/saving-jks-file-example-android-240x300.jpg 240w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/p>\n<p><strong>Step 6:<\/strong> Fill the other details and click ok. For example you can refer to the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1285\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/New-Key-Store-path-signed-apk-details-android-studio.jpg\" alt=\"New Key Store path signed apk details android studio\" width=\"532\" height=\"482\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/New-Key-Store-path-signed-apk-details-android-studio.jpg 532w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/New-Key-Store-path-signed-apk-details-android-studio-300x272.jpg 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/p>\n<p><strong>Step 7:<\/strong> Click next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1286\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-apk-android.jpg\" alt=\"Generate Signed apk android\" width=\"623\" height=\"333\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-apk-android.jpg 623w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-apk-android-300x160.jpg 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n<p><strong>Step 8:<\/strong> Now edit the destination folder of signed apk file, choose build type and select signature versions. Finally click Finish:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Important Note:<\/strong><\/span> Regarding signature versions, you can consider\u00a0V2 because it offers faster app install times and more protection against unauthorized alterations to APK files. If you face any problem then you can consider the traditional V1 signing scheme, which uses JAR signing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1287\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/finish-generate-signed-apk-android-studio.jpg\" alt=\"Finish generate signed apk android studio\" width=\"626\" height=\"333\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/finish-generate-signed-apk-android-studio.jpg 626w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/finish-generate-signed-apk-android-studio-300x160.jpg 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/p>\n<p><strong>Step 9:<\/strong> Now you can use this signed apk for publishing app on Playstore via your developer console.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Important Note 1:<\/strong><\/span> After you generate signed apk, it is very important to keep jks file safe and secure. If you lost it then you won&#8217;t be able to send future updates to your App.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Important Note 2:<\/strong><\/span> Make sure to keep Keystore and key password saved somewhere with you. If you lost or forget it then also you won&#8217;t be able to send new updates for your App.<\/p>\n<hr \/>\n<h4><strong>How To Generate Signed apk For Updating Existing App On Playstore In Android Studio:<\/strong><\/h4>\n<p>Follow the below steps to generate the signed apk for updating existing Android App on Playstore:<\/p>\n<p><strong>Step 1:<\/strong> Open the build.gradle (Module: app) file and increase the version code by 1 and change the version name according to your requirement<\/p>\n<p><strong>Step 2:<\/strong> Click Sync Now<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1291\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/Change-version-code-version-name-android-studio-1.jpg\" alt=\"Change version code version name android studio\" width=\"1210\" height=\"376\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Change-version-code-version-name-android-studio-1.jpg 1210w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Change-version-code-version-name-android-studio-1-300x93.jpg 300w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Change-version-code-version-name-android-studio-1-768x239.jpg 768w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Change-version-code-version-name-android-studio-1-1024x318.jpg 1024w\" sizes=\"auto, (max-width: 1210px) 100vw, 1210px\" \/><\/p>\n<p><strong>Step 3:<\/strong> After sync is completed. Click on build and generate signed apk&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1280\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-Apk-Android-Studio.jpg\" alt=\"Generate Signed Apk Android Studio\" width=\"419\" height=\"323\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-Apk-Android-Studio.jpg 419w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-Apk-Android-Studio-300x231.jpg 300w\" sizes=\"auto, (max-width: 419px) 100vw, 419px\" \/><\/p>\n<p><strong>Step 4:<\/strong> Now click on Next<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1281\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/Module-app-android-studio.jpg\" alt=\"Module app android studio\" width=\"622\" height=\"330\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Module-app-android-studio.jpg 622w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Module-app-android-studio-300x159.jpg 300w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><\/p>\n<p><strong>Step 5:<\/strong> Click on <strong>choose existing&#8230;<\/strong> and locate the path of jks of the App in your system.<\/p>\n<p><strong>Step 6:<\/strong> Enter the Key store password, key alias and key password that you created while creating jks file<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1286\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-apk-android.jpg\" alt=\"Generate Signed apk android\" width=\"623\" height=\"333\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-apk-android.jpg 623w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/Generate-Signed-apk-android-300x160.jpg 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n<p><strong>Step 8:<\/strong> Now edit the destination folder of signed apk file, choose build type and select signature versions. Finally click Finish:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1287\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/10\/finish-generate-signed-apk-android-studio.jpg\" alt=\"Finish generate signed apk android studio\" width=\"626\" height=\"333\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/finish-generate-signed-apk-android-studio.jpg 626w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/10\/finish-generate-signed-apk-android-studio-300x160.jpg 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/p>\n<p><strong>Step 9:<\/strong> Now you can use this signed apk for updating existing app on Playstore via your Android developer console.<\/p>\n<p><strong>Next Read: <a href=\"\/androidstudio\/publish-android-app-playstore.html\">How To Publish Android App On Play Store<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have completed developing your Android App and now wants to publish it on Playstore. Then the first step you need to take is generate signed apk in Android Studio. In this tutorial I am going to discuss how to generate signed apk\u00a0 in Android Studio for publishing new App and also for updating &hellip; <a href=\"https:\/\/abhiandroid.com\/androidstudio\/generate-signed-apk-android-studio.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How To Generate Signed Apk In Android Studio For Publishing &#038; Updating App<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1275","post","type-post","status-publish","format-standard","hentry","category-archieve"],"psp_head":"<title>How To Generate Signed Apk In Android Studio For Publishing &amp; Updating App \u2013 Abhi Android<\/title>\r\n<meta name=\"description\" content=\"In this tutorial I am going to discuss how to generate signed apk\u00a0 in Android Studio for publishing new App and also for updating existing App on Playstore.\" \/>\r\n<meta name=\"robots\" content=\"index,follow\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/abhiandroid.com\/androidstudio\/generate-signed-apk-android-studio.html\" \/>\r\n","_links":{"self":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/1275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/comments?post=1275"}],"version-history":[{"count":2,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/1275\/revisions"}],"predecessor-version":[{"id":1447,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/1275\/revisions\/1447"}],"wp:attachment":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/media?parent=1275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/categories?post=1275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/tags?post=1275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}