Friday, August 14, 2015

Add dependency for Google Play services in Android Studio Project

Before add dependency for Google Play services, make sure you have Google Play services install in Android SDK.


To add Google Play services to Android Studio Project, follow the steps here shown in the video:
- In Android Studio > File > Project Structure
- Select App -> Dependencies
- Select play-services, 'com.google.android.gms:play-services:7.8.0' currently.
- Click on the '+' symbol to add the libraries
- OK


You can also edit build.gradle manually to add dependencies of compile 'com.google.android.gms:play-services:7.8.0'


No comments: