我正在尝试更新应用商店中的react native应用,但出现错误。
Upload failed
You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint:
[ SHA1: EC:FB:46:37:C6:31:90:55:65:F6:46:E4:61:8E:EA:5A:88:0D:72:02 ]
and the certificate used to sign the APK you uploaded have fingerprint:
[ SHA1: 5A:4B:97:7A:BA:FD:B5:E5:C0:A5:4A:16:BF:78:E3:9E:EB:2F:8D:CC ]
答案 0 :(得分:0)
此错误是因为您使用了错误的密钥库。
我认为在您的情况下,您使用1st Keystore进行了第一次签名apk,并尝试将其上传到商店中。
第二次,当您签名apk时,您使用的是先前使用的另一个密钥存储区(新密钥库)。
这是导致此错误的原因。
要解决此问题,您必须在生成符号apk时使用第一次使用的键控。