Install release's apk after installed debug's apk ionic

I created a Ionic App and installed a debug apk of App on device.
I build a release apk of App and transfer to device and Trying to install the App but not install.
I remove debug version of device and then installing release apk be installed correctly.
how to create a release apk install on Which if the debug version is installed without remove debug version of device ?

Hi @rashidi

try to change bundle id of application in config.xml when you install release apk or debug apk.

Debug :
<widget id="io.debug.starter" version="0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
Release :
<widget id="io.release.starter" version="0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

thanks