I'm using LocationClient as described in the official documentation. Everything works fine on Android 4.1+
However, on an Android 2.3.6 device, getLastLocation() systematically returns null, no matter when or how many times I call it. I have already rebooted the device (this had made the same issue disappear on Android 4.1).
The service is available; onConnect() gets called; the app has proper permissions (this is obvious, otherwise it wouldn't work on 4.1 either); gps and wifi location are enabled in System Settings. Google Maps and other location-aware apps work fine. I do have Google Play Store installed.
What else can be wrong?
I've noticed that the installed version of Google Play Services is 5.something, while the latest is 6.1. Is it normal? It is supposed to stay updated automatically, and indeed it usually does, as this version is dated july2014 and the device is much older. I guess this is the latest version for 2.3.6?