其他分享
首页 > 其他分享> > Google Play服务Froyo -Jar不包含com.google.android.gms.ads包

Google Play服务Froyo -Jar不包含com.google.android.gms.ads包

作者:互联网

按照他们的指示,我将google play服务库称为来自Google admob的广告的库资源.但是我在类Adview和AdRequest时遇到错误.解压缩google play服务jar时,找不到软件包com.google.android.gms.ads.该问题的解决办法是什么?

解决方法:

Google移动广告/ Admob已在Google Play Services 4.0中添加,不适用于Froyo:

With over 97% of devices now running Android 2.3 (Gingerbread) or newer platform versions, we’re dropping support for Froyo from this release of the Google Play services SDK in order to make it possible to offer more powerful APIs in the future. That means you will not be able to utilize these new APIs on devices running Android 2.2 (Froyo).

如果要访问Google移动广告,则必须使用当前版本为4.4的常规Google Play服务库.

标签:google-play-services,admob,android
来源: https://codeday.me/bug/20191121/2053695.html