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.
Related
I'm working on a react native project and I generated a keystore and released the signed apk to play store few days ago.
While working I mistakenly copied another keystore into the android/app directory in the project and since then could not return to the older version anymore. Checking version history of the keystore also states it was created today rather than modified today.
How can I get the keystore back when I don't have a Time Machine setup?
If you've lost your keystore, there is no way you can update that application on Google Play. If the app is significant (millions of installs), you might get help from Google Play support.
You can't. Your only option is using software that analyses your hard drive for files that were not overwritten physically yet.
Update: the play store support might be able to help you if you used the key only for uploading with Google Play App Signing
I know it is heartbreaking, but there is no way out!
You will have to unpublish the app and try again with different package name,
If you wish that doesn't happen again you should enable google play app signin, with this you can upload the same app again with a different keystore(the process requires some good work though). But if you haven't done that already there is no help.
The same thing has happened to me, luckily my app was in alpha at that time so there were no inconveniences to my users.
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 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.
I'm burning my eyelash with this issue.
As everybody know (and I learned it for sure) Android doesn't allow to recover the keystore. So the only option that we have is to generate a new one, as Scoober answer here.
So far so good, but the problem is that we can't replace the actual app inside the play store, for the new one, because this doesn't have the keystore as we know.
So the question is: is it possible to unpublish/remove the app from play store, and upload the new one with the same name and package?
In other words: is it posible, after all the necessary steps, put the app with the same name or package or both?
I know that 3 year ago, it wasn't possible, but now? google and the developers console changed a lot. so maybe it's.
Hope anyone helps.
Thanks in advance.
From this answer:
You can create a new keystore, but the Android Market wont allow you
to upload the apk as an update - worse still, if you try uploading the
apk as a new app it will not allow it either as it knows there is a
'different' version of the same apk already in the market even if you
delete your previous version from the market
Do your absolute best to find that keystore!!
When you find it, email it to yourself so you have a copy on your
gmail that you can go and get in the case you loose it from your hard
drive!
No you will not be able to upload an app to the Play store with the same package, and signed by a different keystore.
You CAN use the same name, for sure not same package.
Same package must always be signed with the same keystore.