Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
This question was closed Jan 12, 2017 at 10:07 AM by Crimx for the following reason:

The question is answered, right answer was accepted

avatar image
1
Question by Crimx · Dec 07, 2016 at 11:08 AM · facebookadmob

Facebook SDK error because Duplicate Library with difference Version

Hi, I'm creating game with admob in it and using facebook SDK. Before importing facebook SDK, everything is fine. But, after I imported it I can't build an apk. The cause is because admob using these library: - appcompat-v7-23.1.1 - support-annotations-23.1.1 - support-v4-23.1.1 while facebook SDK using the same library with different version (23.4.0 to be exact).

This is the error log

 Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\animated-vector-drawable-23.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\cardview-v7-23.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\common\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\customtabs-23.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.9.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\GooglePlay\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\play-services-ads-9.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\play-services-ads-lite-9.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\play-services-base-9.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\play-services-basement-9.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\play-services-clearcut-9.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\play-services-gass-9.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\play-services-tasks-9.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\support-v4-23.1.1\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\support-v4-23.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\support-vector-drawable-23.4.0\res" -S "C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\unityads-release\res"
 
 stderr[
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <android.support.v7.widget.ButtonBarLayout>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.agatestudio.quizkaesang:layout/abc_alert_dialog_button_bar_material for configuration v17.
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <android.support.v7.widget.DialogTitle>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.agatestudio.quizkaesang:layout/abc_alert_dialog_material for configuration v17.
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <TextView>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.agatestudio.quizkaesang:layout/abc_dialog_title_material for configuration v17.
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from <android.support.v7.widget.ActionBarContainer>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.agatestudio.quizkaesang:layout/abc_screen_toolbar for configuration v21.
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.agatestudio.quizkaesang:layout/abc_search_view for configuration v17.
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:100: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <Button>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
 C:\Users\Crew\Documents\Source Tree\quiz-iseng-kaesang\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v16 attributes; synthesizing resource com.agatestudio.quizkaesang:layout/com_facebook_device_auth_dialog_fragment for configuration v16.
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 tkamruzzaman · Dec 07, 2016 at 06:02 PM 0
Share

Remove the lower versions libraries.

avatar image Crimx tkamruzzaman · Dec 08, 2016 at 01:37 AM 1
Share

I already tried that but didn't work. Earlier I tried to remove every library in Facebook SD$$anonymous$$ folder one by one. When I deleted facebook-android-wrapper-7.9.0.aar the build is success so I think this library is the cause.

EDIT: never$$anonymous$$d, I forgot to delete support-annotations and support-v4 at facebook's side

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

57 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

Related Questions

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

Error while building; manifest merger failed with multiple errors see logs 1 Answer

Gathering install data (tracking conversions) from Admob and Facebook Ads. Help? 0 Answers

Unable to convert classes into dex format with Unity 5.3.4f1, Admob,Facebook and Unity IAP 0 Answers

Facebook SDK + Admob build Error 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