SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
06/28/14 12:34 AM (10 years ago)

Google Play Services config addendum.

When I recently updated my google play services, I received the following error in my console: [2014-06-28 16:57:30 - google-play-services_lib] Unable to resolve target 'android-9' Of course, it's because I didn't have Android API 9 available... The short answer is "you need it, but it's not natively visible in your Android SDK Manager". The secret is, to select the 'obsolete' checkbox. This allows you to view, download, and install Android v2.3.1, aka API 9. https://dl.dropboxusercontent.com/u/115208762/api9.png Be sure to do this before configuring Google Play Services after an update. I am revising the tutorial and will forward it to Susan upon completion. Cheers! -- Smug
 
Weidies
Lost but trying
Profile
Posts: 63
Reg: Jan 13, 2014
Pretoria, Gaute...
7,980
like
06/28/14 05:54 AM (10 years ago)
Thank you Smug I thought you had to load all of then, even the absolute ones. Thanx for alerting us. Weidies
 
krompa
Lost but trying
Profile
Posts: 257
Reg: Jun 14, 2013
Bristol
8,820
like
06/28/14 05:55 AM (10 years ago)
Thanks Smug. Your work in this area is so much appreciated.
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
06/28/14 09:30 AM (10 years ago)
Thanks Smug!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/29/14 05:26 AM (10 years ago)
And the hits just keep on coming... After updating my Google Play Services, I was prompted to update my Eclipse. After updating my eclipse, it made me switch Google Play Services to use API 10, rather than 9. Sheesh. After all that trouble. And then, after 'all' of that, I got errors because in the new installation, I couldn't locate 'annotations.jar' a needed file if you're going to 'suppress' some warnings in Java. I found a copy here, and manually put it into /ADT/SDK/Tools/Support http://mvnrepository.com/artifact/com.google.android/annotations/4.1.1.4 I changed the name to just 'android.jar' (and removed the versioning) and it works fine. Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.