问题
I have created an application and published on android market. now i want to publish its 2nd version. the few thing i want to make clear:
- I have kept same package name.
- I do not have previous keystore cause i changed the windows so keystore deleted and i do not have backup of that keystore.
Now what i should is there any way to retrieve keystore from previous apk.
i know there is so many answers on stackoverflow some are saying possible and some are saying impossible.
please need exact solution.
回答1:
Yes, You have to have the same keystore file which you have used to upload the 1st version of application on android market.
If you have lost this keystore file then you can't provide update to this application.
Just read this Publishing App on Market. The same problem i've also faced. So, i just change the package name and upload it into market with new keystore. So, keep the Keysotre file safely. See these existing questions which is related to your queries -
Android: I lost my android key store, what should I do?
I lost my .keystore file?
回答2:
it's imposible bcs when we are creating key store that is for publishing our application to android market to the most first time.now say if u need to update it latter on u need to create updation on existing key store.in ur case u need to make another newly key store and make it sign again and put that signed apk & key store for future reference..that's only the posiblity
来源:https://stackoverflow.com/questions/12084566/the-apk-must-be-signed-with-the-same-certificates-as-the-previous-version-while