本文介绍了AdMob的1.6版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个AdMob的项目时,Android版本的项目属性被设置为2.3的伟大工程。但是,当我试图在1.6则投诉Android清单设置在该行
<活动机器人:名称=com.google.ads.AdActivity
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
解决方案
我猜你需要检查哪些标签在SDK版本的支持。
请参阅这里。
请参阅uiMode中添加了SDK 8和屏幕尺寸在13试试。
下面它的工作原理,即使在1.5。只是一个例子:
<活动机器人:名称=com.google.ads.AdActivity
机器人:configChanges =键盘| keyboardHidden |定位
/>
I have a admob project that works great when the android version in project properties is set to 2.3. But When I try to set on 1.6 then it complaints in the android manifest at this lines
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
解决方案
I'd guess that you need to check which tags are supported in that SDK version.
See here.
See that uiMode was added in SDK 8 and screenSize in 13. Try that.
Here it works even in 1.5. Just an example:
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation"
/>
这篇关于AdMob的1.6版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!