For some reason I can't get GooglePlayServicesClient to work. I have followed the Setting Up Google Play Services guide. compile 'com.google.android.gms:play-services:7.5.0'
is in the correct build.gradle
file. I ran "Sync Project with Gradle Files". In the SDK Manager, I have installed Extras > Google Play services rev 25. On a clean build, I get the following errors:
Error:(20, 24) error: cannot access GooglePlayServicesClient
class file for com.google.android.gms.common.GooglePlayServicesClient not found
Error:(24, 28) error: cannot access OnConnectionFailedListener
class file for com.google.android.gms.common.GooglePlayServicesClient$OnConnectionFailedListener not found
Error:Execution failed for task ':app:compileDebugJava'.
> Compilation failed; see the compiler error output for details.
I've double checked that I followed the setup guide correctly, uninstalled and reinstalled the Google Play services from the SDK Manager, closed and reopened Android Studio, all with no success.
Thanks for the help.