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 Piira · Dec 17, 2014 at 09:56 PM · pluginfacebookadmobgoogle play games

Could multiple plugins cause some problems?

So, I'm trying to implement three different plugins for my game and I'm wondering if they could prevent each others from working. It just seems like when I'm adding new plugins the old ones stop working because of it.

I'm using AdMob, Google Play Games and Facebook SDK.

First I added the AdMob plugin without any problem but sometime after that the ad banner stopped working. And same thing with the Facebook plugin. I've tried it out before but now I can't even manage to login. And when it comes to Google Play Games, the login is the only thing that works.

I have no idea what's the problem but if I've understood correctly it might have something to do with the Android Manifest file. Not sure really. I've tried to search some information about this for a long time but nothing seems to help.

Edit:

alt text

alt text

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:theme="@android:style/Theme.NoTitleBar" android:versionCode="1" android:versionName="1.0">
   <!-- Standard manifest stuff here -->
   
   <uses-sdk android:targetSdkVersion="18" android:minSdkVersion="9"/>
 
   <!-- Used to request banner and interstitial ads. -->
 
   <uses-permission android:name="android.permission.INTERNET"/>
 
   <!-- Used to avoid sending an ad request if there is no connectivity. -->
 
   <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
   
   <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
   
   <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true">
     <activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:launchMode="singleTask" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
       <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="false" />
     </activity>
     
     <!-- MAKE SURE YOU INCLUDE THE FOLLOWING SECTIONS FOR FACEBOOK -->
     <activity android:name="com.facebook.unity.FBUnityLoginActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
     </activity>
     <!-- You can change your Facebook login screen orientation here -->
     <activity android:name="com.facebook.LoginActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
     </activity>
     <activity android:name="com.facebook.unity.FBUnityDeepLinkingActivity" android:exported="true">
     </activity>
     
     <!-- Make sure you change the AppID to yours -->
     <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="\ 1435117936777980" />
     
     <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
 
     <!-- AdMob -->
     
     <activity android:name="com.google.android.gms.samples.ads.GoogleAdsSampleActivity" android:label="@string/app_name">
     
     </activity>
     
     <activity android:name=".BannerXmlActivity" android:label="@string/banner_in_xml"/>
     
     <activity android:name=".BannerCodeActivity" android:label="@string/banner_in_code"/>
     
     <activity android:name=".InterstitialActivity" android:label="@string/interstitial"/>
     
     <!-- Activity required to show ad overlays. -->
     
     <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
     
   </application>
   
 </manifest>

error.png (22.0 kB)
manifest files.png (23.5 kB)
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by aqibbutt · Oct 16, 2015 at 10:33 PM

I am having the same problem , you can remove all copies of manifest files. other then that if you get the solution please do tell me ...

Comment
Add comment · Share
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

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

In dire need of help with integrating ads into my game 0 Answers

AdMob Ads Not Showing in Android 0 Answers

I am using these Plugins --> Unity Admob Mediation (Applovin, Unity Ads, Facebook Ads, Inmobi) + Unity IAP + Facebook Analytics + GPGS 1 Answer

GooglePlayGames plugin path not correct? 0 Answers

Admob plugin error: Java.Lang.ClassNotFoundException: com.google.android.gms.ads.mobileads 2 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