[TIMOB-16172] Studio 3.2.0 + SDK 3.0.2 does not work for Android build
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-09-02T06:39:16.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | Release 3.2.0 |
Components | Android, Tooling |
Labels | android, build, cli, emulator |
Reporter | AvtarSingh Suchariya |
Assignee | Eric Merriman |
Created | 2014-01-08T13:22:45.000+0000 |
Updated | 2017-03-21T20:45:00.000+0000 |
Description
I am facing following error when I am trying to run the code in android emulator.
[ERROR] : Failed to run command "build"
[ERROR] : TypeError: Object # has no method 'sendAnalytics'
at Object. (/Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/cli/commands/_build.js:395: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/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/cli/hooks/plugins.js:15:3)
at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.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/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/node-appc/lib/android.js:81:4)
at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:486:21
at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:185:13
at iterate (/Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:108:13)
at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:119:25
at /Users/suchariya/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/node_modules/async/lib/async.js:187:17
[ERROR] Application Installer abnormal process termination. Process exit value was 1
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.
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 ?
Another surprise is, it is perfectly working with iOS but getting problem in Android only.
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. [ERROR] : Failed to run command "build" [ERROR] : TypeError: Object #
The Android build was completely rewritten for Titanium SDK 3.2.0. This is no longer an issue.
Closing ticket as fixed.