简体   繁体   English

使用我的签名登录并上传apk

[英]Sign and upload apk with my signature

I am facing an issue with my project. 我正面临着我的项目问题。 I have developed an app by developer and uploaded signed apk signed by developer's signature. 我开发了一个由开发人员开发的应用程序,并上传了由开发者签名签名的签名apk。 Now I have updated some code myself and want to upload it on playstore with my own signature. 现在我自己更新了一些代码,并想用我自己的签名上传到Playstore。 Can I do this or not if yes then how? 如果是,那我可以这样做吗? Thank you. 谢谢。

With the details you have given sorry you cannot! 有你给对不起的细节,你不能! You may ask the related details and keystore file from your developer use the same details along with the file and publish a new version,but with your own signature you cannot do that since app is already in the play store! 您可能会询问开发人员的相关详细信息和密钥库文件是否与文件一起使用相同的详细信息并发布新版本,但由于应用已经在Play商店中,因此您无法使用自己的签名!

A Word about keystores: 关于密钥库的一句话:

During the .apk building process your application is signed with a digital private key which is associated with your account. 在.apk构建过程中,您的应用程序使用与您的帐户关联的数字私钥进行签名。 Whenever you build a new version this same key is used to sign the new version. 无论何时构建新版本,都会使用相同的密钥对新版本进行签名。 When an android phone has an application installed on it, it remembers the key that was used to sign it. 当Android手机上安装了应用程序时,它会记住用于对其进行签名的密钥。 In order to install an updated version of an application, the new application must be signed by the same key. 为了安装应用程序的更新版本,新应用程序必须使用相同的密钥进行签名。 It is therefore important that you not lose this key! 因此,重要的是你不要丢失这把钥匙!

If your keyfile Is lost or deleted it cannot be RECOVERED. 如果您的密钥文件丢失或删除,则无法恢复。

If you've lost your keystore you'll have to publish the app with a new package name and a new key. 如果您丢失了密钥库,则必须使用新的软件包名称和新密钥发布应用程序。 You should also update the description of the original app and unpublish it. 您还应该更新原始应用程序的说明并取消发布。 Please note that users are allowed unlimited reinstalls of each application distributed via Google Play, an application will remain available to users that have already installed it even after it has been unpublished. 请注意,允许用户无限制地重新安装通过Google Play分发的每个应用程序,即使已取消发布,用户也可以使用该应用程序。 Currently Google Play do not support the deletion of apps or the re-use of package names. 目前Google Play不支持删除应用或重新使用软件包名称。

You can create new keystore file to upload same apk no matter same machine or different machine. 无论相同的机器还是不同的机器,您都可以创建新的密钥库文件来上传相同的apk。 It required unique keystore file otherwise it update old apk that installed. 它需要唯一的密钥库文件,否则它会更新安装的旧apk。

你必须创建新的密钥库,你必须更改你的应用程序包名称,你必须像新的应用程序一样上传

if you signed it with a different keystore, it will be a new application. 如果您使用其他密钥库对其进行签名,则它将是一个新的应用程序。 So you should tell your users that they have to download the new version of the app. 所以你应该告诉你的用户他们必须下载新版本的应用程序。

If you have some luck you can recover your keystore password by this . 如果您有运气,可以通过方式恢复密钥库密码。 I do not guarantee that. 我不保证。 (if you have lost only your password). (如果您只丢失了密码)。

Reply from google team for same apk with different keystore 谷歌团队对不同密钥库的同一个apk的回复

Thank you for your note. 谢谢你的留言。 If you've lost your keystore you'll have to publish the app with a new package name and a new key. 如果您丢失了密钥库,则必须使用新的软件包名称和新密钥发布应用程序。 You should also update the description of the original app and unpublish it. 您还应该更新原始应用程序的说明并取消发布。 Please note that users are allowed unlimited reinstalls of each application distributed via Google Play, an application will remain available to users that have already installed it even after it has been unpublished. 请注意,允许用户无限制地重新安装通过Google Play分发的每个应用程序,即使已取消发布,用户也可以使用该应用程序。 Currently we do not support the deletion of apps or the re-use of package names. 目前,我们不支持删除应用程序或重复使用程序包名称。 Unfortunately, there is nothing else we can do to assist you further with this matter. 不幸的是,我们无能为力帮助您进一步解决这个问题。

What is a keystore? 什么是密钥库?

A Java KeyStore (JKS) is a repository of security certificates – either authorization certificates or public key certificates – plus corresponding private keys, used for instance in SSL encryption. Java KeyStore(JKS)是安全证书的存储库 - 授权证书或公钥证书 - 以及相应的私钥,例如在SSL加密中使用。 In IBM WebSphere Application Server and Oracle WebLogic Server, a file with extension jks serves as keystore. 在IBM WebSphere Application Server和Oracle WebLogic Server中,扩展名为jks的文件用作密钥库。


If you lost your keystore then there is no way that you can update the app in play sore( it will cause a signature error )! 如果您丢失了密钥库,则无法在播放中更新应用程序(这将导致签名错误)! The only way is that you can create an app with a new package name upload it to store and remove the old app. 唯一的方法是您可以创建一个带有新包名称的应用程序,将其上传以存储并删除旧应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM