如何使用离子2在Android设备上安装两个不同的应用程序

如何使用离子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.