【发布时间】:2015-10-16 14:15:58
【问题描述】:
我在 Eclipse 中构建了一个 android 应用程序。发布后我已经存储了密钥库和密钥别名。 现在我已经在 Android Studio 中导入了它,更新了源代码。我想在 Play 商店上发布更新,但不幸的是它不接受。消息是:
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: 01:C0:25:50:B5:86:5A:6F:E0:7D:67:4F:84:12:47:5F:3F:33:A2:51 ]
and the certificate(s) used to sign the APK you uploaded have fingerprint(s):
[ SHA1: CD:DE:F8:94:2C:EF:D7:DE:59:62:8E:63:B3:38:D5:32:1B:FF:37:A9 ]
我需要在我的应用模块中添加以下代码吗?
defaultConfig { ... }
signingConfigs {
release {
storeFile file("myreleasekey.keystore")
storePassword "password"
keyAlias "MyReleaseKey"
keyPassword "password"
}
}
非常感谢任何帮助。谢谢
【问题讨论】:
-
在您的应用程序中输入密码 .. 有问题
-
no.. 我很清楚密码.. 我需要在 appmodule 中添加那段代码吗?
-
开发者密钥使用和以前一样吗?
标签: android eclipse android-studio publish