如何使用Ionic在Android设备上安装两个不同的应用 [英] How to install two different app on android device using Ionic
本文介绍了如何使用Ionic在Android设备上安装两个不同的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用以下命令在android设备上安装应用.
I am installing an app on an android device using the following command.
离子Cordova运行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.
这篇关于如何使用Ionic在Android设备上安装两个不同的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文