I use Google’s smooth access services in my location tracking application. I am using android studio and gradle build system. I recently discovered a big problem with Google location services.
The gradle build file contains this dependency: compile 'com.google.android.gms:play-services:+ . Therefore, when I rebuilt my project, Android Studio downloaded the latest version for Google Play services, namely 5.2.08. HOWEVER, my device (Samsung Galaxy S4) has version 5.0.89. And, apparently, these two versions are incompatible, I get this error: Google Play services out of date. Requires 5208000 but found 5089038 Google Play services out of date. Requires 5208000 but found 5089038 . I cannot update Google Play services on my device. It says that it is updated (5.0.89).
Using this solution, I managed to get the tracking system to work, but it won’t work on another device that I have (W8L device), which has another version of google play services: 5.0.84.
It seems like it's not uncommon with Google. How can I fix this for any devices out there, and make sure Google doesn't mess up my application.
java android android-gradle google-play-services location
Sebek
source share