Question by
TBrayner · Mar 12, 2018 at 02:27 AM ·
build-errorfacebookresourcesgoogle play
Unity 2017.3.1f1 (Failed to re-package resources) (Facebook + Google Play services)
Can anyone help me to solve the following problem:
CommandInvokationFailure: Failed to re-package resources.
C:\Android-SDK\build-tools\27.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Android-SDK\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.nearby:com.google.android.gms.tasks:com.google.games.bridge:com.facebook:com.facebook.android:com.facebook.android:com.facebook.applinks:com.facebook.common:com.facebook.core:com.facebook.login:com.facebook.messenger:com.facebook.places:com.facebook.share:com.google.example.games.mainlibproj:com.tbrappboom.resources -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.animated-vector-drawable-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.cardview-v7-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.customtabs-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.support-compat-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.support-fragment-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.support-v4-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.android.support.support-vector-drawable-25.3.1\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-base-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-drive-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-games-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-nearby-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-tasks-10.2.6\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\com.google.games.gpgs-plugin-support-0.9.42\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.11.0\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-wrapper-release\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-applinks\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-common\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-core\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-login\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-messenger\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-places\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-share\res" -S "F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\unity-android-resources\res"
stderr[
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\unity-android-resources\res\values\api-versions.xml:2: error: Invalid start tag api
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res\values\values.xml:18: error: Attribute "com_facebook_object_type" already defined with incompatible format.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-common\res\values\values.xml:18: Original attribute defined here.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res\values\values.xml:18: error: Attribute "com_facebook_style" already defined with incompatible format.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-common\res\values\values.xml:23: Original attribute defined here.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res\values\values.xml:18: error: Attribute "com_facebook_auxiliary_view_position" already defined with incompatible format.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-common\res\values\values.xml:28: Original attribute defined here.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res\values\values.xml:18: error: Attribute "com_facebook_horizontal_alignment" already defined with incompatible format.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-common\res\values\values.xml:33: Original attribute defined here.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res\values\values.xml:19: error: Attribute "com_facebook_tooltip_mode" already defined with incompatible format.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-login\res\values\values.xml:8: Original attribute defined here.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-android-sdk-4.7.0\res\values\values.xml:20: error: Attribute "com_facebook_preset_size" already defined with incompatible format.
F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\facebook-login\res\values\values.xml:14: Original attribute defined here.
]
stdout[
Configurations:
(default)
Files:
values\api-versions.xml
Src: () F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\unity-android-resources\res\values\api-versions.xml
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Type values
values\api-versions.xml
Src: () F:\_Works\Games\Boom\Temp\StagingArea\android-libraries\unity-android-resources\res\values\api-versions.xml
Including resources from package: C:\Android-SDK\platforms\android-26\android.jar
applyFileOverlay for drawable
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_send_button_icon.xml
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_button_login_background.xml
trying overlaySet Key=com_facebook_button_login_logo.xml
trying overlaySet Key=com_facebook_button_login_silver_background.xml
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=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_close.png
trying overlaySet Key=com_facebook_favicon_blue.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.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, 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.png
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_profile_picture_blank_portrait.png
baseFile 0 has flavor mdpi-v4
overlayFile 0 has flavor mdpi-v4
found a match (0) for overlay file com_facebook_profile_picture_blank_portrait.png, for flavor mdpi-v4
trying overlaySet Key=com_facebook_profile_picture_blank_square.png
baseFile 0 has flavor mdpi-v4
overlayFile 0 has flavor mdpi-v4
found a match (0) for overlay file com_facebook_profile_picture_blank_square.png, for flavor mdpi-v4
trying overlaySet Key=com_facebook_tooltip_black_background.9.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_tooltip_black_background.9.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_background.9.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_background.9.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_black_bottomnub.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_tooltip_black_bottomnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_bottomnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_bottomnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_black_topnub.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_tooltip_black_topnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_topnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_topnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_black_xout.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_tooltip_black_xout.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_xout.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_xout.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_blue_background.9.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_tooltip_blue_background.9.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_blue_background.9.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_blue_background.9.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_blue_bottomnub.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_tooltip_blue_bottomnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_blue_bottomnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_blue_bottomnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_blue_topnub.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_tooltip_blue_topnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_blue_topnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_blue_topnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_b<message truncated>
Comment
Your answer
Follow this Question
Related Questions
CommandInvokationFailure: Failed to re-package resources. 0 Answers
CommandInvokationFailure: Failed to re-package resources 0 Answers
CommandInvokationFailure: Failed to recompile android resource files. 0 Answers
FacebookGameRoom Build Error 1 Answer
Android app not compliant with google play 64 bit requirements despite following the instructions 1 Answer