{ "id": "149927", "key": "TIMOB-19263", "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-07-30T17:07:27.000+0000", "created": "2015-07-28T17:39:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.0.0", "regression" ], "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-07-31T17:21:15.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" }, { "id": "10207", "name": "Tooling" } ], "description": "*The error is due to titanium CLI 4.1.2 as seen in the error logs.*\r\n*Reproducible from appc CLI 4.2.0-1 as well.*\r\n\r\nh5.Steps To Reproduce:\r\n1. Create an app for android.\r\n2. Build for android device/emulator\r\n\r\nh5. Actual Results:\r\n1. The build fails with error:\r\n{code}\r\n[ERROR] : Failed to compile Java source files:\r\n[ERROR] : \r\n[ERROR] : /Users/lokeshchoudhary/Desktop/workspaces/new_workspace/Zclassic/build/android/gen/com/app/zclassic/ZclassicApplication.java:48: error: cannot find symbol\r\n[ERROR] : \t\tstylesheet = new ApplicationStylesheet();\r\n[ERROR] : \t\t ^\r\n[ERROR] : symbol: class ApplicationStylesheet\r\n[ERROR] : location: class ZclassicApplication\r\n[ERROR] : Note: /Users/lokeshchoudhary/Desktop/workspaces/new_workspace/Zclassic/build/android/gen/com/app/zclassic/AssetCryptImpl.java uses unchecked or unsafe operations.\r\n[ERROR] : Note: Recompile with -Xlint:unchecked for details.\r\n[ERROR] : 1 error\r\nTRACE | titanium exited with exit code 1\r\nERROR | Error: ti run exited with error code 1\r\n at ChildProcess. (/Users/lokeshchoudhary/.appcelerator/install/4.2.0-1/package/node_modules/appc-cli-titanium/plugins/run.js:89:66)\r\n at ChildProcess.emit (events.js:98:17)\r\n at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n{code}\r\n\r\nh5.Expected Results:\r\n1. The build should be successful.", "attachment": [], "flagged": false, "summary": "Android : Build fails for android with ti CLI 4.1.2 with error \"ti run exited with error code 1\"", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.1.1.201507141126\r\nTi SDK : 4.2.0.v20150728015233\r\nTi CLI : 4.1.2\r\nAlloy : 1.6.2\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.1.0\r\nAppc CLI : 4.2.0-1\r\nNode: v0.10.37", "closedSprints": [ { "id": 455, "state": "closed", "name": "2015 Sprint 15 Tooling", "startDate": "2015-07-20T16:26:19.926Z", "endDate": "2015-08-08T01:26:00.000Z", "completeDate": "2015-08-03T20:10:37.386Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "358494", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6993", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-07-29T10:18:47.000+0000", "updated": "2015-07-29T10:18:47.000+0000" }, { "id": "358552", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nAndroid builds successfully.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.1.1.201507141126\r\nTi SDK : 4.2.0.v20150729134419\r\nTi CLI : 4.0.1\r\nAlloy : 1.6.2\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.1.0\r\nAppc CLI : 4.2.0-1\r\nNode: v0.10.37\r\nNexus 5 - Android 5.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-29T21:35:00.000+0000", "updated": "2015-07-29T21:35:00.000+0000" }, { "id": "358602", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening to fix Affects Versions.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-30T17:07:16.000+0000", "updated": "2015-07-30T17:07:16.000+0000" }, { "id": "358675", "author": { "name": "chidambaramsami", "key": "chidambaramsami", "displayName": "chidambaram", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Lokesh, \r\n\r\nBelow code work in iOS? Because i want to do something when listview scroll up/down. Please help to solve this. (iOS).\r\n\r\nlistView.addEventListener('scrollstart', function(e) {\r\n\t\t\tlistScrolling();\r\n });\t\r\n\r\n", "updateAuthor": { "name": "chidambaramsami", "key": "chidambaramsami", "displayName": "chidambaram", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-31T06:28:50.000+0000", "updated": "2015-07-31T06:28:50.000+0000" }, { "id": "358727", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~chidambaramsami]- This ticket is closed & is specific for android. This ticket might not be a right place for your comment.\r\nIf you feel there is an issue with listview in IOS then please file a seperate jira ticket for it & explain what you are seeing, if possible provide a working sample code for the issue.\r\n\r\nThanks.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-31T17:21:15.000+0000", "updated": "2015-07-31T17:21:15.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }