0

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 Screenshot File Menuack.imgur.com/Eh9vX.png

EDIT: It isn't in the file menu.

Andrej
  • 2,743
  • 2
  • 11
  • 28

1 Answers1

1

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

Gradle sync project

EDIT

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

enter image description here

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

enter image description here

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

I hope this will help.

  • I don't have that option in the file menu, I added a new image so you can check it out. – Andrej Oct 17 '20 at 10:09
  • @Andrej try updating to Android Studio 4.1 (`Help` menu then `Check for updates`) – hiddeneyes02 Oct 17 '20 at 14:52
  • 1
    Hi, I manually installed Gradle and now I have the Sync with Gradle button on my File Menu. If you want you can write an answer to this question and I will mark it as the correct one. – Andrej Oct 17 '20 at 15:05