Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25673] Android: Compile log contains too many XML node warnings

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, CLI
Labelscli, warn
ReporterMichael Gangolf
AssigneeUnknown
Created2018-01-14T16:27:40.000+0000
Updated2021-09-30T18:00:04.000+0000

Description

Compiling an Android app with SDK 7.0.1.GA shows a lot of warnings in the log about XML nodes that are overwritten:
...
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-port/values-port.xml => /build/android/res/values-port/values-port.xml
[WARN]  Overwriting XML node abc_action_bar_embed_tabs in file /build/android/res/values-port/values-port.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-pt/values-pt.xml => /build/android/res/values-pt/values-pt.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-pt/values-pt.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-pt-rBR/values-pt-rBR.xml => /build/android/res/values-pt-rBR/values-pt-rBR.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-pt-rBR/values-pt-rBR.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-pt-rPT/values-pt-rPT.xml => /build/android/res/values-pt-rPT/values-pt-rPT.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-pt-rPT/values-pt-rPT.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-ro/values-ro.xml => /build/android/res/values-ro/values-ro.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-ro/values-ro.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-ru/values-ru.xml => /build/android/res/values-ru/values-ru.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-ru/values-ru.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-si/values-si.xml => /build/android/res/values-si/values-si.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-si/values-si.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-sk/values-sk.xml => /build/android/res/values-sk/values-sk.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-sk/values-sk.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-sl/values-sl.xml => /build/android/res/values-sl/values-sl.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-sl/values-sl.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-sq/values-sq.xml => /build/android/res/values-sq/values-sq.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-sq/values-sq.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-sr/values-sr.xml => /build/android/res/values-sr/values-sr.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-sr/values-sr.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-sv/values-sv.xml => /build/android/res/values-sv/values-sv.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-sv/values-sv.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-sw/values-sw.xml => /build/android/res/values-sw/values-sw.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-sw/values-sw.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-ta/values-ta.xml => /build/android/res/values-ta/values-ta.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-ta/values-ta.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-te/values-te.xml => /build/android/res/values-te/values-te.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-te/values-te.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-th/values-th.xml => /build/android/res/values-th/values-th.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-th/values-th.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-tl/values-tl.xml => /build/android/res/values-tl/values-tl.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-tl/values-tl.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-tr/values-tr.xml => /build/android/res/values-tr/values-tr.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-tr/values-tr.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-uk/values-uk.xml => /build/android/res/values-uk/values-uk.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-uk/values-uk.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-ur/values-ur.xml => /build/android/res/values-ur/values-ur.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-ur/values-ur.xml
[DEBUG] Merging /tmp/118014-16526-zphxif.2vskj/res/values-uz/values-uz.xml => /build/android/res/values-uz/values-uz.xml
[WARN]  Overwriting XML node status_bar_notification_info_overflow in file /build/android/res/values-uz/values-uz.xml
...
with ti.map it is even more (short snipped):
...
[WARN]  Overwriting XML node common_google_play_services_enable_button in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_enable_text in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_enable_title in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_install_button in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_install_title in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_notification_ticker in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_unsupported_text in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_update_button in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_update_text in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_update_title in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_updating_text in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_open_on_phone in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_signin_button_text in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_signin_button_text_long in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node LoadingImageView in file /build/android/res/values/values.xml
[WARN]  Overwriting XML node common_google_play_services_enable_button in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_enable_text in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_enable_title in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_install_button in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_install_title in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_notification_ticker in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_unsupported_text in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_update_button in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_update_text in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_update_title in file /build/android/res/values-af/values-af.xml
[WARN]  Overwriting XML node common_google_play_services_updating_text in file /build/android/res/values-af/values-af.xml
...
Since they are not related to my code they should be ignored. Source: https://github.com/appcelerator/titanium_mobile/blob/d877ab08e2bba1950d294601b3249e6d6ec79f5f/android/cli/lib/base-builder.js#L52

Comments

  1. Mostafizur Rahman 2018-01-15

    Hello [~michael], Thanks for sharing with us. Please provide a full sample test code that regenerates the issue. Better to provide a sample app as an attachment here. We will test the issue in our environment. Also, provide the SDK and CLI version you are testing on.
  2. Michael Gangolf 2021-09-30

    [~lchoudhary] can you close this old issue please? It's not an issue anymore since it is using gradle now and the part that code part is removed from the repository.

JSON Source