Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Signing

Discussion in 'Android' started by Claytonious, Sep 15, 2010.

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    900
    When we publish an .apk from Unity, is it already signed with a keypair that we can use for publishing to the market? And if so, is this keypair kept so that we can publish updates to the same product later to the market? Or should we handle all of the signing ourselves and tell Unity not to sign the apk at all?
     
  2. eriQue

    eriQue

    Unity Technologies

    Joined:
    May 25, 2010
    Posts:
    595
    Under Player Settings for Android there is a submenu called Publishing Settings.
    There you can create a keystore and a keyalias to sign your .apk during the build process. Be sure to keep the keystore you create (and of course memorize the passwords entered); it is needed when updating the application on the market.

    If no key alias is set it will default to be signed with a debug key which is not allowed when publishing to the market (the web interface for publishing will complain if this is the case). The debug-signed .apk is only good for uploading to the device during development.
     
  3. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    900
    Sounds perfect. Thanks, erique!