GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-14T20:35:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.2, Release 3.2.0 |
Components | LiveView |
Labels | n/a |
Reporter | Praveen Innamuri |
Assignee | Christian Sullivan |
Created | 2013-05-06T18:52:31.000+0000 |
Updated | 2013-12-03T20:43:04.000+0000 |
Liveview version : 0.1.12
Steps to reproduce :
1) Launch app A enabled with liveview on iphone simulator.
2) Launch app B enabled with liveview on Android emulator.
Actual:
App B fails to start on Android emulator (as shown in the screenshot).
Expected:
App B should be started with liveview
can you please attache the build log so I can diagnose the issue better
unable to reproduce via command line.
Addressed by commit: https://github.com/appcelerator/liveview/commit/4e37476ee9ada68cf4eb1e0b082289bb34c12db0
Issue is reproducible. App throws a runtime error while trying to run it with liveview enabled on Emulator. Environment Used: Android Emulator v4.2 , iOS Simulator v6. SDK: 3.1.1.v20130612114553 CLI version : 3.1.1-cr OS : MAC OSX 10.7.5 Appcelerator Studio, build: 3.1.1.201306121633 XCode : 4.5.1 LiveView : 0.1.24 Log: 06-13 10:31:49.948: E/TiExceptionHandler(1003): (main) [5,5397] - Message: Uncaught Error: [LiveView] 06-13 10:31:49.948: E/TiExceptionHandler(1003): (main) [4,5401] - Source: throw new Error('[LiveView]', 'File Server unavailable. Host Unreachable
I was able to launch two different apps , simulator(app A) and emulator(app B) with liveview enabled. Code changes apply on app B now, and I can see it on simulator/emulator. I linked this issue to TIMOB-14168, which is closed now.
This is happening because for some reason the precompile hook is never fired in liveview's hook. In this hook the server stop command it executed to stop all servers before starting new ones.
Fixed in v0.1.25 https://github.com/appcelerator/liveview/pull/35
Verified fixed on Appcelerator Studio, build: 3.1.2.201308091728, OSX 10.8.3.