Where is a “Sync project with gradle files” button

2019-04-19 06:45发布

This button disappeared from a new 3.1 version of AS Toolbar. Before it showed as: enter image description here

Now it's missing:

enter image description here

5条回答
做自己的国王
2楼-- · 2019-04-19 06:50

In Android Studio under 3.1 it's placed in

Tools > Android > Sync Project with Gradle Files

查看更多
▲ chillily
3楼-- · 2019-04-19 07:06

In Android Studio 3.3 it is here:

enter image description here

查看更多
再贱就再见
4楼-- · 2019-04-19 07:10

For me I did following to make it visible:

  1. Go to File -> settings -> Menus and Tool bar as shown here
  2. Click on Restore Default

You should see the Updated Android.MainToolBarGradleGroup as follows: Updated Menu

  1. Click on Apply and restart the Android Studio
查看更多
兄弟一词,经得起流年.
5楼-- · 2019-04-19 07:15

Is is available from menu. Tools > Android disappeared, so find it in File > Sync Project with Gradle Files.

enter image description here

查看更多
神经病院院长
6楼-- · 2019-04-19 07:16

It hasn't disappeared. They have just moved it between the Save and Sync files button on the far left end of the toolbar.

enter image description here


Edit: They like to keep playing with the toolbar.

In Android Studio 3.3, the icon is updated and moved back across to the right:

enter image description here

查看更多
登录 后发表回答