Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16553

CLI: Android build-tools v19.0.3 causes 'ti info' to throw an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.2
    • Component/s: Android, CLI
    • Environment:

      Mac OSX 10.9.2
      Appcelerator Studio, build: 3.2.1.201402061120
      Titanium SDK, build: 3.2.2.v20140221161255
      CLI: 3.2.1
      Alloy: 1.3.1
      Android SDK Tools: 22.6
      Android Platform Tools: 19.0.1
      Android Build Tools: 19.0.3

      Description

      Description

      Updating to the latest Android tool set causes the 'ti info' command to fail

      Steps To Reproduce

      1. Install the latest Android tool set (SDK Tools, build-tools, platform-tools)
      2. Run 'ti info'

      Expected Result

      Should display all information without throwing an error

      Actual Error

      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
              throw e;
                    ^
      TypeError: Cannot call method 'join' of undefined
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/info.js:82:77
          at Array.forEach (native)
          at exports.render (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/info.js:64:29)
          at /usr/local/lib/node_modules/titanium/lib/commands/info.js:613:14
          at Array.forEach (native)
          at /usr/local/lib/node_modules/titanium/lib/commands/info.js:607:13
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:232:13
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:24:16
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
      ---------------------------------------------
          at Readable.on (_stream_readable.js:689:33)
          at Connection.exec (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/adb.js:114:9)
          at ADB.devices (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/adb.js:362:23)
          at Object.detectDevices (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/detect.js:60:18)
          at Section.<anonymous> (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/info.js:25:7)
          at finalize (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:313:4)
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:681:5
          at ChildProcess.<anonymous> (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:60:3)
      ---------------------------------------------
          at run (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:59:8)
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:453:4
          at getRealName (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:124:10)
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:450:3
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:533:17
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:119:25
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:24:16
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:530:21
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              sdowse Samuel Dowse
              Reviewer:
              Allen Yeung
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18438
                  Sync status:
                  ERROR
                  Last sent:

                  Git Integration