androidandroid-studiogradlesynchronization

Android Studio how to run gradle sync manually?


I'm debugging Gradle issues in Android Studio and see references to "Run gradle sync", but I'm not sure how to run this command.

How do I run "Gradle sync" from Android studio or Mac terminal?


Solution

  • Android studio should have this button in the toolbar marked "Sync project with Gradle Files"

    Or:

    enter image description here

    Or on 3.3.1:

    enter image description here

    Or in Android Studio Hedgehog with the new UI: enter image description here

    OR by going to File -> Sync Project with Gradle Files from the menubar.