Snake
Snake

Reputation: 14658

Do I need support library v4 for google play services (ads)

I want to use the ads system by google play services (Admob). I know I need to bundle the game services library. But do I need to bundle the support libraryV4 if I am targeting Appi 8 and above?

Thank you

Upvotes: 0

Views: 260

Answers (1)

matiash
matiash

Reputation: 55350

It used to be the case that the support library wasn't necessary, but according to this question the situation has changed with the release of Play Services 6.5.

As of Google Play Services 6.5, the play-services-base library (a dependency for all Google Play Services) depends on the latest support library.


(Historical) Mobile Ads is part of Google Play Services, not the Support Library. If you just need Ads, then the Support Library is not necessary. Howerver, other features of Google Play Services, such as Maps, do need it.

You nevertheless do need to include the Support Library if you are using Fragments, ViewPager, or any of the other features it provides.

Upvotes: 1

Related Questions