I want to use an existing Android application as the foundation of a new project in Android Studio, then wish to make changes to the code and create a new application which is completely unrelated to the cloned one. However, I seem to be doing something incorrectly like renaming the project in Android Manifest, or perhaps dissociating the existing repository from the new project.
This is what I have done:
- Clone Github Repo into New Project
- Rename project in Android Studio
- Changed the Github remote location and pushed to a new repo
I have then proceeded to make all my changes to the new application, but when launching on Android Studio via USB debug or via APK, it overwrites the originally copied application which I already have installed on the mobile device.
What am I doing wrong so the new duplicated application won't overwrite the existing application?
I have read a few answers on how to correctly clone an Eclipse project, however I need to clone and duplicate a project in IntelliJ.