How can i downgrade Google Play Services Library in Android SDK?

Hbibna picture Hbibna · Jan 5, 2015 · Viewed 9.7k times · Source

The latest update to the Google Play Services Library of the Android SDK removed the LocationClient class from it. How can i downgrade to the previous version so i won't have to rewrite the code to retrieve a client's location?

I do intend to change the code to use the new LocationApi later, but for now, i need a quick fix.

Answer

so_jin_ee picture so_jin_ee · Jan 5, 2015

Go to settings>apps>all and find Google Play Services. Tap it, then tap 'disable' or whatever it is. Then tap on the 'uninstall updates'. After you've installed your version of the services, remember to tap the button 'Take to use' or whatever is displayed.