Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14226] LiveView: building/running fails when LiveView server is not running - subsequently build/run works as expected

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-07-23T21:25:30.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 15 Tooling, 2013 Sprint 15, Release 3.1.2, Release 3.2.0
ComponentsLiveView
Labelsqe-3.1.1, qe-testadded
ReporterFederico Casali
AssigneeChristian Sullivan
Created2013-06-13T22:36:53.000+0000
Updated2014-02-24T23:53:40.000+0000

Description

Problem description

LiveView is throwing an exception when building/running for the first time and LiveView server is not running. Subsequently building/running the project it works as expected

Steps to reproduce

1. Create a new project 2. Enable LiveView and run on Android Emulator Result: exceptions are thrown, LiveView server is not running and build fails - see attached log and screenshot 3. Build/Run again Result: application is now correctly built and LiveView is working

Attachments

FileDateSize
liveView.log2013-06-13T22:36:53.000+000041761
Screen Shot 2013-06-13 at 3.35.33 PM.png2013-06-13T22:36:53.000+0000311252

Comments

  1. Michael Xia 2013-07-17

    I'm re-opening the issue for more investigation since I still saw it with LiveView 0.1.28 on a sample app.
  2. Federico Casali 2013-07-22

    Confirming bug behavior. I was able to reproduce it with this environment. Titanium SDK 3.1.2.v20130718094558 Appcelerator Studio 3.1.2.201307191853 Alloy 1.2.0 LiveView 0.1.28 (from Beta stream)
  3. Federico Casali 2013-07-22

    Also, currently not able to run LiveView on Android device. Always displaying the exception also after rebuilding.
  4. Christian Sullivan 2013-07-23

    Resolved in [master] https://github.com/appcelerator/liveview/commit/512e8e39f0cd5428be9248f96b074a9000318a9e
  5. Christian Sullivan 2013-07-23

    The issue was when the device model is "sdk" the proxy ip 10.0.2.2 is used to connect to the server 127.0.0.1. The problem was for some android emulators the device model outputs as google_sdk
  6. Pragya Rastogi 2013-12-17

    Closing as fixed since LiveView server runs as expected with : OSX: 10.8.5 Xcode: 5.0 Appcelerator Studio:3.2.0.201312151544 SDK:3.2.0.v20131216191854 alloy: 1.3.0-cr2 acs: 1.0.10 npm: 1.3.2 titanium: 3.2.0-cr3 titanium-code-processor: 1.1.0-cr2 Device: Nexus 7 (v4.3)

JSON Source