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

≯℡__Kan透↙ 提交于 2019-12-13 06:50:54

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/23717006/do-i-need-support-library-v4-for-google-play-services-ads

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!