简体   繁体   中英

Can't find the Sync with Gradle button in Android Studio

today I encountered a problem when trying to run an app from Android Studio. I found out that the solution to the problem is to Sync with Gradle. However, I can't find the Sync with Gradle button in my editor. (None of the solutions listed on StackOverflow worked for me). Here is an image:

Android Studio 截图 文件菜单 ack.imgur.com/Eh9vX.png

EDIT: It isn't in the file menu.

Goto File menu, there you will find the option to Sync Project with Gradle, Check the image below :

Gradle 同步项目

EDIT

Goto Settings in File Menu as shown in the image below.

在此处输入图片说明

then specify the path of the Gradle File which you have Downloaded Manually & Apply the Settings as shown in the image below.

在此处输入图片说明

After Specifying the path, you see the option "Sync Project With Gradle Files" in File Menu.

I hope this will help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM