EssaidiM EssaidiM - 4 months ago 34
Android Question

Can't Find google-play-services_lib

I'm trying to include Google Mobile Ads into my app (AdMob) so i followed the Google documentation


https://developers.google.com/mobile-ads-sdk/docs/?hl=en


but I am stuck at the first step "Add and reference the Google Play services library project"

I can't find the google-play-services_lib, in the properties of my project even when I installed the "Google Play Services"
thank you

Lal Lal
Answer

"Add and reference the Google Play services library project"

To do this step do as said below..

  • Add the Google Play Services project into your Eclipse workspace. ie

    Click File -> Import..., select Android -> Existing Android Code into Workspace Browse to and select <android-sdk-folder>/extras/google/google_play_services/libproject/google-play-services_lib

  • To add the dependency to Google Play Services into your project Project -> Properties -> Android -> Library, Add -> google-play-services_lib

Comments