我可以同时在同一台设备上安装不同的Google Play曲目吗? [英] Can i install different google play tracks on the same device at the same time?

查看:87
本文介绍了我可以同时在同一台设备上安装不同的Google Play曲目吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想在Google Play商店中为我们的应用管理不同的环境.开发者控制台提供了设置不同曲目的选项.(内部,打开...)现在,我想知道是否可以在同一设备上同时安装所有或部分这些轨道.对于需要测试所有轨道的质量检查人员来说,这将使事情变得更加容易.

We want to manage different environments for our app on the Google Play Store. The developer console provides the option to setup different tracks. (Internal, Open...) Now i was wondering if there would be a way to install all or some of these tracks on the same time on the same device. This would make things more easy for the QA which needs to test all of the tracks.

我在网上没有找到任何东西,并认为这是不可能的,因为每个音轨都共享相同的束标识符.现在,我最好的猜测是为不同的环境创建不同的应用程序,这很难看,而且我认为也不容易维护.

I haven't found anything on the web and presume that it wont be possible because every track shares the same bundle identifier. Right now my best guess would be to create different Apps for the different environments which would be ugly and i believe also not easy to maintain.

但是也许我很幸运,其他人也遇到了同样的问题,并且找到了更好的解决方案.

But maybe i lucky and someone else had the same problem and found a better solution.

推荐答案

很遗憾,您不能这样做.Android使用程序包名称识别应用程序.不同的程序包名称表示这些应用程序是分别安装的,而相同的名称表示该应用程序将(尝试)安装在现有的应用程序上.在Play商店中,每个音轨(内部音轨等)都具有相同的程序包名称,因此您不能并排安装这些应用程序.

You can't do this, unfortunately. Android identifies apps using the package name. Different package names mean the apps are installed separately, whereas the same name means the app will (try to) install over the existing one. On the play store, each track (internal, etc.) has the same package name so you can't install these apps side by side.

一个可能的解决方案是设置另一个具有不同名称的应用程序(可能使用 build.gradle 中的 productFlavors applicationIdSuffix 设置).然后,您可以通过Play商店中的其他非公开应用程序分发该应用程序,也可以使用专门为此类应用程序交付进行质量检查的应用程序中心之类的应用程序中心进行分发.

One possible solution is to set up another app with a different name (probably using productFlavors and the applicationIdSuffix setting in build.gradle). You could then distribute that app either through a different non-public app in the play store, or using something like app centre that's designed for this kind of app delivery for QA purposes.

这篇关于我可以同时在同一台设备上安装不同的Google Play曲目吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆