Android dependencies:

Dependencies are nothing but libraries that are code

that is already written to do a specific execution in

your project. Different behavior is also applied depending upon

the configuration(eg. implementation, app, compile, etc) used for adding

 the dependencies.


Android dependencies are added of different types to use in our project to perform additional

services.

Let's take an example



On the left rectangle, it is the location of the app module where we have to add the

android dependencies and on the write right some dependencies are written, taking

the highlighted one,


Here, “implementation” is our dependency configuration which decides the behavior

of the “com.intuit.sdp:sdp-android:1.0.6”.



 implementation 'com.intuit.sdp:sdp-android:1.0.6'  →

here sdp referring scalable dp, It is an android dependency that produces a scalable

size unit of text, that if you use this unit for the text present in your application then

that text will change its size according to the size of the screen.

Types of android dependencies:

There are three types of android dependencies,

1. Local Library Module Dependency

This android dependency declares that this project has a dependency upon the local library module present in the setting file. Name at both locations ie the Gradle module file and the setting file must be the same.

2. Local Binary Dependencies

This android dependency declared a dependency upon the .jar file present in the project directory in the module lib files.

   3. Remote Binary Dependencies

This declares a dependency on app-magic of version 12.3 present in the group of com.example.android.