In Android Studio 1.2, I found both of the following work OK for a project which has been copied|moved|renamed.
Approach: Import
1. Build > Clean Project
2. File > Close Project
3. Copy, Move, and/or Rename Folder
4. File > New > Import Project...
Approach: Syn
Project with Gradle Files
1. Build > Clean Project
2. File > Close Project
3. Copy, Move, and/or Rename Folder
4. Delete /old_name.iml (no longer needed)
5. File > Open
6. Tools > Android > Sync Project with Gradle Files
Both have the same outcome.
Import
is
one less step. Import
is
conveniently located on the welcome screen and File > New menu.
Sync
Project with Gradle Files
is a somewhat more obscure menu item. However, Sync
Project with Gradle Files
is a good fallback if you click open when intending to Import
参考资料
http://stackoverflow.com/questions/17490734/how-to-move-and-rename-a-project-in-android-studio