Sounds like maybe your app is generated with the same package name, but a different signing key? That would cause a conflict which triggers an error when attempting to install. It's a safety feature to prevent malicious apps from 'overwriting' legitimate apps.