{ "id": "167589", "key": "TIMOB-24685", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-05-12T14:42:59.000+0000", "created": "2017-05-12T14:14:32.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "build", "regression", "sdk" ], "versions": [], "issuelinks": [ { "id": "54877", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "167581", "key": "TIMOB-24681", "fields": { "summary": "Android: AVD detection fails if matching SDK is not installed", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-05-30T16:43:08.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Here is the output from my system - if I select ti sdk to 6.0.3.GA building is fine.\r\n\r\nAnother side affect is once 6.0.4.GA has been selected Appcelerator Studio does not recognise my Android SDK - even though its fine when 6.0.3.GA is selected (with the ti CLI).\r\n\r\nNote: I build using the CLI mainly. \r\n\r\n{noformat}\r\nKet-MBP5:festivalapp ketan$ appc run -p android -l trace\r\nAppcelerator Command-Line Interface, version 6.1.0\r\nCopyright (c) 2014-2017, Appcelerator, Inc. All Rights Reserved.\r\n\r\n2017-05-12T14:05:27.935Z | TRACE | set environment to {\"registry\":\"https://software.appcelerator.com\",\"security\":\"https://security.appcelerator.com\",\"baseurl\":\"https://platform.appcelerator.com\"}\r\n2017-05-12T14:05:27.936Z | TRACE | checking credentials for existing session\r\n2017-05-12T14:05:28.150Z | TRACE | Attempting to load session info from config file\r\n2017-05-12T14:05:28.156Z | TRACE | check if session is invalidated\r\n2017-05-12T14:05:29.123Z | TRACE | registry result 200 application/json undefined undefined false undefined\r\n2017-05-12T14:05:29.125Z | TRACE | registry returned { expiry: 1495202682782 }\r\n2017-05-12T14:05:29.125Z | TRACE | refresh session expiry to: 1495202682782\r\n2017-05-12T14:05:29.130Z | TRACE | session expiry 1495202682782 false\r\n2017-05-12T14:05:29.131Z | TRACE | Arrow Cloud config file: /Users/ketan/.acs\r\n2017-05-12T14:05:29.133Z | TRACE | found Arrow Cloud login { mid: 'debe653b56ab1bc449ac792ab238fafd0a74a56e',\r\n publishPort: 443,\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n username: 'ket@spiritquest.co.uk',\r\n cookie: [ 'connect.sid=s%3ApysFggruPS0nJDOauLCPNKW9.1zDMCBskInPFc4JahcLkUGs8Lh5rT01F9cqRpP%2FJCVc; Path=/; Expires=Tue, 23 May 2017 21:40:19 GMT; HttpOnly' ],\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\n2017-05-12T14:05:29.134Z | TRACE | Arrow Cloud cookie expiry [ 1495575619000 ]\r\n2017-05-12T14:05:29.134Z | TRACE | session already loaded in opts.session\r\n2017-05-12T14:05:29.135Z | TRACE | getCredentials() session:\r\n{\r\n \"ipaddress\": \"192.168.3.24\",\r\n \"username\": \"ket@spiritquest.co.uk\",\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\": \"debe653b56ab1bc449ac792ab238fafd0a74a56e\",\r\n \"fingerprint_description\": \"Mac OSX Serial Number: C02Q22K9G8WM\",\r\n \"org_id\": 100000818,\r\n \"expiry\": 1495202682782\r\n}\r\n2017-05-12T14:05:29.135Z | TRACE | loading plugins for command \"run\"\r\n2017-05-12T14:05:29.168Z | TRACE | run search paths:\r\n[\r\n \"/Users/ketan/.appcelerator/install/6.1.0/package\",\r\n \"/Users/ketan/.appcelerator/install/6.1.0/package/node_modules\",\r\n \"/Users/ketan/Projects/festivalapp/modules\",\r\n \"/Users/ketan/Projects/festivalapp/plugins\",\r\n \"/Users/ketan/Projects/festivalapp/node_modules\",\r\n \"/Users/ketan/Projects/node_modules\",\r\n \"/Users/ketan/node_modules\",\r\n \"/Users/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/ketan/.appcelerator/.npm/lib/node_modules\"\r\n]\r\n2017-05-12T14:05:29.169Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/ketan/.appcelerator/install/6.1.0/package/appc.js\r\n2017-05-12T14:05:29.382Z | DEBUG | [PLUGIN-LOAD] 213ms /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/appc-cli-titanium/appc.js\r\n2017-05-12T14:05:29.382Z | DEBUG | run plugin: /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/appc-cli-titanium\r\n2017-05-12T14:05:29.384Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/arrow/appc.js\r\n2017-05-12T14:05:29.385Z | DEBUG | run plugin: /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/arrow\r\n2017-05-12T14:05:29.402Z | TRACE | plugin \"arrow\" failed its \"when\" function check, skipping...\r\n2017-05-12T14:05:29.402Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via function\r\n2017-05-12T14:05:29.403Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via array\r\n2017-05-12T14:05:29.404Z | TRACE | executing command \"run\" with the following plugins:\r\n[\"titanium\"]\r\n2017-05-12T14:05:29.405Z | TRACE | Attempting to load session info from config file\r\n2017-05-12T14:05:29.406Z | TRACE | check if session is invalidated\r\n2017-05-12T14:05:30.014Z | TRACE | registry result 200 application/json undefined undefined false undefined\r\n2017-05-12T14:05:30.015Z | TRACE | registry returned { expiry: 1495202683675 }\r\n2017-05-12T14:05:30.015Z | TRACE | refresh session expiry to: 1495202683675\r\n2017-05-12T14:05:30.015Z | TRACE | session expiry 1495202683675 false\r\n2017-05-12T14:05:30.016Z | TRACE | session already loaded in opts.session\r\n2017-05-12T14:05:30.017Z | DEBUG | Titanium Downloads Last Checked: 1494526275440\r\n2017-05-12T14:05:32.424Z | ERROR | An uncaught exception was thrown!\r\nCannot read property 'name' of undefined\r\n2017-05-12T14:05:32.425Z | ERROR | Cannot read property 'name' of undefined\r\n2017-05-12T14:05:32.425Z | TRACE | TypeError: Cannot read property 'name' of undefined\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/titanium-sdk/lib/android.js:671:23\r\n at Array.forEach (native)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/titanium-sdk/lib/android.js:641:27\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:3679:13\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:486:20\r\n at iterateeCallback (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:867:28)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:847:20\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:3676:17\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:339:31\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/titanium-sdk/lib/android.js:72:5\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:248:4\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3694:9\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:356:16\r\n at iteratorCallback (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:936:13)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:840:16\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3691:13\r\n---------------------------------------------\r\n at run (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:215:5\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3686:9\r\n at eachOfArrayLike (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:941:9)\r\n at eachOf (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:991:5)\r\n at _parallel (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3685:5)\r\n at Object.parallelLimit [as parallel] (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3765:3)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:165:9\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3694:9\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:356:16\r\n at replenish (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:877:25)\r\n at iterateeCallback (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:867:17)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:840:16\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3691:13\r\n at apply (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:21:25)\r\n---------------------------------------------\r\n at Object.run (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at find (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:96:14)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3894:5\r\n at q.process (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:2299:17)\r\n at Immediate. (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:2112:16)\r\n at processImmediate [as _immediateCallback] (timers.js:396:17)\r\n---------------------------------------------\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:2111:9\r\n at apply (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:21:25)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:56:12\r\n at _insert (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:2220:9)\r\n at Object.q.push (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:2267:13)\r\n at findExecutable (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:113:8)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:134:5\r\n at ChildProcess. (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:60:3)\r\n at emitTwo (events.js:87:13)\r\n at ChildProcess.emit (events.js:172:7)\r\n at maybeClose (internal/child_process.js:862:16)\r\n at Socket. (internal/child_process.js:338:11)\r\n at emitOne (events.js:77:13)\r\n---------------------------------------------\r\n at run (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at detectOSX (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:128:4)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3686:9\r\n at replenish (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:882:17)\r\n at iterateeCallback (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:867:17)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:840:16\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3691:13\r\n at apply (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:21:25)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:56:12\r\n at detectLinux (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:115:45)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:3686:9\r\n at replenish (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:882:17)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:886:9\r\n at eachOfLimit (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:913:22)\r\n at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/node_modules/async/dist/async.js:918:16\r\n{noformat}\r\n", "attachment": [ { "id": "62225", "filename": "Banners_and_Alerts_and_Preferences_and_Studio_-_Appcelerator_Studio_Dashboard_-_Appcelerator_Studio_-__Users_ketan_Documents_Appcelerator_Studio_Workspace.jpg", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2017-05-12T14:10:01.000+0000", "size": 277028, "mimeType": "image/jpeg" }, { "id": "62224", "filename": "Studio_-_Appcelerator_Studio_Dashboard_-_Appcelerator_Studio_-__Users_ketan_Documents_Appcelerator_Studio_Workspace.jpg", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2017-05-12T14:10:01.000+0000", "size": 77656, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: Impossible to build against 6.0.4.GA ", "creator": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "environment": "Host OS: Mac OS X\r\nOS Version: 10.12.4\r\nOS Arch: x86_64\r\n\r\nJRE Version: 1.7.0_80\r\nJRE Vendor: Oracle Corporation\r\nJRE Home: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre\r\n\r\nAppcelerator Studio Version: 4.8.1.201612050850\r\n\r\nXCode Version: 8.3.2\r\n\r\nSelected Titanium SDK: 6.0.4.GA\r\nLatest Titanium SDK: 6.1.0.v20160909001131\r\n\r\nNode.JS Version: v5.12.0 (although I have also tried again 4.8.x)", "closedSprints": [ { "id": 890, "state": "closed", "name": "2017 Sprint 10 Tooling", "startDate": "2017-05-08T00:27:34.394Z", "endDate": "2017-05-22T00:27:00.000Z", "completeDate": "2017-05-22T02:42:47.719Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "419609", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for the detailed infos! Moved it to TIMOB for immediate investigation. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-12T14:25:54.000+0000", "updated": "2017-05-12T14:25:54.000+0000" }, { "id": "419610", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-24681.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-12T14:42:59.000+0000", "updated": "2017-05-12T14:42:59.000+0000" }, { "id": "419614", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "Thanks Chris, i found a way round it after seeing the AVD connection.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2017-05-12T15:16:39.000+0000", "updated": "2017-05-12T15:16:39.000+0000" }, { "id": "420607", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments and the linked ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-30T16:43:08.000+0000", "updated": "2017-05-30T16:43:08.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }