I've also faced similar problem, after doing update from jetbrains tools box, latest behaves like fresh install. So I copied all files from old android android studio folder and pasted to new android folder. And it worked.
Folder path Mac: /Users/UserName/Library/Application Support/Google/AndroidStudio2024.2/
Folder name will have studio version as prefix. So through this identify previous android studio file -> copy all file -> Paste replace them in new folder.