Amarnath
Amarnath

Reputation: 1111

Android private key issues.

i developed a app in android and released a first version. but now i lost my previous (private key)debug.keystore . Now im going to release a second version with a different private key. but this second version didn't install in phone. how can i resolve this problem? thanks in advance.

Upvotes: 1

Views: 190

Answers (2)

Raghav Sood
Raghav Sood

Reputation: 82553

You will have to uninstall the old version and then install the new one, as Android doesn't allow updates to be installed if they have a different signature.

Additionally, all of your users will have to do the same, and App stores like Google Play won't allow you to use an update signed with a different key. You will have to publish your app again under a different package name.

Upvotes: 6

Chintan Rathod
Chintan Rathod

Reputation: 26034

Just change your Package Name and change that in androidManifest file also and Upload with new KeyStore. No other way. Because google won't allow you to upload another application having same Package name.

Upvotes: 1

Related Questions