Where is a “Sync project with gradle files” button in Android Studio 3?

a 夏天 提交于 2019-12-06 17:16:02

问题


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:

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

You should see the Updated Android.MainToolBarGradleGroup as follows:

  1. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!