{ "id": "129593", "key": "TIMOB-16877", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-05-15T18:18:26.000+0000", "created": "2014-04-23T18:52:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.3.0", "regression" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "37222", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "126270", "key": "ALOY-956", "fields": { "summary": "Jake: remove hardcoded SDK version", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-23T17:15:09.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5. Problem description\r\nIf specifying an Android targetSdkVersion lower than '14' in the Android manifest, the build fails.\r\n\r\nh5. Steps to reproduce\r\n1. Create a new Titanium classic or Alloy project\r\n2. Edit TiApp.xml and add the following lines:\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n{code}\r\n3. Build the app.\r\n\r\nResult: build fails with errors relative to Holo themes and activebars. See attached log.\r\n\r\n4. Edit TiApp.xml and set \"14\" as the targetSdkVersion.\r\nResult: build is successful and app runs as expected.\r\n\r\nThe issue is only reproducible using TiSDK 3.3.0.\r\nNot reproducible with TiSDK 3.2.X. It could be a regression.", "attachment": [ { "id": "47656", "filename": "android_330_SDKv11.log", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T18:52:55.000+0000", "size": 14082, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Build errors setting a targetSdkVersion lower than 14", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.3.0.v20140422163054\r\nCLI 3.3.0-dev\r\n", "closedSprints": [ { "id": 104, "state": "closed", "name": "2014 Sprint 10 SDK", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:47.424Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "302282", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I too see this issue when sdk 3.3.0 is used. The app packaging during build fails as indicated in the attached log file when the android sdk version is 14 or lower.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T20:51:40.000+0000", "updated": "2014-04-23T20:51:40.000+0000" }, { "id": "305140", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is expected behavior, since AppCompat requires 14 to compile certain assets. This will be in the release notes, and is already documented here: http://docs.appcelerator.com/titanium/latest/#!/guide/Android_Themes. Resolving issue as invalid.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T18:18:01.000+0000", "updated": "2014-05-15T18:18:01.000+0000" }, { "id": "306254", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as according to [~hpham] comment \"This is expected behavior, since AppCompat requires 14 to compile certain assets\".\r\n\r\nThe app builds without any errors if the targetSdkversion is set to 14.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T17:15:09.000+0000", "updated": "2014-05-23T17:15:09.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }