I have an Android project published on google play, signed with my previous installation of Windows and Android studio.
Due to formatting the PC (the computer is the same), I lost the .jks file to sign the application.
If I have the key store password with which to sign this app.
Can I re-sign the app with the same keys as before?
Can anyone tell me how to fix this?
I would like to update the app, instead of having to issue a new
one.
UPDATE:
I have copy to keys ssh
I was trying to restore it via deleted files restoring tools, but it failed. So, there is no other way: you should issue another application.
Generally, the only advise that exists on keystores: "always back it up!"
The only way is that you can create an app with a new package name upload it to store and remove the old app.
Related
I lost my android apk certificate. I formatted my mac mini and upgraded to a new MacBook Pro. Now I don't have access to the old mac. So there is no chance of retrieving the old keystore. And I am not enrolled in Google Play App Signing yet. If I enroll now, will I be able to update my app?
This is the error I get when I try update my app on play store :
You uploaded an APK that is signed with a different certificate to
your previous APKs. You must use the same certificate.
I know this is a duplicate question but I am asking it again because all the other questions are 3,4 years old. And I read somewhere that it is possible after May 2017 but I don't know how.
This is the comment I saw on quora (The link to the blog is broken):
https://www.quora.com/How-do-I-make-a-new-Certificate-Keystore-key-after-losing-the-key-of-my-Android-app
No need to Remove Your app from play Store You can Update Your app.
it’s Possible now, After May 2017 you can Update your app if you lost
your keystore or keystore password. Don’t lose Hope you can update
your app using new Keystore file please refer this blog http://geekcodehub.com/blog/
Code Hub here i wrote how to update apk if you lost your keystore
follow the step and create new keystore , I updated my app using this
step. you need to enable google play app signing on play store console
Is there any chance to update my current app? Without creating new app on playstore.
AFAIK it's not possible.
If you lose your keystore or think it may be compromised, Google Play
App Signing makes it possible to request a reset to your upload key.
If you're not enrolled in Google Play App Signing and lose your
keystore, you'll need to publish a new app with a new package name.
Source
Finally, I managed to retrieve the key. Here is How :
1- Download Disk Drill (Trial Version)
2- Download Hex Editor
Disk Drill shows all the files but you cannot recover without upgrading to Pro version, But don't worry there is a work around :)
Select the partition you want to recover. It will start getting a list of files which can be recovered. In the search bar write ".jks"
From the list select the .jks file which is around 2 kb. Ignore the other files. All jks file names will be like file000001.jks, file000002.jks...
In trial version you cannot recover it directly but you can view it. So, open the file you selected. Copy the Hex Code from it.
Open Hex editor, Paste the code in a new file. Save it with extension .jks
Run IDE (Visual Studio or any), Import the jks file and you are good to go.
In visual studio you can import .jks after archiving the android project. Select Ad Hoc and at the bottom there is an option to import an existing key.
I erased my drive completely from disk utilities and installed a new OS. But still I was able to recover the key. Never loose hope :)
The problem is the following:
I have been developing my game on my laptop until now without a keystore set in Unity editor but I was able to upload my apk file to the Play Store. Now I bought another computer and wanted to upload an update but it gets rejected because it is signed differently.
I tried copying my debug.keystore file from my old computer to my new one, but it also gets rejected because it's for debug.
So my question is: Does Unity or Google Dev Console use a default keystore which the Developer Console accepts? And if so, then where can I find it? Would it be better to publish my application again with a new keystore created by me? (It's only in closed beta, so it's not that big of a deal, but I want to know why this is happening.)
There's no way to recover your key.
I once faced a similar situation, since then,
I've made several copies of my key. Once again,
there is no way to recover this.
You need to create new a keystore and make a backup to prevent any issues in the future
I have attempted to install an apk to my phone with an app that I already have installed. I have changed the version number however the issue is clearly down to the original signature of the app.
The app itself was originally developed by another company so I do not have the original signature for this? Do I need the original keystore file to allow for this?
Also it is unlikely the external company will still have the original keystore file - if this is the case & I cannot use the original key what is the next step from this?
Obviously i'd like users of the app to be able to 'upgrade' the app through Google Play without directly uninstalling the app manually themselves first.
Can anyone provide a solution ideally without the original keystore file?
You can't upgrade with new keystore as #orip said.
You could ask your developer to send you keystore file. Otherwise you will have to change package name, sign with a new keystore and upload as a new application.
You need the original keystore. As far as I know, without it you can't upgrade or upload a new version to the Play store, you'll always have to uninstall and reinstall.
Recently my computer crashed and I was only able to recover the keystore and apk of one of my Android apps (already published). Would it be possible to make an update to this app by creating a new project (the original one was lost) and using the original keystore? If so, how? Otherwise, how would I be able to update the app without the original project?
1.Create new project with same package name
2.Write your code from scratch
3.Update correct version code
4.Generate Release APK with your key store and remember to write its password when asked.
5.You are good to update on play store.
As long as application Id and certificate used to sing release APK matches already released binary, you can publish whatever you want.
BTW: Keystore is container for your keys. So if you just recovered keystore it does not automatically mean you recovered your keys (as you might have forgot key password).
when i am publishing my application to android market i am getting this error:Market does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years.
i don't know how to solve it.
can any one help me?
Thanks in Advance
Aamirkhan I.
You have to create your own certificate to release your app in the Market. If you're using eclipse follow this.
Right-click on your project > Android Tools > Export Signed Application Package...
If your project is chosen, press next.
Select: Create new keystore, set the path and password, press next
Fill the form, (Validity = 1000), next
Save the APK somewhere and press finish
Important
Save the keystore where you always find it and make a backup somewhere. You need this keystore to update your app. If you lose it you won't be able to update your app anymore. Not even Google can help you, if you lose it. So make a backup on your hard drive, online, external hard drive, ... This is a very important file.
But please use this site before you post something here.
Check the link posted by Warpzit. The debug key store is used only for running application on the emulator. Please sign the application in the release mode for uploading it to the android market.