How to move and rename a project in android studio?

前端 未结 12 1198
一向
一向 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 16:00

    For Android Studio 3, it seems this should be enough:

    1. Move/rename project outside of Android Studio.
    2. Tools -> Android -> Sync Project with Gradle Files
    3. Build -> Rebuild Project

    I could not deploy to the emulator after moving and renaming a project. Doing the steps above solved it.

提交回复
热议问题