Android Tutorial Signing your application before uploading to Google Play

Discussion in 'Tutorials & Examples' started by Erel, Dec 5, 2010.

Thread Status:
Not open for further replies.
  1. Emerito

    Emerito Member Licensed User

    Thank you, Erel
    That topic is solved with your help, but I find that Google asks a lot of things to publish the app. I will try to solve them.
  2. KMatle

    KMatle Expert Licensed User

    Here's a summary:

    - the private key stands more for the creator (you) of the app. So it is created once for all of your future apps.
    - so you can only update using the same key and a different (higher) version (so loosing the key = no updates anymore = new app)
    - if you create several apps, you will use the same private key for all apps
    - each app must have a unique package name as it competes with all other apps
    - example: us.petersmith.app1, us.petersmith.app2, us.petersmith.app3 (all with the same private key to identify you as the creator)

    When I start a new app, I change the package name at once to a unique one (de.xxxxx.mynewapp). The folder where I save the code and the sourcecode has the same name. Very easy. No confusion.

    Important: Save the private sign key twice! If it get's lost, you are in trouble (at least you can't update a previous version. It is handled as a new version).
    jimmyF and f0raster0 like this.
  3. Emerito

    Emerito Member Licensed User

    Thanks i take note
  4. ivan.tellez

    ivan.tellez Active Member Licensed User

    Well, starting this year, I had to upload a new App, Created, compliled, uploaded, no problem.
    Two monts ago, I updated an old app, Google play console said it has the wrong signature, go to tools, private sign key, and discover It was configured the debug key.
    Today had to update this year's app and again had the same error on Google play console, go to tools, private sign key, and wass correct.

    Yeap, an B4A update broken the key config at the beginning of the year and I uploaded an App signed with the Debug key. Had to use debug key to update the app today.

    So, Is there a way to change the key without deleting the app from google play?
  5. DonManfred

    DonManfred Expert Licensed User

    As far as i know, no.
  6. mlc

    mlc Active Member Licensed User


    Until now, I uploaded my apps to my usual google account.

    But I have created a company with a friend, to make an app, I will upload it to the google account of the company. Should I create a new private sign key for this app?

  7. Erel

    Erel Administrator Staff Member Licensed User

    It is always better to start a new thread for your question.

    I think that you should create a new key for your company. The most important thing is to backup it.
    mlc likes this.
  8. Marcelo Quintanilha

    Marcelo Quintanilha Member Licensed User

    Caro Erel, segui como descrito mais continua dando erro ...
    [ATTACH = cheio] 64953 [/ ATTACH]

    Attached Files:

  9. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread for this in the questions forum or Spanish forum.
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice