my dependencies:
compile \"com.android.support:appcompat-v7:20.+\"
compile \'com.google.android.gms:play-services:5.2.08\'
compile \'com.android.support:supp
For people who suffer from this issue but are not able to make the other work - my issue was that I installed Google Play 5.2.08 in my gradle file (compile 'com.google.android.gms:play-services:5.2.08') because 5.0.77 wasn't working.
I loaded the app onto my phone and it didn't work,
I had the latest update (that I could get on my phone - Android 4.4.2) of google play so telling me to update didn't give me any options
I ended up just needing to update my gradle file to the latest compatible googlePlay, in my case version 5.0.89.
So find out what version
Fixed with
For Gradle
:
compile 'com.google.android.gms:play-services:5.0.77'
For Eclipse
:
Add as library:
https://dl-ssl.google.com/android/repository/google_play_services_5077000_r18.zip
If above did not work, try to use older playstore service version of android playstore client.
https://dl-ssl.google.com/android/repository/google_play_services_4132530_r14.zip
https://dl-ssl.google.com/android/repository/google_play_services_4242030_r15.zip
https://dl-ssl.google.com/android/repository/google_play_services_4323030_r16.zip
https://dl-ssl.google.com/android/repository/google_play_services_5077000_r18.zip
https://dl-ssl.google.com/android/repository/google_play_services_5089000_r19.zip
https://dl-ssl.google.com/android/repository/google_play_services_6171000_r21.zip
The version you are looking for is 5.2.08.
Android Studio will automatically offer to upgrade it to the new version. However, due to a bug, it drops the leading zero in "08", which means it replaces the dependency with "5.2.8" instead of "5.2.08" which does not work. To fix this, edit the dependency to read "5.2.08" instead of "5.2.8"
This will work:
compile 'com.google.android.gms:play-services:5.2.08'
source: http://tools.android.com/knownissues
You can now use
compile 'com.google.android.gms:play-services:6.1.11'
You need to update Google Play Services from Play store on you device, if you don't see any update wait until comes out
Play Store - Google Play Services
Alternatively search on Google and installed the new apk or use an older version like 5.0.77 or 5.0.89
Change the Google Play Service version in your build.gradle to the version on your device or emulator.
compile 'com.google.android.gms:play-services:5.0.89'