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

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

问题描述

我正在使用以下命令在 Android 设备上安装应用.

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

离子科尔多瓦运行安卓"

"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.

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

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