{ "id": "151018", "key": "TIMOB-19475", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-08T18:35:21.000+0000", "created": "2015-09-07T22:53:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.0.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-09-21T17:42:01.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "h5.Description\r\n\r\nWhen building an app for Android and API 23 (Android 6.0) is not installed or is not set as the target SDK then the build will fail with the below errors\r\n\r\n{code}\r\n[ERROR] Failed to package application:\r\n\r\n[ERROR]\r\n[ERROR] C:\\Users\\Ewan\\AppData\\Local\\Temp\\11587-3632-barql9\\res\\values-v23\\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches\r\n the given name 'android:Widget.Material.Button.Colored'.\r\n[ERROR]\r\n[ERROR] C:\\Users\\Ewan\\AppData\\Local\\Temp\\11587-3632-barql9\\res\\values-v23\\styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that ma\r\ntches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.\r\n{code}\r\n\r\nThis error is related to app compat which has been updated in [this commit|https://github.com/appcelerator/titanium_mobile/pull/7128]\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Either uninstall API 23 or set the target SDK in the tiapp.xml using {{}}\r\n2. Build for Android using {{appc run -p android -T device --build-only}}\r\n\r\n\r\nh5.Actual result\r\n\r\nThe build will fail\r\n\r\nh5.Expected result\r\n\r\nThe build should exit and tell the user that API 23 is required to build using 5.0.0", "attachment": [], "flagged": false, "summary": "Android: Build fails if target SDK is lower than API 23", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1\r\nAppc CLI Core: 5.0.0-37\r\nAppc CLI NPM: 4.2.0-1\r\nTi SDK: 5.0.0.v20150906220721\r\nGalaxy Note 3 (4.4.2)", "comment": { "comments": [ { "id": "362552", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Isn't API 21 the minimum supported Android SDK to build apps?", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-09-08T17:54:56.000+0000", "updated": "2015-09-08T17:54:56.000+0000" }, { "id": "362556", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/7139\r\n5_0_X: https://github.com/appcelerator/titanium_mobile/pull/7144", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-09-08T18:13:42.000+0000", "updated": "2015-09-08T18:34:03.000+0000" }, { "id": "362694", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "5_0_X revert: https://github.com/appcelerator/titanium_mobile/pull/7156", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-09T22:28:18.000+0000", "updated": "2015-09-09T22:28:18.000+0000" }, { "id": "363913", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "No build failure when Android API 23 not installed or target less than API level 23.\r\nVerified on:\r\nMac OS 10.10.5\r\nAppc CLI NPM: 4.2.0-8\r\nAppc CLI Core: 5.0.0-51\r\nTitanium CLI: 5.0.3\r\nSDK: 5.0.0.v20150914163105\r\n", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-15T07:44:49.000+0000", "updated": "2015-09-15T07:44:49.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }