Reputation: 455
Where is the build.gradle
file located for my Android project?
I'm trying to follow along with this tutorial, but I can't make necessary changes to my build.gradle
file to use the support library.
Upvotes: 17
Views: 70929
Reputation: 17139
It will be located in the project root unless you have set a custom location. To generate a build.gradle
file, use Eclipse and export the project as build.gradle
.
Upvotes: 19
Reputation: 3776
The location of build.gradle (Project) is in the root project
and the build.gradle (app) is in the /app/build.gradle of the projet
Upvotes: 2
Reputation: 859
The app level build.gradle file is located inside your project folder under app/build.gradle. for eg: if your project name is MyApplication MyApplication/app/build.gradle. At this location, you will be adding dependencies for your project. There will be one more build.gradle file under your project folder immediately in new versions( As of April 2017). But to my opinion you never play with this file.
Upvotes: 1