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

10.2k views Asked by At

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.

2

There are 2 answers

0
Hbibna On BEST ANSWER

I found this site here which has links to mirrors of Android SDK Extras by Google. I downloaded google play services SDK r21 from there and am currently using it.

http://venomvendor.blogspot.com/2012/03/android-sdk-extras-by-google-inc.html

Hope this helps someone.

2
so_jin_ee On

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.