I've stumbled upon a little barrier when trying to get the location of a user. While trying the code in the emulator, I can get location coordinates and everything works perfectly.
However on my real phone (Samsung galaxy s4 with latest updates), the android studio run-monitor gives me the following message:
W/GooglePlayServicesUtil: Google Play services out of date. Requires 9683000 but found 8122238
I/AdressPopup: Location services connection failed with code 2
(AdressPopup being my classname where this occurs). No coordinates and thus no location can be acquired as such.
I have the latest build for google play services specified in my build.gradle (module: app) file:
compile 'com.google.android.gms:play-services:9.6.1'
Any ideas on what might be causing this problem?