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

LiveView: Building to an Android emulator fails with [LiveView] File Server unavailable. Host Unreachable


    • Type: Bug
    • Status: Reopened
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 3.5.1
    • Fix Version/s: None
    • Component/s: Android, LiveView
    • Environment:

      Mac OSX 10.10.2
      Appcelerator Studio, build:
      Titanium SDK build: 3.5.1.v20150219140555
      Titanium CLI, build: 3.4.2-alpha
      Alloy: 1.5.1
      Android Emulator 5.0.1
      LiveView 1.0.7

    • Story Points:
    • Sprint:
      2015 Sprint 04 Tooling



      When attempting to build to an Android emulator the build fails with.

       [ERROR] :  TiExceptionHandler: (main) [9499,9499] ----- Titanium Javascript Runtime Error -----
          [ERROR] :  TiExceptionHandler: (main) [1,9500] - In app.js:567,13
          [ERROR] :  TiExceptionHandler: (main) [1,9501] - Message: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @
          [ERROR] :  TiExceptionHandler: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.

      I do not believe this is a regression as it has been reported in previous versions of LiveView

      To workaround just disable LiveView and the build will be fine

      Building to device with LiveView works fine and I am able to make changes with no errors
      Checking the log output shows that the LiveView server has started

      [LiveView] version 1.0.7
      [LiveView] File Server Started on Port 8324
      [LiveView] Alloy project monitor started
      [LiveView] Event Server Started on Port 8323

      This issue is not reliant on a node version, it occurs in node 0.12 as well as 0.10.32

      Steps To Reproduce

      1. Build to an Android emulator from Studio with LiveView enabled

      Actual Result

      The build fails with the error above

      Expected Result

      The build should not fail and LiveView should be working as expected


          Issue Links



              • Assignee:
                eharris Ewan Harris
              • Watchers:
                0 Start watching this issue


                • Created:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    Sync status:
                    Last received:
                    Last sent:

                    Git Source Code