Android studio installing the application over another application

1

I've been using the same apk to perfect it, I went to the folder and gave a ctrl c ctrl c and started to edit the new apk. I changed the name, the name of the folders, I changed some screens, but when I emulate on the phone it installs over what I had already done.

How do I fix this?

    
asked by anonymous 01.06.2016 / 20:00

1 answer

1

What identifies the App is its applicationId :

In your build.gradle :

 defaultConfig {
        applicationId "com.me.pacote.exemplo"
        minSdkVersion 14
        targetSdkVersion 23
        versionCode 1
        versionName "1.0.0"
    }

Change applicationId to generate another app.

    
01.06.2016 / 20:08