{ "id": "143566", "key": "TIMOB-18448", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-06-02T05:05:26.000+0000", "created": "2015-01-27T18:53:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "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" }, "inwardIssue": { "id": "148055", "key": "TIMOB-18934", "fields": { "summary": "Android: Failed to package application if API Level 21 not installed. Process exit value was 1", "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 } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-06-02T05:05:31.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": "While trying to build an Android app onto device/emulator, the build consistently failed while packaging the app before it installs the app onto device/emulator.\r\n\r\nHere is the command that fails to package the app before it is run.\r\n{code}\r\nC:\\Users\\Praveen Innamuri\\Documents\\Appcelerator_Studio_Workspace>C:\\android-sdk-win\\build-tools\\20.0.0\\aapt.exe \"package\" \"-f\" \"-m\" \"-J\" \"C:\\Users\\Praveen Innamuri\\Documents\\Appce\r\nlerator_Studio_Workspace\\MingleSingle\\build\\android\\gen\" \"-M\" \"C:\\Users\\Praveen Innamuri\\Documents\\Appcelerator_Studio_Workspace\\MingleSingle\\build\\android\\AndroidManifest.xml\" \"-A\r\n\" \"C:\\Users\\Praveen Innamuri\\Documents\\Appcelerator_Studio_Workspace\\MingleSingle\\build\\android\\bin\\assets\" \"-S\" \"C:\\Users\\Praveen Innamuri\\Documents\\Appcelerator_Studio_Workspace\\\r\nMingleSingle\\build\\android\\res\" \"-I\" \"C:\\android-sdk-win\\platforms\\android-16\\android.jar\" \"-F\" \"C:\\Users\\Praveen Innamuri\\Documents\\Appcelerator_Studio_Workspace\\MingleSingle\\buil\r\nd\\android\\bin\\app.ap_\" \"--auto-add-overlay\" \"--extra-packages\" \"ti.modules.titanium.ui:android.support.v7.appcompat\" \"-S\" \"C:\\Users\\PRAVEE~1\\AppData\\Local\\Temp\\115027-3748-13cvgfd/\r\nres\" \"-S\" \"C:\\Users\\PRAVEE~1\\AppData\\Local\\Temp\\115027-3748-1nfk0ej/res\"\r\n{code}\r\n\r\nLater we realized that only Android 4.1.2 is installed on the machine, though Android 5.x is the new minimum for SDK 3.6.0. Digging into further, looks the vendor dependencies for Android are not updated in SDK and that's the reason Studio didn't prompt to install Android 5.x when selected Titanium SDK is 3.6.x.", "attachment": [], "flagged": false, "summary": "Android vendor dependency version has to be updated", "creator": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 404, "state": "closed", "name": "2015 Sprint 10 SDK", "startDate": "2015-05-09T00:00:53.391Z", "endDate": "2015-05-23T00:00:00.000Z", "completeDate": "2015-05-25T14:55:16.386Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "352350", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/6843", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-12T22:45:11.000+0000", "updated": "2015-05-12T22:45:11.000+0000" }, { "id": "352558", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This fix doesn't apply for 4.0.0 release ?", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-14T18:51:23.000+0000", "updated": "2015-05-14T18:51:23.000+0000" }, { "id": "353195", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think so. I've targeted it for 4.0.1", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-21T13:29:58.000+0000", "updated": "2015-05-21T13:29:58.000+0000" }, { "id": "353895", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "4.0.X port: https://github.com/appcelerator/titanium_mobile/pull/6886", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-29T18:04:13.000+0000", "updated": "2015-05-29T18:04:13.000+0000" }, { "id": "353920", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in 4.0.X & 4.1.0.\r\nIn android package.json the vendor dependencies are {code}\"android sdk\": \">=21 <=22\",{code}\r\n\r\nClosing\r\n\r\nEnvironment:\r\nAppc Studio : 4.0.1.201505282200\r\nTi SDK : 4.0.1.v20150529014212, 4.1.0.v20150529013634\r\nCLI : 4.0.0\r\nAlloy : 1.6.0\r\nMAC Yosemite : 10.10.3\r\nAppc npm : 4.0.0\r\nAppc CLI : 4.0.1-rc\r\nNode: v0.10.37", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-29T20:36:40.000+0000", "updated": "2015-05-29T20:39:44.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }