标签:android style blog color io for ar 问题
<声明:欢迎转载,但请保留文章原始出处>
unity项目中加入了google广告,真机测试时广告显示但无法点击广告
解决办法:
在主Activity中加入:
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
1 <activity 2 android:name="com.unity3d.player.UnityPlayerActivity" 3 android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" 4 android:label="@string/app_name" 5 android:screenOrientation="portrait" > 6 <intent-filter> 7 <action android:name="android.intent.action.MAIN" /> 8 <category android:name="android.intent.category.LAUNCHER" /> 9 </intent-filter> 10 <meta-data 11 android:name="unityplayer.ForwardNativeEventsToDalvik" 12 android:value="true" /> 13 </activity>
<声明:欢迎转载,但请保留文章原始出处>
Unity开发中遇到广告不能点击问题,布布扣,bubuko.com
标签:android style blog color io for ar 问题
原文地址:http://www.cnblogs.com/doris-coding-time/p/3894851.html