[TIMOB-14226] LiveView: building/running fails when LiveView server is not running - subsequently build/run works as expected
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-23T21:25:30.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 15 Tooling, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
Components | LiveView |
Labels | qe-3.1.1, qe-testadded |
Reporter | Federico Casali |
Assignee | Christian Sullivan |
Created | 2013-06-13T22:36:53.000+0000 |
Updated | 2014-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 expectedSteps 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 workingAttachments
File | Date | Size |
---|---|---|
liveView.log | 2013-06-13T22:36:53.000+0000 | 41761 |
Screen Shot 2013-06-13 at 3.35.33 PM.png | 2013-06-13T22:36:53.000+0000 | 311252 |
I'm re-opening the issue for more investigation since I still saw it with LiveView 0.1.28 on a sample app.
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)
Also, currently not able to run LiveView on Android device. Always displaying the exception also after rebuilding.
Resolved in [master] https://github.com/appcelerator/liveview/commit/512e8e39f0cd5428be9248f96b074a9000318a9e
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
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)