我现在正面临一个真正的问题。我只想在我的应用程序中显示Admob Banner Ads,我使用的是Android播放服务版本'6171000'
我已在应用程序标记
中的清单中声明了这一点 <meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
但是当我开始应用时我会收到此错误日志:Admob真的需要这个旧版本的Google Play服务吗?
12-03 09:11:17.559: E/AndroidRuntime(26944): java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 5089000 but found 6171000. You must have the following declaration within the <application> element: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
12-03 09:11:17.559: E/AndroidRuntime(26944): at com.google.android.gms.common.GooglePlayServicesUtil.A(Unknown Source)
12-03 09:11:17.559: E/AndroidRuntime(26944): at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
12-03 09:11:17.559: E/AndroidRuntime(26944): at com.google.android.gms.internal.ah.a(Unknown Source)
12-03 09:11:17.559: E/AndroidRuntime(26944): at com.google.android.gms.internal.au.aM(Unknown Source)
12-03 09:11:17.559: E/AndroidRuntime(26944): at com.google.android.gms.internal.au.a(Unknown Source)
12-03 09:11:17.559: E/AndroidRuntime(26944): at com.google.android.gms.ads.AdView.loadAd(Unknown Source)
12-03 09:11:17.559: E/AndroidRuntime(26944): at admanager.v5.AdMobBannerLoader.load(AdMobBannerLoader.java:38)
12-03 09:11:17.559: E/AndroidRuntime(26944): at admanager.v5.AdMobBannerLoader.load(AdMobBannerLoader.java:1)
12-03 09:11:17.559: E/AndroidRuntime(26944): at admanager.v5.base.implementation.BaseAdManager$1.onResponse(BaseAdManager.java:236)