问题
This button disappeared from a new 3.1 version of AS Toolbar. Before it showed as:
Now it's missing:
回答1:
It hasn't disappeared. They have just moved it between the Save and Sync files button on the far left end of the toolbar.
Edit: They like to keep playing with the toolbar.
Since Android Studio 3.3, the icon has been updated and moved back across to the right:
回答2:
In Android Studio 3.3 it is here:
回答3:
Is is available from menu. Tools > Android
disappeared, so find it in File > Sync Project with Gradle Files
.
回答4:
For me I did following to make it visible:
- Go to File -> settings -> Menus and Tool bar as shown
- Click on Restore Default
You should see the Updated Android.MainToolBarGradleGroup as follows:
- Click on Apply and restart the Android Studio
回答5:
In Android Studio under 3.1 it's placed in
Tools > Android > Sync Project with Gradle Files
来源:https://stackoverflow.com/questions/49575686/where-is-a-sync-project-with-gradle-files-button-in-android-studio-3