generally, find “sync project with gradle files” in the file
if not, right-click in the blank space of the toolbar to display the options as shown in the figure below and select “customize menus and toolbars…”
Enter “sync project with gradle files” in the search box, select it, and then click OK
after setting, a small icon like “sync project with gradle files” will appear in the toolbar. At this time, you can click file and find that the selection of “sync project with gradle files” also appears
[note]:
the above icons may not appear immediately after configuration, so wait patiently
I restarted it five or six times