Scenario:
I'm working through the exercises in an Android programming book.
I finish "Chapter 10", so I "Close Project" and exit Android Studio, manually delete build/* and copy "chap10" to a new folder, "chap11".
I start Android Studio > Open Existing Project > chap11.
So far, so good. Everything looks fine.
I start editing a .java source file or .xml layout file in chap11 ... and Android Studio overwrites the old files in the old directory instead (?!?)
Q: What causes this behavior?
Q: What can I do to make Android Studio "forget" everything about the old "chap10", and use ONLY filepaths from the new "chap11" instead?
I'm using Android Studio 3.5, Build: Aug 8, 2019.