• 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 /
  • Help Room /
avatar image
1
Question by RonaldDPetersII · Feb 18, 2017 at 03:18 AM · facebook

Facebook SDK v7.9.x doesn't merge manifests

The Facebook SDK for Unity v7.9.0/7.9.4 upgraded its internal Facebook Android SDK from 4.14 to 4.17. In version 4.16 of the SDK, the following change was made which has carried through all new versions:

 -   android:theme="@android:style/Theme.Translucent.NoTitleBar" />  
 +   android:theme="@style/com_facebook_activity_theme" />  

Changelog: https://github.com/facebook/facebook-android-sdk/commit/ee7fdb16b260637222aa8726e3e29ec9536ac9f0#diff-1b1024d6bc6def0e7c192dab15687476

Now when I build, I get the following error:

 Error: [Temp\StagingArea\AndroidManifest-main.xml:27,...Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.facebook.FacebookActivity] element:
   <activity
       @android:name="com.facebook.FacebookActivity"
 --    @android:theme="@android:style/Theme.Translucent.NoTitleBar">
   <activity
       @android:name="com.facebook.FacebookActivity"
 ++    @android:theme="@style/com_facebook_activity_theme">

Why was this change made and can someone change it back? I'm stuck now.

FYI, I am also using Stan's Assets Mobile Social Plugin v9.4/17.

Comment
Add comment · Show 2
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
avatar image AlienJim · Apr 20, 2017 at 08:38 PM 0
Share

I have just come across this problem myself and its been over 2 months with no answer? There must be some sort of solution to this.

avatar image Shifty-Geezer · May 21, 2017 at 09:02 AM 0
Share

I've just encountered the same problem. Have you got a fix? There's nothing at Stan's Assets to explain how to handle this.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by jrsbarros · May 05, 2017 at 12:59 PM

Hi, I had the same problem and I fix it deleting all facebook package and Installing again. Unfortunately, I updated the Unity to 5.6 and when I build the game and try to log in through the apk on facebook the dialog crashes and I can't do that. I have already seen that are 2 ticket to fix it.

https://github.com/facebook/facebook-sdk-for-unity/issues/70 https://github.com/facebook/facebook-sdk-for-unity/issues/73

If you didn't update the Unity I suppose you may not to do it.

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
avatar image
0

Answer by Carrmichaelll · Jul 12, 2017 at 06:13 AM

Hi, please how did you solve this issue, i'm currently having the same problem

@RonaldDPetersII

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

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

Facebook SDK Json Parsing with foreach loop not updating 1 Answer

Failed to re-package resources 0 Answers

If you install the Google Play Game Plugin, you will not be able to sign in to Facebook. (iOS) 1 Answer

CommandInvokationFailure: Failed to re-package resources Mapbox/FB 0 Answers

MarshalDirectiveException: Cannot marshal type 'System.Collections.Generic.IEnumerable`1' 4 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