What does “Sync Project with Gradle File ” really mean?

后端 未结 1 508
悲哀的现实
悲哀的现实 2021-02-04 07:06

In Android Studio there is a button Sync Project with Gradle File, I always use it, and it\'s useful. It will download dependence packages and maybe so

相关标签:
1条回答
  • 2021-02-04 08:03

    The button does what it says: it updates the Android Studio project model to match the contents of the Gradle build file.

    There is no corresponding gradlew command because there is nothing to synchronize when you work with the command line directly. The dependencies will be updated automatically when you run other Gradle commands such as compile.

    0 讨论(0)
提交回复
热议问题