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

Android: Missing --no-version-vectors options for AAPT in during app builds

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.1.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      TiSDK 6.1.0.v20170524131825

    • Story Points:
      1

      Description

      Steps to reproduce the behavior

      1. Run the example from TIMOB-24446 on an Android 4.4.4 device

      Actual behavior
      The app crashes with the following error:

      [ERROR] :  VdcInflateDelegate: Exception while inflating <vector>
      [ERROR] :  VdcInflateDelegate: org.xmlpull.v1.XmlPullParserException: Binary XML file line #2<vector> tag requires viewportWidth > 0
      

      Expected behavior
      The app runs without crashing

      Additional notes
      This is caused by the missing --no-version-vectors option when we call AAPT, which is now required after updating the Android Support Libraries in TIMOB-24438 and using vector drawables. See https://developer.android.com/guide/topics/graphics/vector-drawable-resources.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                jvennemann Jan Vennemann
                Reviewer:
                Joshua Quick
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10720
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration