Produce 2 same apps with different ids install error

Guys I am in big trouble. I created an app for a restaurant for online delivery. Now I want the same app for other restaurant. I created new project with different id, I copy/paste the indexes from the first app to the second. I deployed the second app and when I am trying to install both apps to the same device, I get error (505 error from google play). Please help!!!