NAUSHAD
NAUSHAD

Reputation: 174

Older Location service & updated GCM push in android

Im using depricated version of location service

   public class UserLocation implements LocationListener, GooglePlayServicesClient.ConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener

updated version of GCM push

    extends GcmListenerService 

gradle is as follows

compile 'com.google.android.gms:play-services-location:6.5.87'
compile 'com.google.android.gms:play-services-gcm:7.5.0'

But unable to sync project receive some errors like

Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not find com.google.android.gms:play-services-location:6.5.87build.gra. Searched in the following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/6.5.87build.gra/play-services-location-6.5.87build.gra.pom https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/6.5.87build.gra/play-services-location-6.5.87build.gra.jar Required by: incidentchanger:app:unspecified

Upvotes: 0

Views: 269

Answers (1)

NAUSHAD
NAUSHAD

Reputation: 174

Didn't found any alternative to make it work, finally updated location api and related code Thanks Stackoverflow :)

Upvotes: 0

Related Questions