Can't find “Sync Project with Gradle Files” button in IntelliJ IDEA

后端 未结 6 1627
太阳男子
太阳男子 2021-02-02 10:02

I just added the google-play-services-lib library to my project and am stuck where I need to \"sync the project with gradle files\", but this button does not exist

6条回答
  •  花落未央
    2021-02-02 10:22

    The Gradle sync is still there, under Tools -> Android -> Sync with Gradle

    If you don't see it, then Intellij needs to re-link your gradle file.

    Try closing the project, re-opening by File -> Import Project -> and select your .gradle file

提交回复
热议问题