Google Play services include the classes required for our map application. So, it is required to set it up properly. It differs for Eclipse with the ADT plugin and Gradle-based Android Studio. Let's take a look at both separately. It will be simple.
Configuring Google Play services with Android Studio is very simple. You need to add a line of code to your
build.gradle file, which contains the Gradle
build script required to build our project. There are two
build.gradle files. You must add the code to the inner
build.gradle file. The following screenshot shows the structure of the project:
The code should be added to the second Gradle build file that contains our app module's configuration. ...