2

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.

Hbibna
  • 568
  • 7
  • 11
  • 1
    if you are using eclipse you are out of luck but if you are using android studio just change the gradle version to whatever one you want – tyczj Jan 05 '15 at 19:02
  • Yeah, sadly i'm still with Eclipse for this project. Never using it again for any future projects, especially since Android Studio 1.0 came out. – Hbibna Jan 05 '15 at 19:14

2 Answers2

3

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.

so_jin_ee
  • 802
  • 6
  • 7
  • 2
    This question is related to downgrading the development library, not downgrading Google Play services on a device. – ianhanniballake Jan 05 '15 at 19:15
  • Like he said, so the answer is actually irrelevant. Still thanks for answering. I found the solution btw, it's in my answer. – Hbibna Jan 05 '15 at 19:17
1

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.

Hbibna
  • 568
  • 7
  • 11