I am trying to get location and update to server in my Android app. This is my Gradle code, here I included compile \'com.google.android.gms:play-services:11.2.0\'
compile \'com.google.android.gms:play-services:11.2.0\'
Add this to your project-level build.gradle file:
build.gradle
repositories { maven { url "https://maven.google.com" } }