Has anyone ever experienced android studio on mac that reloads the gradle project every time you re-focus the window? I feel like I ran into this a few years back but I can't remember how I fixed it and my google-fu is failing me right now.
Garret Yoder
01/12/2024, 5:09 PM
Seems like it's related to the specific project - I made a blank template one and the issue doesn't persist. I've tried invalidating caches, I've even tried deleting the whole project folder and re-cloning from git.
Anyone have any suggestions of a cache dir somewhere I'm missing?
Garret Yoder
01/12/2024, 5:54 PM
I haven't figured out where the offending cache is yet as I've deleted absolutely everything I could find, however I've found a workaround - all I had to do was clone the project into a different parent folder. So it's definitely a cache issue somewhere.
s
Shaun Burch
01/14/2024, 2:57 PM
Spitballing – but is the original directory you were using synced in iCloud?
g
Garret Yoder
01/15/2024, 4:53 PM
Nope. It was definitely some sort of caching issue, I just have no idea where the offending cache is. As soon as I changed parent directories the issue went away