Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
11
Question by Mz3D · Oct 03, 2012 at 01:09 PM · androidappkeystoresigningsign

Signing an Android application

Can someone explain me the steps of signing an android .apk? I've already read various aricles on the web but i haven't understood how to do it. What's a keystore? How can i create a keystore name file? What are these three passwords (Keystore, key alias, public key)? Thanks for your help!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
27
Best Answer Wiki

Answer by aradina1 · Dec 20, 2013 at 04:55 PM

It's rather easy actually. If you go into Edit- Project Settings- Player you will find that you have the option to create a Keystore. The Keystore is a way of identifying your app via a password so it is safe and you can get credit for any money you make in the market.

In Publishing Settings you want to check the box that says "Create New Key". Then you enter a password of your choosing, over 6 characters long.

Browse Keystore- Choose a name and store it on your desktop to give it a location.

Below that you will add another password where it says "Key". But first you will be asked to use the Alias tab to "create new key". Do that and enter your password. Fill out all the information about yourself and then once you've entered all the appropriate information you will be granted access to your saved project in the Alias tab and you're done.
Here is full walk-through located on youtube if you haven't already found this answer on your own by now. https://www.youtube.com/watch?v=av5ANVlkU3g

Comment
Add comment · Show 8 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rhylvin2015 · Jul 13, 2015 at 08:57 AM 0
Share

hello I created a keystore already. and did everything right.... but now when i upload it on https://play.google.com/apps/publish/ it will say "Upload failed, You uploaded an AP$$anonymous$$ signed with a certificate that is not yet valid. You need to sign your AP$$anonymous$$ with a certificate that is currently valid. Learn more about signing."

avatar image mtdrume Rhylvin2015 · Aug 02, 2015 at 06:35 PM 0
Share

I think maybe you created your keystore but did not build the apk with it. Try signing again and uploading again.

avatar image shmulik.pangolin · Aug 02, 2015 at 04:20 PM 0
Share

Do I need unity Pro for android in order to create a new key?

avatar image JigneshKoradiya shmulik.pangolin · Aug 02, 2015 at 04:48 PM 1
Share

no you can do it in any unity ,it not required any pro version

avatar image JigneshKoradiya shmulik.pangolin · Aug 02, 2015 at 04:48 PM 1
Share

if my answer help you than plz accept answer

avatar image rifaterdemsahin · Nov 28, 2016 at 04:20 PM 0
Share

i need to sign the apk with code....dont want to sign it by hand all the time...what can I do ?

avatar image Bunny83 rifaterdemsahin · Nov 28, 2016 at 05:57 PM 0
Share

UnityAnswer is a Q&A site and not a forum to chat. You just posted an answer which doesn't answer the question. I've converted your answer into a comment.

Signing an AP$$anonymous$$ file is something that google requires. The AndroidSD$$anonymous$$ ships the tools for signing. Signing an AP$$anonymous$$ manually doesn't fall in the domain of Unity. Consult the AndroidSD$$anonymous$$ manual / google developer pages on that topic.

I'm not sure why you said you "don't want to sign by hand". You don't sign by hand, you just have to select the key from the keystore and enter the password once for a Unity editor session. Your keystore is your identity and you have to keep your password(s) strictly private. So it's actually a good idea to require to re-enter the password when the project is closed and reopened.

As additional warning: Never loose your passwords for your keystore / key. If you do you can never ever update your App anymore. There's no way to recover the key if the password is lost. If that happens your only option is to re-publish the app with a new bundle identifier as new seperate app.

So make sure you:

  • don't loose your keystore file

  • don't loose the keystore or key password.

avatar image Bunny83 · Nov 28, 2016 at 06:29 PM 0
Share

Since $$anonymous$$z3D hasn't been online for two years and the question got already bumped, i'll accept this answer by community vote ^^.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can you create a unique keystore file within the Unity editor? 2 Answers

Error in building and signing APK. 1 Answer

Using the Android default debug keystone from Windows 1 Answer

Android failing to build when signed 0 Answers

Problem when building/signing .apk 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges