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:
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'
}