user3148503
user3148503

Reputation: 33

App Certificate Issue Android

I published an app a month ago and now I need to update it, but I am also making a free version of that app. So I finished it yesterday but by mistake I signed it with the key of the paid apk. So now I am trying to sign the original apk which needs to be updated but when I try to install it says "Application cannot be installed because a application with same certificate is conflicting...".

If I upload that apk will it cause any issue?

Upvotes: 0

Views: 154

Answers (2)

Tarun - Systematix
Tarun - Systematix

Reputation: 104

You need to change package name and update version name and version code in android mainfest file after that again create new signed key , no need to use old key for sign in .

If you are using old key for sing in and upload that apk on market then you can not upload app on market because it conflict package name. So remove all the issue you need to generate new key with changes package name ,version name and version code also.

Hope this will help you.

Upvotes: 0

Akhil Jain
Akhil Jain

Reputation: 14213

Yes if you will upload that new apk, it will cause issue, the user will not be able to install it, reason being app signed with one key needs to use the same key in the future builds

See the following quote from developer.android.com

As you release updates to your application, you must continue to sign the updates with the same certificate or set of certificates, if you want users to be able to upgrade seamlessly to the new version. When the system is installing an update to an application, it compares the certificate(s) in the new version with those in the existing version. If the certificates match exactly, including both the certificate data and order, then the system allows the update. If you sign the new version without using matching certificates, you must also assign a different package name to the application — in this case, the user installs the new version as a completely new application.

Read more here at Android Developer-Signing Strategies

Upvotes: 3

Related Questions