I am trying to add an Android Asynchronous Http Client dependency to my project. Thus, there are two build.gradle files in the project.

According to my understanding, there are different dependencies:
- One that is defined at the root level of build.gradle (Project: My-app)
- One inside build.gradle built-in script (Project: My-app)
- Another is build.gradle (Modules: application)
This question is about buildScript dependency repositories, explain a little about the first two types.
Also build.gradle (Project: My-app) says
// NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files
So, I think the Android Asynchronous Http Client dependency code should be added to build.gradle (Module: app).
If someone can give a clear idea of ββall these considerations for a better understanding, it would be great.
android android-studio build.gradle
Anil Bhaskar Feb 03 '15 at 9:54 2015-02-03 09:54
source share