2

Is it possible to change the certificate for an apk?
My problem is, that I have got the certificate of a developer which leaves the company and he use it's own. I try to give the apk two certificate, like this, but i can't update the old one.

on my research I also found this

Community
  • 1
  • 1
Boe-Dev
  • 1,585
  • 2
  • 14
  • 26
  • maybe this can help, this apk is not in the Marked but our customers Update this apk by install the newest version. – Boe-Dev Apr 20 '12 at 08:22

2 Answers2

5

If you have published your application to Google Play, then, sorry, you can't change certificate for it. You can only publish it as different app now (different package name as well). Google explicitly states that as in docs so in IO presentations.

EvilDuck
  • 4,386
  • 23
  • 32
  • i've don't published it in Google Play, but for the user i just want to reinstall it by updating. – Boe-Dev Apr 20 '12 at 08:23
  • No way as well. It will just be complaining that APK signatures don't match. This is just how it works. What I would do is to try implement some transparent data transfer between old and new apps and tell users to use new one. But you know... human factor... – EvilDuck Apr 20 '12 at 08:25
  • I also got the idear with another aplication but like you say, human factor :-) but i think i have to do it this way – Boe-Dev Apr 20 '12 at 08:33
0

Apks of same application(i.e different version of app )must always be signed with the same certificate/key.Else will be treated as different app

see this and this

Community
  • 1
  • 1
Its not blank
  • 3,055
  • 22
  • 37