{ "id": "153617", "key": "AC-527", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-12-08T09:37:23.000+0000", "created": "2015-12-04T09:34:56.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-12-10T07:40:11.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": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "After installing Android Studio, CLI stop working.\r\n\r\nSolved renaming:\r\nandroid-sdk-windows\\build-tools\\build-tools-23.0.1 (downloaded by Android Studio)\r\nin\r\nandroid-sdk-windows\\build-tools\\23.0.1\r\n\r\nHere's the errors:\r\n\r\n{noformat}\r\nC:\\Users\\ccampinoti>appc info\r\nAppcelerator Command-Line Interface, version 5.1.0\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\n2015-12-04T09:23:20.171Z | ERROR | titanium exited with exit code 1. re-run with -l trace to get detailed output\r\n{noformat}\r\n\r\n\r\n{noformat}\r\nC:\\Users\\ccampinoti>appc ti setup\r\nAppcelerator Command-Line Interface, version 5.1.0\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\nEnter ctrl-c at any time to quit.\r\n\r\n──────────────────────┤ Main Menu ├───────────────────────\r\n\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) windows Windows Settings\r\n 10) exit Exit\r\nWhere do you want to go? k\r\n\r\n\r\n──────────────────┤ Check Environment ├───────────────────\r\n\r\n |\r\nC:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:293\r\n throw new TypeError('Invalid Version: ' + version);\r\n ^\r\nTypeError: Invalid Version: build.0.0\r\n at new SemVer (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:293:11)\r\n at Range.test (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:1047:15)\r\n at Function.satisfies (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:1096:16)\r\n at C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\node-appc\\lib\\version.js:156:33\r\n at Array.some (native)\r\n at Object.satisfies (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\node-appc\\lib\\version.js:152:34)\r\n at findSDK (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\titanium-sdk\\lib\\android.js:827:44)\r\n at C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\titanium-sdk\\lib\\android.js:95:6\r\n at C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\titanium-sdk\\lib\\android.js:78:5\r\n at C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:945:13\r\n---------------------------------------------\r\n at Object.setImmediate (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:200:9)\r\n at _insert (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:861:19)\r\n at Object.q.push (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:888:17)\r\n at async.parallel.sdk (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\titanium-sdk\\lib\\android.js:92:10)\r\n at C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:689:13\r\n at C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:239:13\r\n at C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:119:13\r\n at _arrayEach (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:91:13)\r\n at _forEachOf (C:\\Users\\ccampinoti\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\5.1.1.GA\\node_modules\\async\\lib\\async.js:118:9)\r\n{noformat}\r\n", "attachment": [], "flagged": false, "summary": "Appcellerator CLI blocked after installing Android Studio", "creator": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Window 7 x64 - Titanium SDK 5.1.1 - Java 1.7 / 1.8\r\n", "comment": { "comments": [ { "id": "372260", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~c3k], Don't keep two Android SDK folder in your PC. If you already have an Android SDK with latest build tools which you used with Appcelerator previously. Try configuring that SDK folder path in your newly installed Android studio. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-07T06:07:03.000+0000", "updated": "2015-12-07T06:07:03.000+0000" }, { "id": "372278", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is what I did, but during first start Android Studio download and create \"build-tools-23.0.1\" blocking Titanium", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-07T08:58:55.000+0000", "updated": "2015-12-07T08:58:55.000+0000" }, { "id": "372279", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "The SDK folder content is same for all cases. Whether it comes with Android studio or you manually downloaded it. Now if the SDK folder path is configured in bith of the studio. then it should be ok with both cases. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-07T09:21:06.000+0000", "updated": "2015-12-07T09:21:06.000+0000" }, { "id": "372284", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "Folder is the same, problem is subfolder:\r\n* Android SDK manager creates build-tools\\23.0.1\r\n* Android Studio (don't know why) creates build-tools\\build-tools-23.0.1 <- this is detected by Android SDK manager but completly blocks Ti CLI", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-07T09:37:14.000+0000", "updated": "2015-12-07T09:37:14.000+0000" }, { "id": "372402", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "This is not our bug. \r\n\r\nThanks ", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-12-08T09:37:23.000+0000", "updated": "2015-12-08T09:37:23.000+0000" }, { "id": "372598", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "Is Titanium CLI script that look at Android SDK and an unexepected content (build-tools-***) completly lock the platform without clues to solve the problem\r\n\r\nIMHO this *is* a Titanium bug and need just an check on folder name to be solved", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-10T07:40:11.000+0000", "updated": "2015-12-10T07:40:11.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }