- Home /
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