Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24733] Android: Missing --no-version-vectors options for AAPT in during app builds

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-05-26T18:26:28.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0
ComponentsAndroid
Labelsn/a
ReporterJan Vennemann
AssigneeJan Vennemann
Created2017-05-24T22:52:15.000+0000
Updated2018-08-06T17:49:16.000+0000

Description

*Steps to reproduce the behavior*

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

Comments

  1. Jan Vennemann 2017-05-24

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/9084 PR (6_1_X): https://github.com/appcelerator/titanium_mobile/pull/9085
  2. Lokesh Choudhary 2017-05-26

    Review passed for backport PR.
  3. Eric Merriman 2018-08-06

    Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.

JSON Source