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
For Android Studio 3, it seems this should be enough:
I could not deploy to the emulator after moving and renaming a project. Doing the steps above solved it.