The Sync failed when tried to add the dependency for google play service. The problem seem to its looking for the jar in C:/Program/Files/Android/Android Studio however my SDK is placed in C:\Android\sdk. However I also have Android Studio in Program Files where there are no jar for Google play services.
Information:Gradle tasks [clean, :app:generateDebugSources, :app:compileDebugSources] Error:A problem occurred configuring root project 'XXXXXX'.
Could not resolve all dependencies for configuration ':classpath'. Could not find com.google.gms:google-services:9.0.0. Searched in the following locations: file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/google/gms/google-services/9.0.0/google-services-9.0.0.pom file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/google/gms/google-services/9.0.0/google-services-9.0.0.jar https://jcenter.bintray.com/com/google/gms/google-services/9.0.0/google-services-9.0.0.pom https://jcenter.bintray.com/com/google/gms/google-services/9.0.0/google-services-9.0.0.jar Required by: :XXXXX:unspecified Information:BUILD FAILED Information:Total time: 6.148 secs Information:1 error Information:0 warnings Information:See complete output in console
Also my ANDROID_HOME is set to C:\Android\sdk. Please advise.