Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25673

Android: Compile log contains too many XML node warnings

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android, CLI
    • Labels:

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michael Michael G
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code