我正在使用位置服务的贬值版本
public class UserLocation implements LocationListener, GooglePlayServicesClient.ConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener
GCM推送的更新版本
extends GcmListenerService
gradle如下
compile 'com.google.android.gms:play-services-location:6.5.87'
compile 'com.google.android.gms:play-services-gcm:7.5.0'
但是无法同步项目会收到一些错误,例如
错误:配置项目“:app”时出现问题。
无法解析配置 ':app:_debugCompile' 的所有依赖项。找不到 com.google.android.gms:play-services-location:6.5.87build.gra。在以下位置搜索: 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 要求:incidentchanger :应用程序:未指定