Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24685] Android: Impossible to build against 6.0.4.GA

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2017-05-12T14:42:59.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, build, regression, sdk
ReporterKetan Majmudar
AssigneeChris Barber
Created2017-05-12T14:14:32.000+0000
Updated2017-05-30T16:43:08.000+0000

Description

Here is the output from my system - if I select ti sdk to 6.0.3.GA building is fine. Another 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). Note: I build using the CLI mainly. {noformat} Ket-MBP5:festivalapp ketan$ appc run -p android -l trace Appcelerator Command-Line Interface, version 6.1.0 Copyright (c) 2014-2017, Appcelerator, Inc. All Rights Reserved. 2017-05-12T14:05:27.935Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} 2017-05-12T14:05:27.936Z | TRACE | checking credentials for existing session 2017-05-12T14:05:28.150Z | TRACE | Attempting to load session info from config file 2017-05-12T14:05:28.156Z | TRACE | check if session is invalidated 2017-05-12T14:05:29.123Z | TRACE | registry result 200 application/json undefined undefined false undefined 2017-05-12T14:05:29.125Z | TRACE | registry returned { expiry: 1495202682782 } 2017-05-12T14:05:29.125Z | TRACE | refresh session expiry to: 1495202682782 2017-05-12T14:05:29.130Z | TRACE | session expiry 1495202682782 false 2017-05-12T14:05:29.131Z | TRACE | Arrow Cloud config file: /Users/ketan/.acs 2017-05-12T14:05:29.133Z | TRACE | found Arrow Cloud login { mid: 'debe653b56ab1bc449ac792ab238fafd0a74a56e', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'ket@spiritquest.co.uk', cookie: [ 'connect.sid=s%3ApysFggruPS0nJDOauLCPNKW9.1zDMCBskInPFc4JahcLkUGs8Lh5rT01F9cqRpP%2FJCVc; Path=/; Expires=Tue, 23 May 2017 21:40:19 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2017-05-12T14:05:29.134Z | TRACE | Arrow Cloud cookie expiry [ 1495575619000 ] 2017-05-12T14:05:29.134Z | TRACE | session already loaded in opts.session 2017-05-12T14:05:29.135Z | TRACE | getCredentials() session: { "ipaddress": "192.168.3.24", "username": "ket@spiritquest.co.uk", "password": "", "session": "", "nonce": "", "environment": { "name": "production", "isProduction": true, "acsBaseUrl": "https://api.cloud.appcelerator.com", "acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com", "nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com" }, "token": "", "fingerprint": "debe653b56ab1bc449ac792ab238fafd0a74a56e", "fingerprint_description": "Mac OSX Serial Number: C02Q22K9G8WM", "org_id": 100000818, "expiry": 1495202682782 } 2017-05-12T14:05:29.135Z | TRACE | loading plugins for command "run" 2017-05-12T14:05:29.168Z | TRACE | run search paths: [ "/Users/ketan/.appcelerator/install/6.1.0/package", "/Users/ketan/.appcelerator/install/6.1.0/package/node_modules", "/Users/ketan/Projects/festivalapp/modules", "/Users/ketan/Projects/festivalapp/plugins", "/Users/ketan/Projects/festivalapp/node_modules", "/Users/ketan/Projects/node_modules", "/Users/ketan/node_modules", "/Users/node_modules", "/node_modules", "/Users/ketan/.appcelerator/.npm/lib/node_modules" ] 2017-05-12T14:05:29.169Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/ketan/.appcelerator/install/6.1.0/package/appc.js 2017-05-12T14:05:29.382Z | DEBUG | [PLUGIN-LOAD] 213ms /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/appc-cli-titanium/appc.js 2017-05-12T14:05:29.382Z | DEBUG | run plugin: /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/appc-cli-titanium 2017-05-12T14:05:29.384Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/arrow/appc.js 2017-05-12T14:05:29.385Z | DEBUG | run plugin: /Users/ketan/.appcelerator/install/6.1.0/package/node_modules/arrow 2017-05-12T14:05:29.402Z | TRACE | plugin "arrow" failed its "when" function check, skipping... 2017-05-12T14:05:29.402Z | TRACE | loading plugin "titanium" for command "run" CLI options via function 2017-05-12T14:05:29.403Z | TRACE | loading plugin "titanium" for command "run" CLI options via array 2017-05-12T14:05:29.404Z | TRACE | executing command "run" with the following plugins: ["titanium"] 2017-05-12T14:05:29.405Z | TRACE | Attempting to load session info from config file 2017-05-12T14:05:29.406Z | TRACE | check if session is invalidated 2017-05-12T14:05:30.014Z | TRACE | registry result 200 application/json undefined undefined false undefined 2017-05-12T14:05:30.015Z | TRACE | registry returned { expiry: 1495202683675 } 2017-05-12T14:05:30.015Z | TRACE | refresh session expiry to: 1495202683675 2017-05-12T14:05:30.015Z | TRACE | session expiry 1495202683675 false 2017-05-12T14:05:30.016Z | TRACE | session already loaded in opts.session 2017-05-12T14:05:30.017Z | DEBUG | Titanium Downloads Last Checked: 1494526275440 2017-05-12T14:05:32.424Z | ERROR | An uncaught exception was thrown! Cannot read property 'name' of undefined 2017-05-12T14:05:32.425Z | ERROR | Cannot read property 'name' of undefined 2017-05-12T14:05:32.425Z | TRACE | TypeError: Cannot read property 'name' of undefined at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/titanium-sdk/lib/android.js:671:23 at Array.forEach (native) at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/titanium-sdk/lib/android.js:641:27 at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:3679:13 at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:486:20 at iterateeCallback (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:867:28) at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:847:20 at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:3676:17 at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/async/dist/async.js:339:31 at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/titanium-sdk/lib/android.js:72:5 at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:248:4 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 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 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) 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 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 --------------------------------------------- at run (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:59:8) at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:215:5 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 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) 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) 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) 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) at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:165:9 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 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 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) 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) 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 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 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) --------------------------------------------- at Object.run (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:59:8) at find (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:96:14) 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 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) 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) at processImmediate [as _immediateCallback] (timers.js:396:17) --------------------------------------------- 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 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) 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 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) 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) at findExecutable (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:113:8) at /Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:134:5 at ChildProcess. (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:60:3) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:862:16) at Socket. (internal/child_process.js:338:11) at emitOne (events.js:77:13) --------------------------------------------- at run (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/subprocess.js:59:8) at detectOSX (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:128:4) 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 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) 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) 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 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 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) 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 at detectLinux (/Users/ketan/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/node_modules/node-appc/lib/jdk.js:115:45) 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 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) 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 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) 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 {noformat}

Attachments

FileDateSize
Banners_and_Alerts_and_Preferences_and_Studio_-_Appcelerator_Studio_Dashboard_-_Appcelerator_Studio_-__Users_ketan_Documents_Appcelerator_Studio_Workspace.jpg2017-05-12T14:10:01.000+0000277028
Studio_-_Appcelerator_Studio_Dashboard_-_Appcelerator_Studio_-__Users_ketan_Documents_Appcelerator_Studio_Workspace.jpg2017-05-12T14:10:01.000+000077656

Comments

  1. Hans Knöchel 2017-05-12

    Thanks for the detailed infos! Moved it to TIMOB for immediate investigation.
  2. Chris Barber 2017-05-12

    Dupe of TIMOB-24681.
  3. Ketan Majmudar 2017-05-12

    Thanks Chris, i found a way round it after seeing the AVD connection.
  4. Lee Morris 2017-05-30

    Closing ticket as duplicate with reference to the above comments and the linked ticket.

JSON Source