How to install two different app on android device

2020-03-25 00:21发布

问题:

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.

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

回答1:

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.