Copy existing project with a new name in Android Studio

后端 未结 19 2327
野趣味
野趣味 2020-11-29 17:31

I would like to copy my Android project and create a new project from the same files just with a different name. The purpose of this is so I can have a second version of my

19条回答
  •  猫巷女王i
    2020-11-29 17:49

    Perhaps this will help someone.

    For Android Studio 4.x Projects, you need following steps:

    • copy project directory to new project directory
    • from Android Studio, open new project directory
    • edit settings.gradle file by updating the rootProject.name='newProjectName'.
    • then sync gradle
    • and here you go the project is ready, and you can start updating manifest, packages, google-services.json and all other stuff

提交回复
热议问题