{ "id": "148055", "key": "TIMOB-18934", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" }, { "id": "16878", "description": "Release 4.0.1", "name": "Release 4.0.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-05-29T00:51:52.000+0000", "created": "2015-05-21T07:47:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "faild", "package" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [ { "id": "47846", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "143566", "key": "TIMOB-18448", "fields": { "summary": "Android vendor dependency version has to be updated", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "47845", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "133531", "key": "TIMOB-17357", "fields": { "summary": "Android: Support Material Theme", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-05-29T20:47:34.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": "Customers recently upgraded my Appcelerator studio to 4.0.. \r\nAfter that they are facing problems to run my app on a android device. \r\nGet the following error: \r\n\r\n{code}\r\n[INFO] : Packaging application: C:\\Program Files\\Android\\android-sdk-windows\\build-tools\\21.1.2\\aapt.exe \"package\" \"-f\" \"-m\" \"-J\" \"G:\\Projects\\Cheetah\\mscripts-application\\build\\android\\gen\" \"-M\" \"G:\\Projects\\Cheetah\\mscripts-application\\build\\android\\AndroidManifest.xml\" \"-A\" \"G:\\Projects\\Cheetah\\mscripts-application\\build\\android\\bin\\assets\" \"-S\" \"G:\\Projects\\Cheetah\\mscripts-application\\build\\android\\res\" \"-I\" \"C:\\Program Files\\Android\\android-sdk-windows\\platforms\\android-20\\android.jar\" \"-F\" \"G:\\Projects\\Cheetah\\mscripts-application\\build\\android\\bin\\app.ap_\" \"--auto-add-overlay\" \"--extra-packages\" \"ti.modules.titanium.ui:android.support.v7.appcompat:com.google.android.gms\" \"-S\" \"C:\\Users\\DNANDA~1\\AppData\\Local\\Temp\\115421-14124-1m3ldk9/res\" \"-S\" \"C:\\Users\\DNANDA~1\\AppData\\Local\\Temp\\115421-14124-11nyo91/res\"\r\n[ERROR] : Failed to package application:\r\nTRACE | titanium exited with exit code 1\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n{code}\r\n\r\nAttached necessary info. ", "attachment": [ { "id": "55505", "filename": "log file.txt", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-05-21T07:59:35.000+0000", "size": 3430953, "mimeType": "text/plain" }, { "id": "55504", "filename": "ti info.txt", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-05-21T07:59:30.000+0000", "size": 17718, "mimeType": "text/plain" }, { "id": "55503", "filename": "ti setup check.txt", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-05-21T07:59:29.000+0000", "size": 3744, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Failed to package application if API Level 21 not installed. Process exit value was 1", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "See the attached ti info file\r\n", "comment": { "comments": [ { "id": "353196", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sliang0904] Can you please attach the full build log?\r\n\r\nSince this does work for others, my expectation is that there is a configuration issue. Possible items:\r\n\r\n# We are requiring API level 21 with 4.0.0. TIMOB-17357\r\n# I think the true issue is TIMOB-18448. In that, they need to make sure they have API level 21 installed.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-21T13:30:42.000+0000", "updated": "2015-05-21T13:30:42.000+0000" }, { "id": "353197", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~bhatfield] we should make sure this is prominent in the release notes. [~fokkezb] [~emerriman] [~rtlechuga] any additional thoughts?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-21T13:31:24.000+0000", "updated": "2015-05-21T13:31:24.000+0000" }, { "id": "353198", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FWIW, this is confirmed by the installed SDKs:\r\n\r\n{code}\r\n 10) android-17\r\n Name = Android 4.2.2\r\n API Level = 17\r\n Revision = 2\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = armeabi-v7a\r\n Path = C:\\Program Files\\Android\\android-sdk-windows\\platforms\\android-17\r\n 11) android-19\r\n Name = Android 4.4.2\r\n API Level = 19\r\n Revision = 3\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = no ABIs.\r\n Path = C:\\Program Files\\Android\\android-sdk-windows\\platforms\\android-19\r\n 12) android-20\r\n Name = Android 4.4W\r\n API Level = 20\r\n Revision = 1\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = no ABIs.\r\n Path = C:\\Program Files\\Android\\android-sdk-windows\\platforms\\android-20\r\n{code}", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-21T13:33:12.000+0000", "updated": "2015-05-21T13:33:12.000+0000" }, { "id": "353212", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You can target down to API 14. You just need 21 installed to build.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-21T16:00:39.000+0000", "updated": "2015-05-21T16:00:39.000+0000" }, { "id": "353240", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~ingo] I think we should make sure in these cases the build doesn't crash but gives some understandable feedback to the user. If we require 21, it should say so.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-05-21T19:17:21.000+0000", "updated": "2015-05-21T19:17:21.000+0000" }, { "id": "353241", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fokkezb] I think it will, assuming that TIMOB-18448 is fixed. [~hpham] is that the case?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-21T19:19:45.000+0000", "updated": "2015-05-21T19:19:45.000+0000" }, { "id": "353242", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes that is fixed. You need API 21 as target SDK. Min SDK is still 10, meaning you can run on devices with API 10+. So client needs to have API 21 installed on their machine.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-21T19:30:23.000+0000", "updated": "2015-05-21T19:30:23.000+0000" }, { "id": "353847", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-29T00:51:36.000+0000", "updated": "2015-05-29T00:51:36.000+0000" }, { "id": "353921", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-29T20:47:16.000+0000", "updated": "2015-05-29T20:47:16.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }