{"id":3815,"date":"2015-05-04T19:44:33","date_gmt":"2015-05-04T16:44:33","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=3815"},"modified":"2015-05-04T20:08:14","modified_gmt":"2015-05-04T17:08:14","slug":"building-apk-with-release-mode","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2015\/05\/04\/building-apk-with-release-mode\/","title":{"rendered":"Building .apk with Release mode"},"content":{"rendered":"<p>Uploading .apk to Google Play can give error message:<br \/>\n&#8220;Upload failed You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode.&#8221;<\/p>\n<h4>Building .apk with Release mode<\/h4>\n<p>&#8211; File \/ Build Settings<br \/>\n&#8211; Click button &#8220;Player Settings&#8221; (image#1)<br \/>\n&#8211; Select &#8220;Publishing Settings&#8221; (image#2)<br \/>\n&#8211; Click [x] Create New Keystore<br \/>\n&#8211; Click Browse Keystore<br \/>\n&#8211; &#8220;Create a new keystore&#8221; Save the file to default location (image#3)<br \/>\n&#8211; Enter Keystore password:<br \/>\n&#8211; Enter Confirm password: (*same as above^)<br \/>\n&#8211; From the Key, Alias dropdown, select &#8220;Create new key&#8221; (image#4)<br \/>\n&#8211; Fill in the details (only alias &amp; passwords are required, but fill in the rest also. Use same password that you used above^) (image#5)<br \/>\n&#8211; Click &#8220;Create key&#8221; button<br \/>\n&#8211; From the Key, Alias dropdown, select &#8220;youralias&#8221; *It displays the alias here which you entered above^<br \/>\n&#8211; Done!<\/p>\n<p>&#8212;<\/p>\n<p><strong>Docs:<\/strong><br \/>\n&#8211; <a href=\"http:\/\/docs.unity3d.com\/Manual\/class-PlayerSettingsAndroid.html\">http:\/\/docs.unity3d.com\/Manual\/class-PlayerSettingsAndroid.html<\/a><\/p>\n<p>&#8212;<\/p>\n<p>Image#1: Player settings<br \/>\n<a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_1.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3820\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/05\/04\/building-apk-with-release-mode\/player_settings_1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_1.jpg?fit=558%2C604&amp;ssl=1\" data-orig-size=\"558,604\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"player_settings_1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_1.jpg?fit=558%2C604&amp;ssl=1\" class=\"alignnone size-full wp-image-3820\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_1.jpg?resize=558%2C604\" alt=\"player_settings_1\" width=\"558\" height=\"604\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_1.jpg?w=558&amp;ssl=1 558w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_1.jpg?resize=277%2C300&amp;ssl=1 277w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><\/p>\n<p>&#8212;<\/p>\n<p>Image#2: Android \/ Publishing settings<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_2.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3819\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/05\/04\/building-apk-with-release-mode\/player_settings_2\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_2.jpg?fit=524%2C716&amp;ssl=1\" data-orig-size=\"524,716\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"player_settings_2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_2.jpg?fit=524%2C716&amp;ssl=1\" class=\"alignnone size-full wp-image-3819\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_2.jpg?resize=524%2C716\" alt=\"player_settings_2\" width=\"524\" height=\"716\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_2.jpg?w=524&amp;ssl=1 524w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_2.jpg?resize=220%2C300&amp;ssl=1 220w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/a><\/p>\n<p>&#8212;<\/p>\n<p>Image#3: Creating new keystore<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore1.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3818\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/05\/04\/building-apk-with-release-mode\/create_new_keystore1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore1.jpg?fit=728%2C529&amp;ssl=1\" data-orig-size=\"728,529\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"create_new_keystore1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore1.jpg?fit=728%2C529&amp;ssl=1\" class=\"alignnone size-full wp-image-3818\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore1.jpg?resize=728%2C529\" alt=\"create_new_keystore1\" width=\"728\" height=\"529\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore1.jpg?w=728&amp;ssl=1 728w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore1.jpg?resize=300%2C218&amp;ssl=1 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/a><\/p>\n<p>&#8212;<\/p>\n<p>Image#4: Select create new key<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3816\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/05\/04\/building-apk-with-release-mode\/player_settings_3\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_3.jpg?fit=510%2C704&amp;ssl=1\" data-orig-size=\"510,704\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"player_settings_3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_3.jpg?fit=510%2C704&amp;ssl=1\" class=\"alignnone size-full wp-image-3816\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_3.jpg?resize=510%2C704\" alt=\"player_settings_3\" width=\"510\" height=\"704\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_3.jpg?w=510&amp;ssl=1 510w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_3.jpg?resize=217%2C300&amp;ssl=1 217w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/p>\n<p>&#8212;<\/p>\n<p>Image#5: Creating new key<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore2.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3817\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/05\/04\/building-apk-with-release-mode\/create_new_keystore2\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore2.jpg?fit=506%2C352&amp;ssl=1\" data-orig-size=\"506,352\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"create_new_keystore2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore2.jpg?fit=506%2C352&amp;ssl=1\" class=\"alignnone size-full wp-image-3817\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore2.jpg?resize=506%2C352\" alt=\"create_new_keystore2\" width=\"506\" height=\"352\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore2.jpg?w=506&amp;ssl=1 506w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/create_new_keystore2.jpg?resize=300%2C209&amp;ssl=1 300w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uploading .apk to Google Play can give error message: &#8220;Upload failed You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode.&#8221; Building .apk with Release mode &#8211; File \/ Build Settings &#8211; Click button &#8220;Player Settings&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3816,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[420,3],"tags":[197,610,188,738,609,739,737,736],"class_list":["post-3815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-unity3d","tag-android","tag-apk","tag-build","tag-debug","tag-google-play","tag-mode","tag-release","tag-settings"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/player_settings_3.jpg?fit=510%2C704&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-Zx","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=3815"}],"version-history":[{"count":3,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3815\/revisions"}],"predecessor-version":[{"id":3823,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3815\/revisions\/3823"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/3816"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=3815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=3815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=3815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}