Android Studio is an official IDE for Android development, and it is based on the Intellij IDEA platform and uses the Gradle build tool system. A typical project structure looks as follows:
![](https://static.packt-cdn.com/products/9781789349252/graphics/assets/1d345d27-3148-48a1-9a2a-3011d474804b.png)
The build.gradle file contains the project configuration and manages the library dependencies. To add a dependency to the Spring for Android extension, we should add the following lines:
repositories {
maven {
url 'https://repo.spring.io/libs-milestone'
}
}
dependencies {
//.......
implementation 'org.springframework.android:spring-android-rest-template:2.0.0.M3'
}