Search code examples
androidandroid-studiogoogle-play-servicesclassnotfound

com.google.android.gms classes not found after update of play-services to 6.5.87


After updating sdk tools and google play services to 6.5.87 I now couldn´t find com.google.android.gms in my android project (android studio). How could I fix this problem?

One of errors is now: error: cannot find symbol class ActivityRecognitionClient

dependencies {

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

}


Solution

  • ActivityRecognitionClient was deprecated, and they may have gotten rid of deprecated methods. Either use an earlier version of the artifact, or switch to ActivityRecognition, which I think is the replacement.