Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ugurrrrr · Mar 29, 2014 at 03:29 PM · androidadmobclickbanner

Unity Admob Banner is not clickable.

Hello,

I'm developing an Android game with Unity. I used this plugin for Admob. The Interstitial ad is clickable but when i click the banner nothing's happen. I tried this but nothing's changed. Additionally, i tried add com.unity3d.player.UnityPlayerNativeActivity Activity in manifest file and i get this error:

Error building Player: CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. C:\Program Files (x86)\Java\jdk1.8.0\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Program Files (x86)/Android/android-sdk\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" - stderr[ Error: [Temp\StagingArea\AndroidManifest-main.xml:4, C:\Users\UĞUR\Documents\DefendTheCore\Temp\StagingArea\android-libraries\MainLibProj\AndroidManifest.xml:15] Trying to merge incompatible /manifest/application/activity[@name=com.unity3d.player.UnityPlayerNativeActivity] element: -- -- ++ ] stdout[ ]

How can i solve this problem? Any suggestions will make me happy. Thanks.

Here is my manifest file:

 <?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>



Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android Banner disappears after touching the screen 2 Answers

Google Mobile Ads Interstitial ads is not showing in unity 2 Answers

Can't set ForwardNativeEventsToDalvik to true? 1 Answer

Why does my AdMob banner not appear on my Samsung TabA? 0 Answers

implementing admob banners in unity 3d visual studio project 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges