May
4
2015

Building .apk with Release mode

Uploading .apk to Google Play can give error message:
“Upload failed You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode.”

Building .apk with Release mode

– File / Build Settings
– Click button “Player Settings” (image#1)
– Select “Publishing Settings” (image#2)
– Click [x] Create New Keystore
– Click Browse Keystore
– “Create a new keystore” Save the file to default location (image#3)
– Enter Keystore password:
– Enter Confirm password: (*same as above^)
– From the Key, Alias dropdown, select “Create new key” (image#4)
– Fill in the details (only alias & passwords are required, but fill in the rest also. Use same password that you used above^) (image#5)
– Click “Create key” button
– From the Key, Alias dropdown, select “youralias” *It displays the alias here which you entered above^
– Done!

Docs:
http://docs.unity3d.com/Manual/class-PlayerSettingsAndroid.html

Image#1: Player settings
player_settings_1

Image#2: Android / Publishing settings

player_settings_2

Image#3: Creating new keystore

create_new_keystore1

Image#4: Select create new key

player_settings_3

Image#5: Creating new key

create_new_keystore2


2 Comments + Add Comment

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.