{ "id": "143369", "key": "AC-868", "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-04-06T23:17:54.000+0000", "created": "2015-01-22T09:36:34.000+0000", "labels": [ "TCSupportTriage", "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:09.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I am new to titanium development, after installing the titanium sdk just tried to run a sample android project but getting the error :- \r\n\r\nC:\\Users\\ujjawalkumar\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\longjohn\\dist\\longjohn.js:185\r\n throw e;\r\n ^\r\nTypeError: Bad argument\r\n at ChildProcess.spawn (child_process.js:936:24)\r\n at exports.spawn (child_process.js:736:9)\r\n at async.parallel.powershell (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.0.GA\\node_modules\\titanium-sdk\\lib\\windows.js:385:14)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.0.GA\\node_modules\\async\\lib\\async.js:524:25\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.0.GA\\node_modules\\async\\lib\\async.js:111:13\r\n at Array.forEach (native)\r\n at _each (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.0.GA\\node_modules\\async\\lib\\async.js:32:24)\r\n at async.each (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.0.GA\\node_modules\\async\\lib\\async.js:110:9)\r\n at _parallel (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.0.GA\\node_modules\\async\\lib\\async.js:523:20)\r\n at async.parallel (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.0.GA\\node_modules\\async\\lib\\async.js:539:9)\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 8\r\n\r\n\r\nWhy this error is coming and how to resolve this error ?\r\nAny help would be greatly appriciated ", "attachment": [], "flagged": false, "summary": "Getting error while running the sample app for android environment", "creator": { "name": "UjjKr", "key": "ujjkr", "displayName": "Ujjawal Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "UjjKr", "key": "ujjkr", "displayName": "Ujjawal Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 7, Titanium 3.5.0, Android Environment", "comment": { "comments": [ { "id": "340387", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nPlease run \"ti setup check\" in terminal, and provide the output please. \r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-23T04:08:45.000+0000", "updated": "2015-01-23T04:08:45.000+0000" }, { "id": "340388", "author": { "name": "UjjKr", "key": "ujjkr", "displayName": "Ujjawal Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nAs i am new to titanium sdk, don't know how to run the \"ti setup check\".\r\nWill you please tell me how to check that ?\r\nAnd i am working on windows platform.", "updateAuthor": { "name": "UjjKr", "key": "ujjkr", "displayName": "Ujjawal Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-23T04:48:00.000+0000", "updated": "2015-01-23T04:48:00.000+0000" }, { "id": "340537", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Just open your command line, then run \"ti setup check\". It will tell you what kind of error you may have for configuration. ", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-26T04:22:59.000+0000", "updated": "2015-01-26T04:22:59.000+0000" }, { "id": "340714", "author": { "name": "UjjKr", "key": "ujjkr", "displayName": "Ujjawal Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Below is the output that i got :-\r\n\r\n\r\nEnter ctrl-c at any time to quit.\r\n──────────────────┤ Check Environment ├───────────────────\r\nNode.js\r\n * node new version v0.10.36 available! (currently v0.10.33)\r\n * npm new version v2.4.1 available! (currently v1.4.28)\r\nTitanium CLI\r\n √ cli up-to-date (v3.4.1)\r\nTitanium CLI Dependencies\r\n √ async up-to-date (v0.2.10)\r\n √ colors up-to-date (v0.6.2)\r\n √ fields up-to-date (v0.1.23)\r\n √ humanize up-to-date (v0.0.9)\r\n √ jade up-to-date (v0.35.0)\r\n √ longjohn up-to-date (v0.2.4)\r\n √ moment up-to-date (v2.4.0)\r\n √ node-appc up-to-date (v0.2.14)\r\n √ optimist up-to-date (v0.6.1)\r\n √ request up-to-date (v2.27.0)\r\n √ semver up-to-date (v2.2.1)\r\n √ sprintf up-to-date (v0.1.5)\r\n √ temp up-to-date (v0.6.0)\r\n √ winston up-to-date (v0.6.2)\r\n √ wrench up-to-date (v1.5.8)\r\nTitanium SDK\r\n √ latest sdk installed (v3.5.0.GA)\r\n x selected sdk selected Titanium SDK \"vundefined\" is not installed\r\nAndroid Environment\r\n √ sdk installed (C:\\android-sdk-win)\r\n ! tools untested version 24.0.2; may or may not work\r\n √ platform tools installed (v21.0.0)\r\n √ build tools installed (v21.1.2)\r\n √ adb installed C:\\android-sdk-win\\platform-tools\\adb.exe\r\n √ android installed C:\\android-sdk-win\\tools\\android.bat\r\n √ emulator installed C:\\android-sdk-win\\tools\\emulator.exe\r\n √ mksdcard installed C:\\android-sdk-win\\tools\\mksdcard.exe\r\n √ zipalign installed C:\\android-sdk-win\\build-tools\\21.1.2\\zipalign\r\n.exe\r\n √ aapt installed C:\\android-sdk-win\\build-tools\\21.1.2\\aapt.exe\r\n √ aidl installed C:\\android-sdk-win\\build-tools\\21.1.2\\aidl.exe\r\n √ targets installed (2 found)\r\n √ avds installed (1 found)\r\n √ ndk installed (undefined)\r\n √ ndk-build installed (undefined)\r\nJava Development Kit\r\n √ jdk installed (v1.7.0)\r\n √ java installed C:\\Program Files\\Java\\jdk1.7.0_71\\bin\\java.exe\r\n √ javac installed C:\\Program Files\\Java\\jdk1.7.0_71\\bin\\javac.exe\r\n √ keytool installed C:\\Program Files\\Java\\jdk1.7.0_71\\bin\\keytool.exe\r\n √ jarsigner installed C:\\Program Files\\Java\\jdk1.7.0_71\\bin\\jarsigner.exe\r\nIntelr Hardware Accelerated Execution Manager (HAXM)\r\n √ compatible\r\n √ installed\r\nNetwork\r\n √ online\r\n - no proxy server configured\r\n √ http request test\r\n √ https request test\r\nDirectory Permissions\r\n √ home directory\r\n √ titanium config directory\r\n √ titanium sdk install directory\r\n √ temp directory\r\n──────────────────────┤ Main Menu ├───────────────────────\r\n 1) quick Quick Setup\r\n 2) check Check Environment\r\n 3) user User Information\r\n 4) app New App Defaults\r\n 5) network Network Settings\r\n 6) cli Titanium CLI Settings\r\n 7) sdk Titanium SDK Settings\r\n 8) android Android Settings\r\n 9) wp8 Windows Phone 8\r\n 10) exit Exit\r\nWhere do you want to go?\r\n", "updateAuthor": { "name": "UjjKr", "key": "ujjkr", "displayName": "Ujjawal Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-27T06:19:41.000+0000", "updated": "2015-01-27T06:19:41.000+0000" }, { "id": "340901", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "HI,\r\n\r\nIt seems something wrong with Android tool, would you please provide full console log when you run app, as it may provide more info about the android error, remember to switch console mode to track ( on the up right conner of console window).\r\n\r\nOn the other hand, I recommend you the read our doc for studio, that will be helpful to address most of problem. http://docs.appcelerator.com/platform/latest/#!/guide/Installation_and_Configuration\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-28T01:39:10.000+0000", "updated": "2015-01-28T01:39:10.000+0000" }, { "id": "341650", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Please follow the install guide for your Android SDK: \r\n\r\nhttp://docs.appcelerator.com/titanium/3.0/#!/guide/Installing_the_Android_SDK\r\n\r\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2015-02-02T17:23:04.000+0000", "updated": "2015-02-02T17:23:04.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }