Ryan
Ryan

Reputation: 455

Where is the build.gradle file located for my Android project?

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

Answers (4)

Binoy Babu
Binoy Babu

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

Nidhi Singh
Nidhi Singh

Reputation: 21

Clicker here to see

The folder is present on the left hand side below.

Upvotes: 0

Amirouche
Amirouche

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

Rohan
Rohan

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

Related Questions