如何使用离子2在Android设备上安装两个不同的应用程序 [英] How to install two different app on android device using ionic 2

查看:103
本文介绍了如何使用离子2在Android设备上安装两个不同的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下命令在Android设备上安装应用程序。

I am installing an app on an android device using the following command.

ionic cordova run android

"ionic cordova run android"

但是当我安装另一个应用程序时,它正在替换旧的应用程序。

but when I am installing another app, it is replacing the old app.

所以请告诉我解决方案,以便旧的和另一个新的应用程序都应该在那里在Android设备

so please tell me the solution so that old and another new app both should be there in android device

推荐答案

请检查 config.xml 文件,更改应用的 id

Please check the config.xml file, and change the id of the app:

<widget id="new.app.id" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

这样,它将被视为一个不同的应用程序,不会取代之前的应用程序。

That way, it will be considered as a different app and will not replace the previous one.

这篇关于如何使用离子2在Android设备上安装两个不同的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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