Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3501] LiveView doesn't work

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2016-04-28T20:20:18.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
Componentsn/a
Labelsfeedback
ReporterDaniel Hernández
AssigneeShak Hossain
Created2016-04-13T14:08:52.000+0000
Updated2016-04-28T20:20:18.000+0000

Description

Live view doesn't work in simulator, emulator and devices.

Comments

  1. Sharif AbuDarda 2016-04-13

    Hello, I have tested an application with Liveview enabled in iOS and Android emulator. Liveview is working fine with Appcelerator Studio, build: 4.5.0.201602170821. Make sure your internet connection is ok. Regards, Sharif.
  2. Fokke Zandbergen 2016-04-19

    I can reproduce this. I have the LiveView button enabled but the logs show nothing related to LiveView. The appc ti config does include the LiveView hook and the path is correct.
  3. Sharif AbuDarda 2016-04-20

    Hello, I have tested this again. Liveview is working as expected in simulator, emulator. See the screenshots. 1. [Screenshot 1](http://postimg.org/image/qmu3seyyf/). 2. [Screenshot 2](http://postimg.org/image/7e22zil4n/). Make sure your pc and your device is connected to the same network. If you are using wifi connection make sure your device and pc is in the neme network. If you are using dial up connection, make sure your pc's wifi share option is enabled (for simulator). Also, make sure you are not using internet behind a proxy. If you are using proxy than please follow the guide here on how to enable procy sattings in studio. http://docs.appcelerator.com/platform/latest/#!/guide/Using_Studio_From_Behind_a_Proxy Regards, Sharif.
  4. Mauro 2016-04-21

  5. Sharif AbuDarda 2016-04-21

    Hello, Please check if you can browse through safari in simulator. Following two port: 8323 and 8324 should not be blocked. make sure no other program is using this port. Check by sudo lsof -i :8323 sudo lsof -i :8324 Make sure no other program is using these port. Do a clean on the project. Now try building with LiveView enabled. Regards, Sharif.
  6. Mauro 2016-04-22

  7. Sharif AbuDarda 2016-04-22

    Hello, It looks to be your pc's port 8323 is used by node. You need to open that port for Appcelerator use as liveView to use. Please look through the net on how to open a specific port in mac. You will find solution in here http://www.macworld.co.uk/how-to/mac-software/how-open-specific-ports-in-os-x-1010-firewall-3616405/ "sudo lsof -i :8323", is not suppose to response anything if the port is open. Regards, Sharif.
  8. Mauro 2016-04-23

  9. Sharif AbuDarda 2016-04-26

    Hello, The "ENOENT" error occur if there is no node installed or running. You need the node to run in the back for Appcelerator. As I see when you stop the node process you can use the port 8323 as it shows in the console
       [LiveView] File Server Started on Port 8324
       [LiveView] Alloy project monitor started
       [LiveView] Event Server Started on Port 8323
       
    You need the port 8323 open for liveview and you need the node running on some other port. If you enable the node now then it will take some other port as port 8323 already in use. Enable node and try running again. Thanks.
  10. Mauro 2016-04-26

    Hello, thanks for the response. I tried to use live view on a new clean alloy project and it work fine. Now I'm confused, is there something that causes this error on a specific project? Liveview dosen't work on all my existing projects. Thanks in advance
  11. Sharif AbuDarda 2016-04-28

    Cleaning the projects and running again might resolve the issue. It seems liveView is working on the new projects. The issue could be closed. Regards, Sharif.

JSON Source