2014-03-29 5 views
0

Unity와 함께 Android 게임을 개발 중입니다. Admob에 this 플러그인을 사용했습니다. 전면 광고는 클릭 할 수 있지만 배너를 클릭해도 아무 것도 발생하지 않습니다. this을 시도했지만 아무 것도 변경되지 않았습니다. 또한, 나는 매니페스트 파일에 com.unity3d.player.UnityPlayerNativeActivity 활동을 추가 시도하고 나는이 오류가 발생했습니다 : Unity AdMob 배너를 클릭 할 수 없습니다.

Trying to merge incompatible /manifest/application/activity[@name=com.unity3d.player.UnityPlayerNativeActivity] element:

가 어떻게이 문제를 해결할 수

? 어떤 제안이라도 나를 행복하게 할 것입니다. 감사.

<?xml version="1.0" encoding="utf-8"?> 
<!-- This file was automatically generated by the Google Play Games plugin for Unity 
    Do not edit. --> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="com.google.example.games.mainlibproj" 
    android:versionCode="1" 
    android:versionName="1.0" > 

    <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" /> 

    <application> 
     <meta-data android:name="com.google.android.gms.games.APP_ID" 
       android:value="\ 123456789123" /> 
     <meta-data android:name="com.google.android.gms.appstate.APP_ID" 
       android:value="\ 123456789123" /> 
     <meta-data android:name="com.google.android.gms.version" 
       android:value="@integer/google_play_services_version" /> 
     <activity android:name="com.google.example.games.pluginsupport.SignInHelperActivity" 
       android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> 
     <activity android:name="com.google.example.games.pluginsupport.SelectOpponentsHelperActivity" 
       android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> 
     <activity android:name="com.google.example.games.pluginsupport.InvitationInboxHelperActivity" 
       android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> 

     <activity android:name="com.google.android.gms.ads.AdActivity" 
      android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>   

     <activity android:name ="com.unity3d.player.UnityPlayerProxyActivity" android:launchMode="singleTask" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="landscape"> 
      <intent-filter> 
       <action android:name ="android.intent.action.MAIN" /> 
       <category android:name ="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
      <meta-data android:name ="unityplayer.ForwardNativeEventsToDalvik" android:value ="true" /> 
     </activity> 

    </application> 

    <uses-permission android:name="android.permission.INTERNET"/> 
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 

</manifest> 

답변

1

화합에 최소 SDK 버전을 확인합니다

여기 내 매니페스트 파일입니다. 당신은 8을 선언했고 기본적으로 google은 서비스를 실행합니다. 최소 sdk는 9입니다. 화합을 통해 9로 sdk를 변경하고 작동하도록하십시오.

+0

답장을 보내 주셔서 감사합니다. 나는 다른 플러그인을 사용했고 두 광고는 모두 현명합니다. – ugurrrrr

관련 문제