- Home /
CommandInvokationFailure: Failed to re-package resources
CommandInvokationFailure: Failed to re-package resources. D:\Spinbot\android-sdk\android-sdk-windows\build-tools\28.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "D:/Spinbot/android-sdk/android-sdk-windows\platforms\android-28\android.jar" -F bin/resources.ap_ --extra-packages android.arch.core:android.arch.lifecycle.livedata.core:android.arch.lifecycle:android.arch.lifecycle.viewmodel:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.stats:com.google.android.gms.tasks:com.google.firebase.firebase_common:com.google.firebase.iid:com.google.firebase.iid.internal:com.google.firebase.analytics.connector:com.google.firebase.messaging:com.urbanairship.unityplugin:com.urbanairship:com.urbanairship.push.fcm:com.ibicha.emojitexture:com.stansassets.mnp:com.urbanairship.unityplugin:com.urbanairship.unityresources -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\android.arch.core.runtime-1.1.0\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\android.arch.lifecycle.livedata-core-1.1.0\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.1.0\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\android.arch.lifecycle.viewmodel-1.1.0\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.android.support.support-compat-27.1.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-27.1.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-27.1.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.android.support.support-fragment-27.1.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-27.1.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.android.support.support-v4-27.1.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-15.0.1\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.firebase.firebase-messaging-17.1.0\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.unity-plugin-5.0.0\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\emojitexture-debug\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\mobile-native-popups\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\unity-plugin-5.0.0\res" -S "D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\urbanairship-resources\res"
stderr[ D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:172: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.InAppBanner.Layout for configuration v21. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:319: note: using v19 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.InAppModal.Activity for configuration v19. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:319: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.InAppModal.Activity for configuration v21. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:366: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.InAppModal.DismissButton for configuration v21. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:377: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.InAppModal.DismissButton.Fullscreen for configuration v21. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:406: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.InAppModal.Layout for configuration v21. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:415: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.InAppModal.Layout.Fullscreen for configuration v21. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:433: note: using v19 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.LandingPageActivity for configuration v19. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:433: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.LandingPageActivity for configuration v21. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:441: note: using v19 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.RateAppActivity for configuration v19. D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.urbanairship.android.urbanairship-core-9.3.2\res\values\values.xml:441: note: using v21 attributes; synthesizing resource com.Astricstore.Imageandvideopicker:style/UrbanAirship.RateAppActivity for configuration v21. AndroidManifest.xml:23: Tag attribute authorities has invalid character '$'. AndroidManifest.xml:39: Tag attribute name has invalid character '$'. AndroidManifest.xml:71: Tag attribute name has invalid character '$'. AndroidManifest.xml:114: Tag attribute name has invalid character '$'. AndroidManifest.xml:117: Tag attribute authorities has invalid character '$'. AndroidManifest.xml:145: Tag attribute name has invalid character '$'. AndroidManifest.xml:150: Tag attribute name has invalid character '$'. ] stdout[ Configurations: (default)
Files: values\values.xml Src: () D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\urbanairship-resources\res\values\values.xml xml\airship_config.xml Src: () D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\urbanairship-resources\res\xml\airship_config.xml AndroidManifest.xml Src: () AndroidManifest.xml
Resource Dirs: Type values values\values.xml Src: () D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\urbanairship-resources\res\values\values.xml Type xml xml\airship_config.xml Src: () D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\urbanairship-resources\res\xml\airship_config.xml Including resources from package: D:\Spinbot\android-sdk\android-sdk-windows\platforms\android-28\android.jar applyFileOverlay for drawable trying overlaySet Key=ua_iam_banner_pull_background.xml trying overlaySet Key=ua_iam_dismiss_background.xml trying overlaySet Key=ua_ic_close.png trying overlaySet Key=ua_ic_close_white_18dp.png trying overlaySet Key=ua_ic_image_placeholder.png trying overlaySet Key=ua_ic_notification_button_accept.png trying overlaySet Key=ua_ic_notification_button_add.png trying overlaySet Key=ua_ic_notification_button_book.png trying overlaySet Key=ua_ic_notification_button_cart.png trying overlaySet Key=ua_ic_notification_button_copy.png trying overlaySet Key=ua_ic_notification_button_decline.png trying overlaySet Key=ua_ic_notification_button_download.png trying overlaySet Key=ua_ic_notification_button_event.png trying overlaySet Key=ua_ic_notification_button_follow.png trying overlaySet Key=ua_ic_notification_button_happy.png trying overlaySet Key=ua_ic_notification_button_info.png trying overlaySet Key=ua_ic_notification_button_open_browser.png trying overlaySet Key=ua_ic_notification_button_remind.png trying overlaySet Key=ua_ic_notification_button_sad.png trying overlaySet Key=ua_ic_notification_button_save.png trying overlaySet Key=ua_ic_notification_button_search.png trying overlaySet Key=ua_ic_notification_button_send.png trying overlaySet Key=ua_ic_notification_button_share.png trying overlaySet Key=ua_ic_notification_button_thumbs_down.png trying overlaySet Key=ua_ic_notification_button_thumbs_up.png trying overlaySet Key=ua_ic_notification_button_unfollow.png trying overlaySet Key=ua_ic_urbanairship_notification.png trying overlaySet Key=ua_item_mc_background.xml trying overlaySet Key=common_full_open_on_phone.png trying overlaySet Key=common_google_signin_btn_icon_dark.xml trying overlaySet Key=common_google_signin_btn_icon_dark_focused.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal_background.9.png trying overlaySet Key=common_google_signin_btn_icon_disabled.xml trying overlaySet Key=common_google_signin_btn_icon_light.xml trying overlaySet Key=common_google_signin_btn_icon_light_focused.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal_background.9.png trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_dark_focused.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal_background.9.png trying overlaySet Key=common_google_signin_btn_text_disabled.xml trying overlaySet Key=common_google_signin_btn_text_light.xml trying overlaySet Key=common_google_signin_btn_text_light_focused.xml trying overlaySet Key=common_google_signin_btn_text_light_normal.xml trying overlaySet Key=common_google_signin_btn_text_light_normal_background.9.png trying overlaySet Key=googleg_disabled_color_18.png trying overlaySet Key=googleg_standard_color_18.png trying overlaySet Key=notification_action_background.xml trying overlaySet Key=notification_bg.xml trying overlaySet Key=notification_bg_low.xml trying overlaySet Key=notification_bg_low_normal.9.png trying overlaySet Key=notification_bg_low_pressed.9.png trying overlaySet Key=notification_bg_normal.9.png trying overlaySet Key=notification_bg_normal_pressed.9.png trying overlaySet Key=notification_icon_background.xml trying overlaySet Key=notification_tile_bg.xml trying overlaySet Key=notify_panel_notification_icon_bg.png trying overlaySet Key=app_banner.png applyFileOverlay for layout trying overlaySet Key=ua_activity_channel_capture.xml trying overlaySet Key=ua_activity_landing_page.xml trying overlaySet Key=ua_fragment_mc.xml trying overlaySet Key=ua_fragment_message.xml trying overlaySet Key=ua_fragment_message_list.xml trying overlaySet Key=ua_fragment_no_message_selected.xml trying overlaySet Key=ua_iam_banner_bottom.xml trying overlaySet Key=ua_iam_banner_button.xml trying overlaySet Key=ua_iam_banner_content_left_media.xml trying overlaySet Key=ua_iam_banner_content_right_media.xml trying overlaySet Key=ua_iam_banner_top.xml trying overlaySet Key=ua_iam_fullscreen_button.xml trying overlaySet Key=ua_iam_fullscreen_header_body_media.xml trying overlaySet Key=ua_iam_fullscreen_header_media_body.xml trying overlaySet Key=ua_iam_fullscreen_media_header_body.xml trying overlaySet Key=ua_iam_html.xml trying overlaySet Key=ua_iam_modal.xml trying overlaySet Key=ua_iam_modal_button.xml trying overlaySet Key=ua_iam_modal_fullscreen.xml trying overlaySet Key=ua_iam_modal_header_body_media.xml trying overlaySet Key=ua_iam_modal_header_media_body.xml trying overlaySet Key=ua_iam_modal_media_header_body.xml trying overlaySet Key=ua_item_mc.xml trying overlaySet Key=ua_item_mc_content.xml trying overlaySet Key=ua_item_mc_icon_content.xml trying overlaySet Key=notification_media_action.xml trying overlaySet Key=notification_media_cancel_action.xml trying overlaySet Key=notification_template_big_media.xml trying overlaySet Key=notification_template_big_media_custom.xml trying overlaySet Key=notification_template_big_media_narrow.xml trying overlaySet Key=notification_template_big_media_narrow_custom.xml trying overlaySet Key=notification_template_lines_media.xml trying overlaySet Key=notification_template_media.xml trying overlaySet Key=notification_template_media_custom.xml trying overlaySet Key=notification_action.xml trying overlaySet Key=notification_action_tombstone.xml trying overlaySet Key=notification_template_custom_big.xml trying overlaySet Key=notification_template_icon_group.xml trying overlaySet Key=notification_template_part_chronometer.xml trying overlaySet Key=notification_template_part_time.xml applyFileOverlay for anim applyFileOverlay for animator trying overlaySet Key=ua_iam_slide_in_bottom.xml trying overlaySet Key=ua_iam_slide_in_top.xml trying overlaySet Key=ua_iam_slide_out_bottom.xml trying overlaySet Key=ua_iam_slide_out_top.xml applyFileOverlay for interpolator applyFileOverlay for transition applyFileOverlay for xml trying overlaySet Key=ua_default_actions.xml trying overlaySet Key=ua_notification_button_overrides.xml trying overlaySet Key=ua_notification_buttons.xml applyFileOverlay for raw trying overlaySet Key=ua_native_bridge applyFileOverlay for color trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_light.xml trying overlaySet Key=common_google_signin_btn_tint.xml applyFileOverlay for menu trying overlaySet Key=ua_mc_action_mode.xml applyFileOverlay for font applyFileOverlay for mipmap trying overlaySet Key=app_icon.png trying overlaySet Key=app_icon.xml trying overlaySet Key=app_icon_round.png trying overlaySet Key=app_icon_round.xml trying overlaySet Key=ic_launcher_background.png trying overlaySet Key=ic_launcher_foreground.png Processing image: res\drawable-xhdpi\app_banner.png Processing image: D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res\drawable-hdpi-v4\common_full_open_on_phone.png Processing image: D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res\drawable-xhdpi-v4\common_full_open_on_phone.png Processing image: D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png (processed image D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 157% size of source) Processing image: D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png (processed image D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res\drawable-hdpi-v4\common_full_open_on_phone.png: 120% size of source) Processing image: D:\Spinbot\fandcer\mobile-app\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png (processed image D:\Spinbot\fandcer\mobile-app\Temp
Answer by liortal · Nov 02, 2018 at 07:51 PM
This is the actual error:
AndroidManifest.xml:39: Tag attribute name has invalid character '$'.
Most probably because you are building using "internal" build system, but Gradle should be used (it automatically converts placeholders starting with $ inside the manfiest file with your app package id, for example.