How install 2 versions of an app on android phone?

Want to install two versions of an Ionic 1 app on an Android phone. Did the following:

  1. Changed widget id and name in config.xml.
  2. Changed name and description in package.json.
  3. Changed name and app_id in ionic.config.json.

When ‘adb -d install C:\Users<user>\I\S\platforms\android\build\outputs\apk\android-debug.apk’ is performed an INSTALL_FAILED_CONFLICTING_PROVIDER error is received.

How can two versions of an app be installed?