'Android Studio - Refactor move files still keeps a copy in original place
In visual Studio when I move files into a package on the same original level, the files that I move also remain where they were.
I dragged each of these Kotlin files (AddHappyPlaceActivity and MainActivity) into the "activities" package, then pressed refactor in the screen that appears. I would expect the original files to not appear.
Thanks a lot.
Solution 1:[1]
Posting an answer is because I don't have enough reputation. after refactoring the file actually moves there but it is bug I also have noticed, A copy of the file seems to be present in the old places even after refactoring but after refreshing It is gone.
Solution 2:[2]
I'm able to resolve this issue by simply closing and re-opening Android Studio.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Bilal Bangash |
| Solution 2 | Adam Johns |

