Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13743] Liveview: Liveview does not work with android emulator or android device

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2013-05-02T09:13:23.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sn/a
ComponentsLiveView
Labelsqe-3.1.1
ReporterEric Merriman
AssigneeChristian Sullivan
Created2013-05-02T00:39:40.000+0000
Updated2014-06-19T12:43:25.000+0000

Description

Description:

While testing liveview, I attempted to run on Android emulator and on Android device. Both failed. My first emulator run failed with a red runtime error screen complaining of a timeout. This is similar to the attached image from device. The second run and subsequent runs of the emulator launched and ran, but changes did not show in the emulator. The console reported the changed files however:
 [INFO]  Reload Triggered
 	-REASON:  File Changed
  -FILE:  /Users/emerriman/Documents/workspace/mayworkspace/basicNoServ/Resources/app.js
attempting to install on works, but when the app is auto-launched, it fails with the error shown in the attachment

Steps to reproduce:

1) Navigate to the studio install location for liveview and run "./liveview-server stop" 2) Launch a project without crittercism for Android emulator liveview enabled 3) Change the app.js code part two: Launch liveview session on android device

Result:

Emulator will not show any changes although the console shows the file listener is functioning part two: error as shown in attachment

Expected Result:

Code changes appear in the emulator Device build runs and shows code changes

Attachments

FileDateSize
device-2013-05-01-170112.png2013-05-02T00:39:40.000+000049005

Comments

  1. Christian Sullivan 2013-05-02

    This should be fixed. Test with LiveView v0.1.10
  2. Christian Sullivan 2013-05-02

    This issue is cause by criticism injecting code in to the app.js. The criticism module needs to be updated to comply with the cli build hooks system.

JSON Source