Upload fail with APK with 2 certificates entries that are valid


I am trying to update my app in Google Developer, but receive the error:

>Upload failed > >You uploaded an APK that is signed with a different certificate to your >previous APKs. You must use the same certificate. Your existing APKs are >signed with the certificate(s) with fingerprint(s): > >[ SHA1: AF:AF:68:1E:2B:5C:99:23:4D:B9:87:F6:D6:2F:9D:5A:9A:BE:34:EC ] > >and the certificate(s) used to sign the APK you uploaded have >fingerprint(s): > >[ SHA1:2A:84:1D:BC:91:68:55:B1:F3:90:47:FB:3B:56:29:21:F2:38:4A:37 ]

However, using keytool, the keystore file contains 2 entries, both of these certificates.

How do I get Developer to except the valid entry in keystore?


I discovered the solution. I had two entries because I misspelled my alias at sometime and it produced a new entry in the keystore file.

I used the keytool utility to list the contents of the keystore and to delete the wrong alias.

keytool -list -v -keystore -- to list contents keytool -delete -alias "" -keystore


  • I accidentally deleted my android keystore, how do I get it back?
  • Android get install location with packagename
  • Rails: How does MD5 checksum work in paperclip?
  • Apk Upload failed:Your Instant App APKs do not declare a valid 'android:targetSandboxVersion�
  • HAML .each function for variables
  • ITextsharp to edit existing pdf
  • Security Group and Subnet Belongs to different networks
  • Range value not shown in locals window in Excel VBA
  • Appium + Android + WebDriver findElement() : cannot find element after sendKeys()?
  • Terraform fails to import key pair with Amazon EC2
  • App Fog Rails Migrate Database
  • Eclipse Juno/Android broken, the debug is wrong and gen folder not created (R error)
  • How to find three largest and three smallest decmicals using Math.Max, Math.Min
  • Can sklearn DecisionTreeClassifier truly work with categorical data?
  • Accessing Flurry User ID
  • Creating custom voice commands (GNU/Linux)
  • Get key hash for release
  • ASP.NET MVC 2 - Problem with Request encoding
  • Limiting unserialize() to return arrays?
  • Unable to get a dynamically generated content from a webpage
  • Change in behaviour & generation of nullreference exception
  • Python - tlsv1 alert protocol version error in Docker client connection
  • Static url to asset
  • cURL for Windows can't make a secure connection to the Stack API
  • function for writing out a base 7 word, like binary counter style
  • SSLRead() return error -9806/15958)
  • OAuth and the YouTube API
  • Simple Distributed Erlang
  • sudo easy_install for SimpleITK not that easy
  • GeoTrust SSL certificate on Android not trusted
  • apply a javascript function to draggable copy
  • Android changing fragment order inside FragmentPagerAdapter
  • Create DicomImage from scratch using Dcmtk
  • Groovy: Unexpected token “:”
  • How to define custom class, title, and target in Link Browser for content elements and the new rte_c
  • Ionic 2 storage is not cleaning up on uninstall - Only for signed APK
  • preg_replace Double Spaces to tab (\\t) at the beginning of a line
  • Updated Ionic CLI but shows previous version (Windows)
  • Conditional In-Line CSS for IE and Others?