I get this problem when uploading a new version of my android application :
The APK must be signed with the same certificates as those of the previous version.
I have already make updates using the same private key withoutany problem; but when i update my Android SDK i get this problem.
Please any body know a solution ?
Maybe updating your SDK has changed the certificates of your application, you have to change it in your app.
Publishing Updates on Android Market
At any time after publishing an application on Android Market, you can
upload and publish an update to the same application package. When you
publish an update to an application, users who have already installed
the application may receive a notification that an update is available
for the application. They can then choose to update the application to
the latest version.
Before uploading the updated application, be sure that you have
incremented the android:versionCode and android:versionName attributes
in the element of the manifest file. Also, the package name
must be the same as the existing version and the .apk file must be
signed with the same private key. If the package name and signing
certificate do not match those of the existing version, Market will
consider it a new application, publish it as such, and will not offer
it to existing users as an update.
If you plan to publish your application on Android Market, you must
make sure that it meets the requirements listed below, which are
enforced by the Market server when you upload the application.
Source : http://developer.android.com/guide/publishing/publishing.html#marketupgrade
Check that the updated APK is actually signed with the same certificate as the current version in the market place. To do that I would suggest executing the following command on both APKs:
jarsigner -verify -verbose -certs /path/to/apk
If they are the same then perhaps it is a bug with the Android Marketplace console?
The fact of updating your sdk shouldn't have any effect to your apk uploading.
Check and be sure that you signed your application with the same private key that you generated the first time you uploaded your application in the market, and you incremented versionCode and versionName in your manifest file.
Related
I developed an android app in 2016. Then some gradle files has been deleted accidentally.
Now i want to update and upload my application on Google play. But old source code was not accepting phone to connect while debugging and even not building.
I already have release signature key
package name.
All source code without gradle part.
Can I create another fresh app in android studio with same package name and source code.
New created debug application will work on every phone I know but when I signed it with my previous release key and upload it in Google play will it be accepted or not?
As long as the package name and signing certificate are the same you can build an update for your APK however you want.
For Android apps on Google playstore, package name is considered as your app's identity. Application will be considered as new application only if you change the package name.
Changing only the Keystore will also obstruct the ability to update app on play store and only way to recover would be to create app with new package name.
In your case if you maintain same package name and use same Keystore, there shouldn't be an issue to upload a new release. Since upload on Google Play store doesn't care about the environment used to build the apk.
I have uploaded an app on Google play store. After uploading i made minor changes in the app. Is there a way to apply those changes to the play store?
Do i have to upload a new apk or create a new version of the app ?
Update your apps
Prepare your APK
When you're ready to make changes to your APK, make sure to update your app’s Version Code as well so that existing users will receive your update.
Use the following checklist to make sure your new APK is ready to update your existing users:
The Package Name of the updated APK needs to be the same as the
current version.
The Version Code needs to be greater than that current version. Learn
more about versioning your applications.
The updated APK needs to be signed with the same signature as the
current version.
To verify that your APK is using the same certification as the previous version, you can run the following command on both APKs and compare the results:
$ jarsigner -verify -verbose -certs my_application.apk
If the results are identical, you’re using the same key and are ready to continue. If the results are different, you will need to re-sign the APK with the correct key.
Learn more about signing your applications :-
Upload your APK
Once your APK is ready, here’s how you can upload the new version using your Developer Console.
Sign in to your Google Play Developer Console.
Select your app.
On the left menu, click APK .
Click the Upload new APK button.
Upload your APK.
Select a publishing option.
Delivery of updates
After you've submitted an update to an app, you’ll see “Update pending” near the top right of your app’s Developer Console pages while your app is being processed. Once the update is published, your update will start being distributed to existing users and the “Update pending” status won’t be displayed.
Once your update is available, users can download the update on your app’s Store Listing page or from their
My apps page on the Play Store app.
Also, if a user has turned on automatic updates for your app, the update will be downloaded and installed automatically.
App updates take some time to be delivered to existing users. If you've submitted an update that hasn't showed up on Google Play, please wait at least 24 hours before contacting our support team.
https://support.google.com/googleplay/android-developer/answer/113476?hl=en
You have to increase the version code and have to create new signed apk.
Steps:
Make your project ready for publish (remove logs, remove unused import statement and resources etc.)
Increase version code in manifest file. You can increase version name but its not mandatory, its depend upon the changes you are doing in the application.
Generate signed APK with your .keystore or .jks file.
Upload APK on Play Store.
Go through this link for more information.
Yes , You can update an existing app w/o changing its version name. The version name is what the user will see on Google Play (i.e. version 1.10, 2.08, etc.), and has nothing to do with the actual version number of your application (it can be anything you want).
According to this article you have to increment your app version and upload the new APK. I recommend reading this article to get an overview of all instructions to update your app.
Yes, you can do changes. After finished changes, you just need to increase version code and generate new signed bundle for your app.
Create new release in google play console and roll out it.It will be mirrored with in few hours in playstore.
I made an Android App and posted it in Android market, and now I'm made some updates on my Apps and trying to give a next version of the same app. The problem is I missed my KeyStore file I generated previously. But I'm having my old vesion APK file. Now I'm not able to upload the next version, the developer console says
The apk must be signed with the same certificates as the previous version.
as error. May I get any help to make new version for my android app now..?
There's currently no way of retrieving a lost signing key. What you can do is get a new one, pull your app from the market, and upload your update using a different package name.
Sorry, as far as i know you are not allowed to update your application now.
To update existing application on market, you must have that KeyStore file and also remember the password.
Your best bet is to unpublish the old apk and publish a new apk signed using a new keystore.
Please make sure that you have the previously used key store file with you
As per the documentation available on developer.andoird.com you must do the followings
Before uploading the updated application, be sure that you have
incremented the android:versionCode and android:versionName attributes
in the element of the manifest file. Also, the package name
must be the same as the existing version and the .apk file must be
signed with the same private key. If the package name and signing
certificate do not match those of the existing version, Google Play
will consider it a new application, publish it as such, and will not
offer it to existing users as an update.
I am trying to upgrade my android application in android market. I had updated version code and version name in manifest file.
android:versionCode="3" android:versionName="2.0"
I had used the same key for sign the application. I am getting error as 'The APK must be signed with the same certificates as the previous version'. How can i upgrade my app.
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.
So in your case, you have to have that keystore file, sign the version 3 apk with this keystore file and upload on the market.
From Android doc: Publishing Updates on Android Market
Publishing Updates on Android Market
At any time after publishing an application on Android Market, you can
upload and publish an update to the same application package. When you
publish an update to an application, users who have already installed
the application may receive a notification that an update is available
for the application. They can then choose to update the application to
the latest version.
Before uploading the updated application, be sure that you have
incremented the android:versionCode and android:versionName attributes
in the element of the manifest file. Also, the package name
must be the same as the existing version and the .apk file must be
signed with the same private key. If the package name and signing
certificate do not match those of the existing version, Market will
consider it a new application, publish it as such, and will not offer
it to existing users as an update.
You must use the same key and the same key alias.
How do I release an update for my app? I can not find an update apk option on the developer console.
You just upload a new apk file, which should have a higher version code and a higher version number than the previous apk.
As Pompe says; but also be aware:
Before uploading the updated application, be sure that you have incremented the android:versionCode and android:versionName attributes in the element of the manifest file. Also, the package name must be the same as the existing version and the .apk file must be signed with the same private key. If the package name and signing certificate do not match those of the existing version, Market will consider it a new application, publish it as such, and will not offer it to existing users as an update.
http://developer.android.com/guide/publishing/publishing.html#marketupgrade
Remember that you always have use the same key that you used to sign the first release version. If you sign a new version with a different key, you will get an error message when trying to upload it.
As said in other replies, make sure that you have increased the versionCode and versionName in the manifest.xml