[TIMOB-24733] Android: Missing --no-version-vectors options for AAPT in during app builds
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-05-26T18:26:28.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 6.1.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Jan Vennemann |
| Assignee | Jan Vennemann |
| Created | 2017-05-24T22:52:15.000+0000 |
| Updated | 2018-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
PR (master): https://github.com/appcelerator/titanium_mobile/pull/9084 PR (6_1_X): https://github.com/appcelerator/titanium_mobile/pull/9085
Review passed for backport PR.
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.