How to move and rename a project in android studio?

前端 未结 12 962
一向
一向 2021-02-01 15:33

This should be a really simple question :)

I have a project that works fine. Now I wanted to rename it and to change the path of the projectfolder. First it seemd simple

12条回答
  •  有刺的猬
    2021-02-01 15:53

    What works for me:
    1. Moving Project:

    Close Android Studio .You can try to copy and paste the project normally. If there is Path error due to path to long. What I do normaly is compressing the project to rar file. copy paste to new location and extract It. For winrar use extract here as the actual root folder is inside the rar

    2. Rename the project:

    Rename the root folder to your new project name.

    3. Open In Android Studio

    Notice that when you open android studio, it will open the old project file by default. Close the project by going to File>Close Project. Then open your new project.

提交回复
热议问题