{ "id": "124522", "key": "TIMOB-16172", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-02T06:39:16.000+0000", "created": "2014-01-08T13:22:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "build", "cli", "emulator" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "34247", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "124218", "key": "AC-2202", "fields": { "summary": "Application build error on upgrading sdk from 2.x to 3.x", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T20:45:00.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": "I am facing following error when I am trying to run the code in android emulator.\r\n\r\n[ERROR] : Failed to run command \"build\"\r\n[ERROR] : TypeError: Object # has no method 'sendAnalytics'\r\n at Object. (/Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/cli/commands/_build.js:395:8)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:214:18\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:13\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:139:25\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:553:34\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:207:9\r\n at fire (/Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/cli/hooks/plugins.js:15:3)\r\n at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/cli/hooks/plugins.js:19:3\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:205:13\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:691:9)\r\n at exports.exec (child_process.js:578:18)\r\n at async.series.cached (/Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/node-appc/lib/android.js:81:4)\r\n at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:486:21\r\n at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:185:13\r\n at iterate (/Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:108:13)\r\n at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:119:25\r\n at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:187:17\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1", "attachment": [], "flagged": false, "summary": "Studio 3.2.0 + SDK 3.0.2 does not work for Android build", "creator": { "name": "a.suchariya", "key": "a.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "a.suchariya", "key": "a.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Sutdio\r\n\r\nTitanium Studio, build: 3.2.0.201312191547\r\n(c) Copyright 2012-2013 by Appcelerator, Inc. All rights reserved.\r\n \r\nBuild: jenkins-titanium-rcp-master-76 (origin/master)\r\nDate: 19 December 2013, 15:48:53\r\n\r\nTitanium project SDK version - 3.0.2 GA (as project was created long back when this version was new)\r\n\r\nNode.js version - v0.10.13 (tested this by \"node --version\" in terminal)\r\n", "closedSprints": [ { "id": 705, "state": "closed", "name": "2016 Sprint 18 Tooling", "startDate": "2016-08-27T00:16:26.485Z", "endDate": "2016-09-10T00:16:00.000Z", "completeDate": "2016-09-13T20:21:37.063Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "287207", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am curious if there is a reason you are using Titanium SDK 3.0.2 with Studio 3.2.0. We recently released SDK 3.2.0 that includes many new features, enhancements, performance improvements and bug fixes and we would strongly recommend you to upgrade to the latest release. Please make sure that you have upgraded all components (Studio, SDK and CLI) to the 3.2.0 GA version.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-08T16:54:01.000+0000", "updated": "2014-01-08T16:54:01.000+0000" }, { "id": "287208", "author": { "name": "a.suchariya", "key": "a.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Well, We are at end of product release and we tested and make it performance level in version 3.0.2 GA. It is not hard to upgrade to the latest version but it is hard to make upgrade at this stage. Is there any solution to this or alternate way to work with this ?", "updateAuthor": { "name": "a.suchariya", "key": "a.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-08T17:02:45.000+0000", "updated": "2014-01-08T17:02:45.000+0000" }, { "id": "287209", "author": { "name": "a.suchariya", "key": "a.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Another surprise is, it is perfectly working with iOS but getting problem in Android only.", "updateAuthor": { "name": "a.suchariya", "key": "a.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-08T17:07:21.000+0000", "updated": "2014-01-08T17:07:21.000+0000" }, { "id": "287854", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue by building any sample project for Android emulator with Studio 3.2.0 and Titanium SDK 3.0.2.\r\n\r\n[ERROR] : Failed to run command \"build\"\r\n[ERROR] : TypeError: Object # has no method 'sendAnalytics'\r\n at Object. (/Users/ragrawal/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/cli/commands/_build.js:395:8)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:214:18\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:13\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:139:25\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:553:34\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:207:9\r\n at cli.addHook.post (/Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1377637371/node_modules/liveview/hook/lvhook.js:116:5)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:205:13\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:548:21\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:691:9)\r\n at exports.exec (child_process.js:578:18)\r\n at async.series.cached (/Users/ragrawal/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/node-appc/lib/android.js:81:4)\r\n at /Users/ragrawal/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:486:21\r\n at /Users/ragrawal/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:185:13\r\n at iterate (/Users/ragrawal/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:108:13)\r\n at /Users/ragrawal/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:119:25\r\n at /Users/ragrawal/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:187:17\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-12T04:27:42.000+0000", "updated": "2014-01-12T04:27:42.000+0000" }, { "id": "395182", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The Android build was completely rewritten for Titanium SDK 3.2.0. This is no longer an issue.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-09-02T06:39:16.000+0000", "updated": "2016-09-02T06:39:16.000+0000" }, { "id": "414385", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T20:45:00.000+0000", "updated": "2017-03-21T20:45:00.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }