build.gradle in the project vs. build.gradle in the app
问题 I started a project in Android Studio, with IntelliJ. The project includes two files called build.gradle . One is under the folder app , and one is under the main folder which is my project name, say MyProject . Why the need for two? What is the difference between the two build.gradle s? 回答1: Android Studio project consists of modules, libraries, manifest files and Gradle build files. Each project contains one top-level Gradle build file. This file is named build.gradle and can be found in