Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
getting this error The apk must be signed with the same certificates as the previous version.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  20 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lakshman  
View profile  
 More options Nov 14 2011, 1:45 am
From: lakshman <laksh...@hyperwebenable.com>
Date: Sun, 13 Nov 2011 22:45:23 -0800 (PST)
Local: Mon, Nov 14 2011 1:45 am
Subject: getting this error The apk must be signed with the same certificates as the previous version.
HI,
getting this error  The apk must be signed with the same certificates
as the previous version.
Please follow the steps
1. Made code changes to android app and changed the version from 1 to
2
2.  Generated the signed application .apk  from eclipse editor.
3. Tried to upload the apk file in the  app store.
4. we have not used any certificate for the generating app in any
version.
5. Can u tell me why is this error coming?.
and how to fix this problem.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
GMLチェックツール  
View profile  
 More options Nov 14 2011, 2:07 am
From: GMLチェックツール <gml.check.t...@gmail.com>
Date: Mon, 14 Nov 2011 16:07:53 +0900
Local: Mon, Nov 14 2011 2:07 am
Subject: Re: [android-developers] getting this error The apk must be signed with the same certificates as the previous version.
You must use same private release key (keystore) for signing.
Just follow the instructions on this link.
http://developer.android.com/guide/publishing/publishing.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lakshman  
View profile   Translate to Translated (View Original)
 More options Nov 14 2011, 2:16 am
From: lakshman <laksh...@hyperwebenable.com>
Date: Sun, 13 Nov 2011 23:16:00 -0800 (PST)
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.
HI,
we are using the same keystore for the android app update but still
getting this error.
can some one help us.
regards
lakshman

On Nov 14, 12:07 pm, GMLチェックツール <gml.check.t...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lakshman  
View profile   Translate to Translated (View Original)
 More options Nov 15 2011, 12:40 am
From: lakshman <laksh...@hyperwebenable.com>
Date: Mon, 14 Nov 2011 21:40:02 -0800 (PST)
Local: Tues, Nov 15 2011 12:40 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.
HI ,
can any one help on this?.
regards
lakshman

On Nov 14, 12:16 pm, lakshman <laksh...@hyperwebenable.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolay Elenkov  
View profile  
 More options Nov 15 2011, 2:15 am
From: Nikolay Elenkov <nikolay.elen...@gmail.com>
Date: Tue, 15 Nov 2011 16:15:08 +0900
Local: Tues, Nov 15 2011 2:15 am
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

On Tue, Nov 15, 2011 at 2:40 PM, lakshman <laksh...@hyperwebenable.com> wrote:
> HI ,
> can any one help on this?.

Not until you provide more information. What changed?
Different machine? OS? Java version? Something else?

You can use jarsigner to check if the old and new apk's
are signed with the same certificate:

jarsigner -verify -verbose -certs my.apk

If it looks like they are, you'll need to take a look at the
actual signature value.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariux  
View profile  
 More options Nov 27 2011, 9:38 am
From: Mariux <mariu...@gmail.com>
Date: Sun, 27 Nov 2011 06:38:32 -0800 (PST)
Local: Sun, Nov 27 2011 9:38 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.
I have the same exact issue. I have an app I updated last time on Oct
2 2011, signed only with my keystore.

Today I tried to upgrade but I'm receiving the same message as above.

The only thing that changed was the debug keystore, which expired Oct
11 and was recreated by Eclipse.

THIS IS IMPORTANT! WE CAN'T UPGRADE OUR APPS!!!!!!!

On Nov 15, 8:15 am, Nikolay Elenkov <nikolay.elen...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariux  
View profile  
 More options Nov 27 2011, 10:13 am
From: Mariux <mariu...@gmail.com>
Date: Sun, 27 Nov 2011 07:13:16 -0800 (PST)
Local: Sun, Nov 27 2011 10:13 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.

A workaround I've find out:

1) Export your app *unsigned*
2) Sign with your keystore using jarsigner (in your JRE directory)
3) Zipalign the apk

Then you'll be able to upgrade the app. Still, you have to do this every
time you want to upgrade the app, since exporting it from Eclipse generates
the same issue again.

It's all related to debug.keystore, in my opinion. Somehow the app is not
signed correctly.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolay Elenkov  
View profile  
 More options Nov 27 2011, 10:30 am
From: Nikolay Elenkov <nikolay.elen...@gmail.com>
Date: Mon, 28 Nov 2011 00:30:08 +0900
Local: Sun, Nov 27 2011 10:30 am
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

On Mon, Nov 28, 2011 at 12:13 AM, Mariux <mariu...@gmail.com> wrote:
> It's all related to debug.keystore, in my opinion. Somehow the app is not
> signed correctly.

Did you install Java 7? The jarsigner digest algorithm is different and
produces a different signature.

The debug keystore is totally unrelated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariux  
View profile  
 More options Nov 27 2011, 12:27 pm
From: Mariux <mariu...@gmail.com>
Date: Sun, 27 Nov 2011 09:27:21 -0800 (PST)
Local: Sun, Nov 27 2011 12:27 pm
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

Actually I'm on Java 6.. is Java 7 required for the latest ADT?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariux  
View profile  
 More options Nov 27 2011, 6:23 pm
From: Mariux <mariu...@gmail.com>
Date: Sun, 27 Nov 2011 15:23:53 -0800 (PST)
Local: Sun, Nov 27 2011 6:23 pm
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.

I installed and configured Java 7 and the issue is unchanged.. How can I be
sure it uses the correct Jarsigner? The jre configured in eclipse is jre7
but it compiles with Compiler 1.6 because Android can't be compiled in 1.7..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolay Elenkov  
View profile  
 More options Nov 27 2011, 9:40 pm
From: Nikolay Elenkov <nikolay.elen...@gmail.com>
Date: Mon, 28 Nov 2011 11:40:24 +0900
Local: Sun, Nov 27 2011 9:40 pm
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

On Mon, Nov 28, 2011 at 8:23 AM, Mariux <mariu...@gmail.com> wrote:
> I installed and configured Java 7 and the issue is unchanged.. How can I be
> sure it uses the correct Jarsigner? The jre configured in eclipse is jre7
> but it compiles with Compiler 1.6 because Android can't be compiled in 1.7..

You don't have to install Java 7, but if you did you might get the
'signature different'
issue. The correct jarsigner is the one from Java 6.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariux  
View profile  
 More options Nov 28 2011, 4:29 am
From: Mariux <mariu...@gmail.com>
Date: Mon, 28 Nov 2011 01:29:13 -0800 (PST)
Local: Mon, Nov 28 2011 4:29 am
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

Actually I installed java 7 but the error was showing up with Java 6, so at
this point I think is Java-independent..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas  
View profile  
 More options Nov 28 2011, 5:58 am
From: Thomas <tbirchm...@usa.net>
Date: Mon, 28 Nov 2011 02:58:24 -0800 (PST)
Local: Mon, Nov 28 2011 5:58 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.
Hello All,

For what it's worth, I had a similar problem and it turned out I had
upgraded Firefox.  Someone mentioned I should use IE8 (I use winxp)
and IE8 allowed the app to be updated thus correcting the problem.
The next time I have to update/add an app to Android Market, I'll try
Firefox just to see if it will work.

Best,
Tom B

On Nov 14, 1:45 am, lakshman <laksh...@hyperwebenable.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariux  
View profile  
 More options Nov 28 2011, 7:05 am
From: Mariux <mariu...@gmail.com>
Date: Mon, 28 Nov 2011 04:05:56 -0800 (PST)
Local: Mon, Nov 28 2011 7:05 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.

Tried with Chrome, Firefox and IE. Same issue for all of them.

In fact, this can't be a browser-related issue. If I manually sign the apk
using jarsigner and then zipalign it, I'm able to upgrade the app. So
probably it's something related to ADT mis-signing the apks!!

I opened a bug here:
http://code.google.com/p/android/issues/detail?id=22278&colspec=ID%20...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gjs  
View profile  
 More options Nov 28 2011, 7:18 am
From: gjs <garyjamessi...@gmail.com>
Date: Mon, 28 Nov 2011 04:18:03 -0800 (PST)
Local: Mon, Nov 28 2011 7:18 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.
Hi,
You *must* use Java 1.6 to sign, java 1.7 does not work jarsigner
default algorithm has changed, as somebody already explained.
Regards

On Nov 28, 11:05 pm, Mariux <mariu...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariux  
View profile  
 More options Nov 28 2011, 7:47 am
From: Mariux <mariu...@gmail.com>
Date: Mon, 28 Nov 2011 04:47:01 -0800 (PST)
Local: Mon, Nov 28 2011 7:47 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.

Issue seems fixed, I cleaned Eclipse with -clean, overwrote the keystore with a previous version and now the exported apk can upgrade in Developer Console!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mukesh Srivastav  
View profile  
 More options Nov 28 2011, 7:50 am
From: Mukesh Srivastav <mukicha...@gmail.com>
Date: Mon, 28 Nov 2011 18:20:04 +0530
Local: Mon, Nov 28 2011 7:50 am
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

Hi Mariux,

I would suggest take the back up of the Android keystore that helps.  Last
time, when i was uploading it, accidental i deleted the keystores file, i
had to change the package name again and generated the New keystore, It was
a bad experience i had it.

Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

On Mon, Nov 28, 2011 at 6:17 PM, Mariux <mariu...@gmail.com> wrote:
> Issue seems fixed, I cleaned Eclipse with -clean, overwrote the keystore with a previous version and now the exported apk can upgrade in Developer Console!

>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cyrille Paulhiac  
View profile  
 More options Oct 3 2012, 4:31 am
From: Cyrille Paulhiac <cyr.paulh...@gmail.com>
Date: Wed, 3 Oct 2012 01:31:23 -0700 (PDT)
Local: Wed, Oct 3 2012 4:31 am
Subject: Re: getting this error The apk must be signed with the same certificates as the previous version.

I made exactly the same mistake !
Customers that buy my newly released game have an "Package file was not
signed correctly" error.
I find that I signed my key with JAVA 1.7 keytool, that used as algorithm
"SHA256withRSA"
I was thinking this - default - algorithm is not supported by Android
Publishing, and provoke this error.

So I rolled-back to JAVA 1.6, delete my key from my current keystore, and
re-create one (same name) with "SHA1withDSA"

I thought that will solve my signature problem, but when uploading it in
Google Play I encounter the message:
"The apk must be signed with the same certificates as the previous version."

I'm really disapointed, the purpose of the new update was specifically to
change my current certificate !
What can I do to release my application ?

PS: maybe someone know a command to change the algorithm with keytool
without deleting/creating perhaps ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolay Elenkov  
View profile  
 More options Oct 3 2012, 9:24 pm
From: Nikolay Elenkov <nikolay.elen...@gmail.com>
Date: Thu, 4 Oct 2012 10:21:36 +0900
Local: Wed, Oct 3 2012 9:21 pm
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

On Wed, Oct 3, 2012 at 5:31 PM, Cyrille Paulhiac <cyr.paulh...@gmail.com> wrote:

> So I rolled-back to JAVA 1.6, delete my key from my current keystore, and
> re-create one (same name) with "SHA1withDSA"

> I thought that will solve my signature problem, but when uploading it in
> Google Play I encounter the message:

> "The apk must be signed with the same certificates as the previous version."

> I'm really disapointed, the purpose of the new update was specifically to
> change my current certificate !
> What can I do to release my application ?

I hope you have a backup of the original keystore. To change the signature
you only need to change the parameters you pass to jarsigner, not the
actual key. You are required to use the same key if you want to update
the application on the Google Play store.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cyrille Paulhiac  
View profile  
 More options Oct 4 2012, 5:17 pm
From: Cyrille Paulhiac <cyr.paulh...@gmail.com>
Date: Thu, 4 Oct 2012 14:17:12 -0700 (PDT)
Local: Thurs, Oct 4 2012 5:17 pm
Subject: Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

Unfortunately not, because I was compiling my apk with Unity, and used an
internal manager of keystore (and not knowing anything about jarsigner).
So I unpublish my game and re-publish a new one, with a totaly new keystore
and key. It works.
I created a thread on Unity forums to alert them of JDK1.7 issue.
Thanks again.

I hope you have a backup of the original keystore. To change the signature


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »