I used cordova to build version 1 of my app. Now i rework the app in order to add some back-end using android. Using android studio IDE. I use the same package name, increment version number and exact key to update my app.But i get the following error.Is the IDE makes a difference ? What is the problem ?
4 Answers
Generate new SHA key as this problem arise when debug.keystore file is deleted in any build process. You can generate key using: SHA-1 fingerprint of keystore certificate
Update SHA key against your app API key package.

- 1
- 1

- 524
- 7
- 19
-
After generating doesn't google play consider it as new app ? – BenjaBoy Oct 06 '16 at 08:22
-
No,it just mark as a new identification of your machine.You can delete debug.keystore any time to get new SHA key for the system. – taranjeetsapra Oct 07 '16 at 07:37
Probably you are using debug certificate to build apk. Check profile you are using to make apk.

- 4,690
- 4
- 34
- 65
You are not using the same debug.keystore file and credentials as the first time you uploaded the APK.
Find it, or you are going to need to change the package name and re-upload, re-create all the necessary things in Google Play Console.
Here you have an SO link that explains the same problem. Link to SO answer.
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 and the .apk 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 and will not offer it to users as an update.
I just removed the file extension from the keystore file and i tried to build release version. It works flawlessly. Originally it was example.keystore I removed .keystore extension.

- 454
- 3
- 16