Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2202] Application build error on upgrading sdk from 2.x to 3.x

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2014-01-12T04:40:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, sdk3.x
ReporterPrashant
AssigneeRitu Agrawal
Created2013-12-27T07:22:58.000+0000
Updated2016-03-08T07:41:11.000+0000

Description

I have recently changed my titanium sdk from 2.1.4 ga to 3.0.0 ga but when i am running it into android emulator it showing below given error but it is still working fine with sdk version 2.1.4 ga. Any idea? [ERROR] : Failed to run command "build" [ERROR] : TypeError: Object # has no method 'sendAnalytics' at Object. (/Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/android/cli/commands/_build.js:401:8) at /usr/local/lib/node_modules/titanium/lib/hook.js:214:18 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:13 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:139:25 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:553:34 at /usr/local/lib/node_modules/titanium/lib/hook.js:207:9 at fire (/Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/cli/hooks/plugins.js:15:3) at /Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/cli/hooks/plugins.js:19:3 at /usr/local/lib/node_modules/titanium/lib/hook.js:205:13 --------------------------------------------- at exports.execFile (child_process.js:691:9) at exports.exec (child_process.js:578:18) at async.series.cached (/Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/node-appc/lib/android.js:81:4) at /Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:486:21 at /Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:185:13 at iterate (/Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:108:13) at /Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:119:25 at /Users/mydala/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:187:17 [ERROR] Application Installer abnormal process termination. Process exit value was 1

Comments

  1. Mostafizur Rahman 2013-12-29

    Hi Prasanth, A lot of updates/changed happened in TiSDK 3.X.X. So I would like to request to visit this [release notes link| http://docs.appcelerator.com/titanium/release-notes/?version=3.0.0.GA#breaking]. Please check you npm, node.js and CLI version to be compatible with the latest TISDK. If the problem persists, please let us know. Thanks
  2. Ritu Agrawal 2014-01-08

    [~prashant.shukla] We recently released Titanium SDK + Studio 3.2.0 GA release that includes many new features, enhancements, performance improvements and bug fixes. We would recommend you to upgrade to the most recent version and let us know if you run into any issue.
  3. Ritu Agrawal 2014-01-12

    I can reproduce this issue now with Studio 3.2.0 and SDK 3.0.2. It is a duplicate of TISTUD-6013 that is under investigation. Please track that ticket for further updates.

JSON Source