更改SHA1证书

时间:2018-07-07 04:41:55

标签: android android-studio android-gradle android-webview android-service

我已经用一个名为appsgeyser的onlime网站构建了我的第一个应用程序。该应用程序基于webview。但是现在我了解到android studio amd想要通过更多的自定义来再次构建。 上传时,我说它的SHA1证书与当前上传的应用程序和以前上传的应用程序不同,因此我使用相同的软件包创建了一个新应用程序。

我应如何编辑或更改SHA1证书。我需要编辑此应用程序,因为该应用程序为我赚了很多钱,但用户不满意。

1 个答案:

答案 0 :(得分:0)

考虑到Upload语句,您在问题中提到了什么,我将其总结如下:

在Google Play商店上载更新时要记住的事情

1. Make sure that package name of your app and existing app on the playstore should exactly be same.
2. Don't forget to increment android:versionName and android:versionCode because these are the ones using which Google Play store analyses that this apk is an update to an existing one.
3. Most important is your APK file should be signed with the same private key which you used to sign the existing one on Google play store.

注意:如果软件包名称和签名证书与Play商店中的现有软件包不匹配,则将不允许您对该APK进行升级,因为它将被视为新应用,而不是更新。< / strong>

这就是为什么您看到 SHA1证书不同于当前上载而不是先前上载的应用错误的原因。

希望这会有所帮助。