Project: titanium
Issue TIMOB-18600: LiveView: Building to an Android emulator fails with [LiveView] File Server unavailable. Host Unreachable
h5.Description When attempting to build to an Android emulator the build fails with. {code} [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 @ 172.16.0.216:8324 [ERROR] : TiExceptionHandler: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked. {code} 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 {code} [LiveView] version 1.0.7 [LiveView] File Server Started on Port 8324 [LiveView] Alloy project monitor started [LiveView] Event Server Started on Port 8323 {code} This issue is not reliant on a node version, it occurs in node 0.12 as well as 0.10.32 h5.Steps To Reproduce 1. Build to an Android emulator from Studio with LiveView enabled h5.Actual Result The build fails with the error above h5.Expected Result The build should not fail and LiveView should be working as expected
Story points: 8