Android Studio how to run gradle sync manually?

前端 未结 10 1516
遥遥无期
遥遥无期 2020-12-02 21:35

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 sy

10条回答
  •  醉梦人生
    2020-12-02 22:28

    Keyboard shortcut lovers can add a shortcut for running gradle sync manually by going to File -> Settings -> Keymap -> Plugins -> Android Support -> Sync Project with gradle files (Right click on it to add keyboard shortcut) -> Apply -> OK and you are done. Gradle Sync keyboard shortcutChoose any convenient key as your gradle sync shortcut which doesnot conflict with any other shortcut key, (I have choosen Shift + 5 as my gradle sync key), so next when you want to run gradle sync manually just press this keyboard shortcut key.

提交回复
热议问题