我正在尝试使用Admob在我的Android应用中添加广告,但遇到了难题。Admob表示需要从logcat
获取以下内容:
E/Ads (26043): The android:configChanges value of the com.google.ads.AdActivity must include uiMode.
E/Ads (26043): The android:configChanges value of the com.google.ads.AdActivity must include screenSize.
E/Ads (26043): The android:configChanges value of the com.google.ads.AdActivity must include smallestScreenSize.
然而,在Ubuntu上使用Eclipse中的Android SDK无法解析以下内容:
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
当我在活动中选择清单中的属性时,最后三个项目显示“未识别的标志”。
我想在Android 1.6(API级别4)中添加广告,但这些属性直到API级别在十几岁才存在。 我该如何调和这一矛盾?