Hello, I’m having the same error with android build tools 23.0.1 too.
here is the error log:
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
/Users/user1/Downloads/Android/android-sdk-macosx/build-tools/23.0.1/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S “res” -I “/Users/user1/Downloads/Android/android-sdk-macosx/platforms/android-23/android.jar” -F bin/resources.ap_ --extra-packages com.android.vending.billing:com.unity.purchasing.googleplay:android.support.v7.cardview:android.support.v7.cardview:com.unity.purchasing:com.facebook:com.facebook:com.facebook.android:com.facebook.android:android.support.v4:android.support.v4 -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/GoogleAIDL/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/GooglePlay/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.2.1/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/common/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.9.0/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-wrapper-7.4.0/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-wrapper-7.5.0/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/support-v4-23.1.1/res” -S “/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/support-v4-23.2.1/res”
stderr[
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:117: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:88: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml: note: using v16 attributes; synthesizing resource COM.INCUBATOR.PILLSAGA:layout/com_facebook_device_auth_dialog_fragment for configuration v16.
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute “com_facebook_foreground_color” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute “com_facebook_object_id” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute “com_facebook_object_type” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute “com_facebook_style” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute “com_facebook_auxiliary_view_position” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute “com_facebook_horizontal_alignment” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute “com_facebook_confirm_logout” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute “com_facebook_login_text” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute “com_facebook_logout_text” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute “com_facebook_tooltip_mode” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:25: error: Attribute “com_facebook_preset_size” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:25: error: Attribute “com_facebook_is_cropped” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “cardBackgroundColor” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “cardCornerRadius” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “cardElevation” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “cardMaxElevation” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “cardUseCompatPadding” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “cardPreventCornerOverlap” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “contentPadding” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “contentPaddingLeft” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “contentPaddingRight” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “contentPaddingTop” has already been defined
/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute “contentPaddingBottom” has already been defined
]
stdout[
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Including resources from package: /Users/user1/Downloads/Android/android-sdk-macosx/platforms/android-23/android.jar
applyFileOverlay for drawable
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
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
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_blue.png
trying overlaySet Key=com_facebook_button_send_icon_white.png
trying overlaySet Key=com_facebook_close.png
trying overlaySet Key=com_facebook_favicon_white.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_send_button_icon.xml
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
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_auth_dialog_background.xml, for flavor
trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_auth_dialog_cancel_background.xml, for flavor
trying overlaySet Key=com_facebook_auth_dialog_header_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_auth_dialog_header_background.xml, for flavor
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
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_icon.xml, for flavor
trying overlaySet Key=com_facebook_button_icon_blue.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_icon_blue.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_icon_blue.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_icon_blue.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_icon_blue.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_button_icon_white.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_icon_white.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_icon_white.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_icon_white.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_icon_white.png, for flavor xxhdpi-v4
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, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_like_icon_selected.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_like_icon_selected.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_button_login_silver_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_login_silver_background.xml, for flavor
trying overlaySet Key=com_facebook_button_send_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_send_background.xml, for flavor
trying overlaySet Key=com_facebook_button_send_icon_blue.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_button_send_icon_blue.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_send_icon_blue.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_send_icon_blue.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_button_send_icon_white.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_send_icon_white.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_send_icon_white.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_send_icon_white.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_send_icon_white.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_close.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_close.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_close.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_close.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_favicon_white.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_favicon_white.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_favicon_white.png, for flavor hdpi-v4
found a match (
can anyone help?