简体   繁体   English

更新Google Play中的android应用

[英]Update android app in Google play

Can we upload new Hybrid build with using the existing native app private key in the Google play?. 我们可以使用Google Play中现有的本机应用专用密钥上传新的Hybrid版本吗?

The new hybrid build will be available for users as a update of their existing native app or users have to download it as a new app. 新的混合版本将作为用户对其现有本机应用程序的更新提供,或者用户必须将其下载为新应用程序。

If we will upload the new build using the different package name, then will we able to upload the build as update for existing build or it will be treated as a new app. 如果我们将使用其他程序包名称上传新版本,那么我们将能够将该版本作为现有版本的更新进行上传,或者将其视为新应用。

If we downgrade the app from hybrid to native app then will we able to upload the new native app build as update of existing app or it will be treated as a separate build. 如果我们将应用程序从混合应用程序降级为本机应用程序,那么我们将能够上载新的本机应用程序版本作为现有应用程序的更新,或者将其视为单独的版本。


To update app in Play Store you need to use the same package name and sign your apk file with the same keystore. 要在Play商店中更新应用,您需要使用相同的程序包名称,并使用相同的密钥库对apk文件签名。 You can't release two applications with same package name! 您不能发布两个具有相同程序包名称的应用程序! If you want to upload for example a beta public test version of your app you will need to upload it with new package name, but the users which already have your application installed won't receive any alerts, because it will be a separate app. 例如,如果您要上传应用程序的Beta测试版本,则需要使用新的软件包名称上传它,但是已经安装了应用程序的用户将不会收到任何警报,因为它将是一个单独的应用程序。 It depends on what you exactly trying to achieve. 这取决于您要真正实现的目标。

There are two things: 有两件事:

1. Update Existing App 1.更新现有应用

  • If you want to update existing app and wants existing user's to receive as an update then you must sign your application with same key and package name must be same. 如果要更新现有应用程序并希望现有用户作为更新接收,则必须使用相同的密钥对应用程序签名,并且程序包名称必须相同。 You need to increase the version code and version name in manifest. 您需要在清单中增加版本代码和版本名称。

2. Launch New App 2.启动新应用

  • If you want to launch it as new app you need to use unique package name and key can be same. 如果要作为新应用程序启动它,则需要使用唯一的包名称,并且密钥可以相同。 It will be treated as new app. 它将被视为新应用。

I hope its clear to you. 希望对您清楚。

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

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