Error installing the same app from different environments

Hi, I have the same apps but with different environments (dev, homolog, prod), each with the different packages ids, but when I install the dev app with the production already installed, I get a package conflict message, if I I delete the production app the dev app installs normally.
Thanks,

Did you regenerate the platform code? The package IDs are put into different places in the generated code. Not all commands recreate the whole project, so quite often the package IDs sta in place.

(If everything else fails try remove and re-adding the platform you are developing for using e.g. ionic platform remove android ans then ionic platform add android)

Hi, i have checked the config in android platform folder, And it changed correctly

Well that’s not really possible, as the two apps would certainly be different then, right?