{ "id": "148367", "key": "AC-1338", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-08-12T06:58:01.000+0000", "created": "2015-06-01T13:27:37.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:44.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Since downloading the last update (CLI tools) I cannot get my Alloy project to compile to Android. This might be a problem with my code but the app does work fine on iOS. Here is the output from the console:\r\n\r\nAppcelerator Command-Line Interface, version 4.0.1\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\nTRACE | __command__ search paths:\r\n[\r\n \"/Users/Charles/.appcelerator/install/4.0.1/package\",\r\n \"/Users/Charles/.appcelerator/install/4.0.1/package/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules\",\r\n \"/Applications/Appcelerator Studio/node_modules\",\r\n \"/Applications/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/Charles/.appcelerator/.npm/lib/node_modules\"\r\n]\r\nDEBUG | [PLUGIN-LOAD] 0ms /Users/Charles/.appcelerator/install/4.0.1/package/appc.js\r\nDEBUG | [PLUGIN-LOAD] 392ms /Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/appc.js\r\nDEBUG | [PLUGIN-LOAD] 0ms /Users/Charles/.appcelerator/install/4.0.1/package/node_modules/arrow/appc.js\r\nlog level set to \"trace\"\r\nexecuting command \"run\"\r\nset environment to {\"registry\":\"https://software.appcelerator.com\",\"security\":\"https://security.appcelerator.com\"}\r\nchecking credentials for existing session\r\nAttempting to load session info from config file\r\ncheck if session is invalidated\r\nsession expiry 1433236541771 false\r\nACS config file: /Users/Charles/.acs\r\nfound ACS login { mid: 'b8:e8:56:30:5e:0c',\r\n username: 'rethman@me.com',\r\n cookie: [ 'connect.sid=s%3ABWgxSzbGftFHvtFdAK6bjGL7.WQFuvSfimzmvQUQIwt3gninS7jNkdWdcx%2BMkokt1prs; Path=/; Expires=Tue, 02 Jun 2015 09:15:47 GMT; HttpOnly' ],\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n publishPort: 443,\r\n defaultEP: \r\n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\r\nACS cookie expiry [ 1433236547000 ]\r\nsession already loaded in opts.session\r\ngetCredentials() session:\r\n{\r\n \"ipaddress\": \"192.168.0.7\",\r\n \"username\": \"rethman@me.com\",\r\n \"password\": \"\",\r\n \"session\": \"\",\r\n \"nonce\": \"\",\r\n \"environment\": {\r\n \"name\": \"production\",\r\n \"isProduction\": true,\r\n \"acsBaseUrl\": \"https://api.cloud.appcelerator.com\",\r\n \"acsAuthBaseUrl\": \"https://secure-identity.cloud.appcelerator.com\",\r\n \"nodeACSEndpoint\": \"https://admin.cloudapp-enterprise.appcelerator.com\"\r\n },\r\n \"token\": \"\",\r\n \"fingerprint\": \"848ec76d3d0c36ca354faf4720c79660b3712133\",\r\n \"fingerprint_description\": \"Mac OSX Serial Number: C02LJ1ZNFH01\",\r\n \"org_id\": 100028893,\r\n \"expiry\": 1433236541771\r\n}\r\nloading plugins for command \"run\"\r\nrun search paths:\r\n[\r\n \"/Users/Charles/.appcelerator/install/4.0.1/package\",\r\n \"/Users/Charles/.appcelerator/install/4.0.1/package/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules\",\r\n \"/Applications/Appcelerator Studio/node_modules\",\r\n \"/Applications/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/Charles/.appcelerator/.npm/lib/node_modules\"\r\n]\r\n[PLUGIN-LOAD] 0ms /Users/Charles/.appcelerator/install/4.0.1/package/appc.js\r\n[PLUGIN-LOAD] 174ms /Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/appc.js\r\nrun plugin: /Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium\r\n[PLUGIN-LOAD] 1ms /Users/Charles/.appcelerator/install/4.0.1/package/node_modules/arrow/appc.js\r\nrun plugin: /Users/Charles/.appcelerator/install/4.0.1/package/node_modules/arrow\r\nplugin \"arrow\" failed its \"when\" function check, skipping...\r\nloading plugin \"titanium\" for command \"run\" CLI options via function\r\nloading plugin \"titanium\" for command \"run\" CLI options via array\r\nDuplicate option \"colors\" for command \"run\", removing...\r\nexecuting command \"run\" with the following plugins:\r\n[\"titanium\"]\r\nTRACE | Attempting to load session info from config file\r\nTRACE | check if session is invalidated\r\nTRACE | session expiry 1433236541771 false\r\nTRACE | session already loaded in opts.session\r\nDEBUG | Titanium Downloads Last Checked: 1433096019906\r\nTRACE | \"/usr/local/bin/node\" \"/Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium\" config -o json-object\r\nTRACE | \"/usr/local/bin/node\" \"/Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium\" sdk -o json\r\nTRACE | checking for titanium, result:\r\n { activeSDK: '3.5.1.GA',\r\n defaultInstallLocation: '/Users/Charles/Library/Application Support/Titanium',\r\n installLocations: \r\n [ '/Users/Charles/Library/Application Support/Titanium',\r\n '/Library/Application Support/Titanium' ],\r\n installed: \r\n { '4.0.0.GA': '/Users/Charles/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA',\r\n '3.5.1.GA': '/Users/Charles/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA',\r\n '3.5.0.GA': '/Users/Charles/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.GA',\r\n '3.4.1.GA': '/Users/Charles/Library/Application Support/Titanium/mobilesdk/osx/3.4.1.GA',\r\n '3.4.0.GA': '/Users/Charles/Library/Application Support/Titanium/mobilesdk/osx/3.4.0.GA' } }\r\nTRACE | /usr/local/bin/node [ '/Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',\r\n 'build',\r\n '--platform',\r\n 'android',\r\n '--log-level',\r\n 'trace',\r\n '--sdk',\r\n '4.0.0.GA',\r\n '--project-dir',\r\n '/Users/Charles/Documents/developer/titanium_studio_workspace/HelloWorld',\r\n '--target',\r\n 'emulator',\r\n '--android-sdk',\r\n '/Users/Charles/android-sdk',\r\n '--device-id',\r\n 'GalaxyTab10',\r\n '--skip-js-minify',\r\n '--liveview',\r\n '--deploy-type',\r\n 'development',\r\n '--no-colors',\r\n '--no-progress-bars',\r\n '--no-prompt',\r\n '--prompt-type',\r\n 'socket-bundle',\r\n '--prompt-port',\r\n '50500',\r\n '--username',\r\n 'rethman@me.com',\r\n '--password',\r\n '[HIDDEN]',\r\n '--plugin-paths',\r\n '/Users/Charles/.appcelerator/install/4.0.1/package/node_modules',\r\n '--config-file',\r\n '/var/folders/tg/sbf0zmz96n343tmjmfrqql6h0000gn/T/build-1433164675123.json',\r\n '--no-banner' ]\r\n{color:red}[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n/Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n e.stack;\r\n ^\r\nprocessImmediate [as _immediateCallback] (timers.js:358:17)\r\nTRACE | titanium exited with exit code 1\r\nERROR | Error: ti run exited with error code 1\r\n at ChildProcess. (/Users/Charles/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)\r\n at ChildProcess.emit (events.js:110:17)\r\n at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\n{color}", "attachment": [], "flagged": false, "summary": "Cannot run my app on Android Emulator", "creator": { "name": "chezearth", "key": "chezearth", "displayName": "Charles Rethman", "active": true, "timeZone": "Africa/Johannesburg" }, "subtasks": [], "reporter": { "name": "chezearth", "key": "chezearth", "displayName": "Charles Rethman", "active": true, "timeZone": "Africa/Johannesburg" }, "environment": "Mac OS X 10.10", "comment": { "comments": [ { "id": "354090", "author": { "name": "chezearth", "key": "chezearth", "displayName": "Charles Rethman", "active": true, "timeZone": "Africa/Johannesburg" }, "body": "Just a bit of extra info:\r\n\r\nI'm using Titanium build 4.0.0.201505202026 on with Android SDK 5.0.1 API 21.\r\n\r\nI can send a zip of the sandbox file that I have seen the problem on so that you can replicate.", "updateAuthor": { "name": "chezearth", "key": "chezearth", "displayName": "Charles Rethman", "active": true, "timeZone": "Africa/Johannesburg" }, "created": "2015-06-02T13:52:45.000+0000", "updated": "2015-06-02T13:54:10.000+0000" }, { "id": "356495", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi ,\r\ncan you please send us the result of executing this in the command line?\r\n{code}\r\nappc ti config\r\nappc ti info\r\n{code}\r\n\r\nEnsure that you have Latest version(0.10.37) Node.JS installed. \r\n\r\nThanks ", "updateAuthor": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-07-01T05:05:30.000+0000", "updated": "2015-07-01T05:05:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }