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 /
avatar image
1
Question by SvitKnabis · Jul 08, 2016 at 09:56 AM · facebooksdkandroid-manifest

Failed to re-package resources after importing facebook-unity-sdk-7.6.0

Before importing facebook-unity-sdk-7.6.0 everything worked fine. I could build apk files but now i can't

error message: CommandInvokationFailure: Failed to re-package resources. See the Console for details. C:\Android\sdk\build-tools\23.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Android/sdk\platforms\android-24\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.cardview:com.facebook:com.facebook:com.facebook.android:com.facebook.android:android.support.v4:com.unity3d.ads.android -S "C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\cardview-v7-23.4.0\res" -S "C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res" -S "C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res" -S "C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.6.0\res" -S "C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-wrapper-release\res" -S "C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\support-v4-23.4.0\res" -S "C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res"

stderr[ C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\layout\com_facebook_device_auth_dialog_fragment.xml:117: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\layout\com_facebook_device_auth_dialog_fragment.xml:88: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\layout\com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\layout\com_facebook_device_auth_dialog_fragment.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v16 attributes; synthesizing resource com.SVITKNABIS:layout/com_facebook_device_auth_dialog_fragment for configuration v16. C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:61: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:52: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:44: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:19: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:10: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml: note: using v17 attributes; synthesizing resource com.SVITKNABIS:layout/unityads_button_audio_toggle for configuration v17. C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_pause.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_pause.xml: note: using v17 attributes; synthesizing resource com.SVITKNABIS:layout/unityads_button_pause for configuration v17. C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:92: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:57: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:57: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:44: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml: note: using v17 attributes; synthesizing resource com.SVITKNABIS:layout/unityads_view_video_play for configuration v17. C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:21: error: Attribute "com_facebook_foreground_color" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:21: error: Attribute "com_facebook_object_id" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:21: error: Attribute "com_facebook_object_type" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:21: error: Attribute "com_facebook_style" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:21: error: Attribute "com_facebook_auxiliary_view_position" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:21: error: Attribute "com_facebook_horizontal_alignment" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:22: error: Attribute "com_facebook_confirm_logout" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:22: error: Attribute "com_facebook_login_text" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:22: error: Attribute "com_facebook_logout_text" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:22: error: Attribute "com_facebook_tooltip_mode" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:23: error: Attribute "com_facebook_preset_size" has already been defined

C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res\values\values.xml:23: error: Attribute "com_facebook_is_cropped" has already been defined

] stdout[ Configurations: (default)

Files: drawable\unityads_background_button_pause.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_background_button_pause.xml drawable\unityads_icon_play.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_play.xml drawable\unityads_icon_speaker_base.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_speaker_base.xml drawable\unityads_icon_speaker_triangle.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_speaker_triangle.xml drawable\unityads_icon_speaker_waves.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_speaker_waves.xml layout\unityads_button_audio_toggle.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml layout\unityads_button_pause.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_pause.xml layout\unityads_view_video_paused.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_paused.xml layout\unityads_view_video_play.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml values\values.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\values\values.xml AndroidManifest.xml Src: () AndroidManifest.xml

Resource Dirs: Type drawable drawable\unityads_background_button_pause.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_background_button_pause.xml drawable\unityads_icon_play.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_play.xml drawable\unityads_icon_speaker_base.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_speaker_base.xml drawable\unityads_icon_speaker_triangle.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_speaker_triangle.xml drawable\unityads_icon_speaker_waves.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\drawable\unityads_icon_speaker_waves.xml Type layout layout\unityads_button_audio_toggle.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml layout\unityads_button_pause.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_pause.xml layout\unityads_view_video_paused.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_paused.xml layout\unityads_view_video_play.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml Type values values\values.xml Src: () C:\Users\Emils Smits\Desktop\Emils\SerklWheel\Temp\StagingArea\android-libraries\unityads-release\res\values\values.xml Including resources from package: C:\Android\sdk\platforms\android-24\android.jar applyFileOverlay for drawable trying overlaySet Key=com_facebook_button_background.xml trying overlaySet Key=com_facebook_button_icon.png trying overlaySet Key=com_facebook_button_like_background.xml trying overlaySet Key=com_facebook_button_like_icon_selected.png trying overlaySet Key=com_facebook_button_login_silver_background.xml trying overlaySet Key=com_facebook_button_send_background.xml trying overlaySet Key=com_facebook_button_send_icon.png trying overlaySet Key=com_facebook_close.png trying overlaySet Key=com_facebook_profile_picture_blank_portrait.png trying overlaySet Key=com_facebook_profile_picture_blank_square.png trying overlaySet Key=com_facebook_tooltip_black_background.9.png trying overlaySet Key=com_facebook_tooltip_black_bottomnub.png trying overlaySet Key=com_facebook_tooltip_black_topnub.png trying overlaySet Key=com_facebook_tooltip_black_xout.png trying overlaySet Key=com_facebook_tooltip_blue_background.9.png trying overlaySet Key=com_facebook_tooltip_blue_bottomnub.png trying overlaySet Key=com_facebook_tooltip_blue_topnub.png trying overlaySet Key=com_facebook_tooltip_blue_xout.png trying overlaySet Key=messenger_bubble_large_blue.png trying overlaySet Key=messenger_bubble_large_white.png trying overlaySet Key=messenger_bubble_small_blue.png trying overlaySet Key=messenger_bubble_small_white.png trying overlaySet Key=messenger_button_blue_bg_round.xml trying overlaySet Key=messenger_button_blue_bg_selector.xml trying overlaySet Key=messenger_button_send_round_shadow.png trying overlaySet Key=messenger_button_white_bg_round.xml trying overlaySet Key=messenger_button_white_bg_selector.xml trying overlaySet Key=com_facebook_auth_dialog_background.xml trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml trying overlaySet Key=com_facebook_auth_dialog_header_background.xml trying overlaySet Key=com_facebook_button_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_button_background.xml, for flavor trying overlaySet Key=com_facebook_button_icon.xml trying overlaySet Key=com_facebook_button_icon_blue.png trying overlaySet Key=com_facebook_button_icon_white.png trying overlaySet Key=com_facebook_button_like_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_button_like_background.xml, for flavor trying overlaySet Key=com_facebook_button_like_icon_selected.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file com_facebook_button_like_icon_selected.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_button_like_icon_selected.png, f

Comment
Add comment · Show 1
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 richoncode · Sep 16, 2016 at 11:38 AM 1
Share

I am seeing this now. did you ever find a fix?

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

facebook sdk problem 1 Answer

failed to re-package resources after importing facebook-unity-sdk-7.6.0 0 Answers

Problem Geting friends Facebook Sdk 0 Answers

Facebook SDK v7.2 login not working when on android 2 Answers

How to get FB SDK accesToken for page ? 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