Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 android 中开发了一个应用程序并发布了第一个版本。但现在我丢失了我以前的(私钥)debug.keystore。现在我要发布带有不同私钥的第二个版本。但是第二个版本没有安装在手机中。我该如何解决这个问题?提前致谢。
您必须卸载旧版本,然后安装新版本,因为如果更新具有不同的签名,Android 不允许安装更新。
此外,您的所有用户都必须这样做,并且 Google Play 等应用商店不允许您使用使用不同密钥签名的更新。您将不得不以不同的包名称再次发布您的应用程序。
只需更改您的Package Name并更改androidManifest文件中的内容并使用 new 上传KeyStore。别无退路。因为谷歌不允许你上传另一个具有相同Package name.
Package Name
androidManifest
KeyStore
Package name