Closed GoogleCodeExporter closed 9 years ago
Thanks, that's actually 2 bugs one of which I would never have found.
It seems that in Linux getting the hostname of your machine returns the
loopback (hence 127.0.0.1) so the device wouldn't be able to communicate
directly with the resource editor. To fix this properly you will need a new
version of the designer with live preview.
I will also update the live preview application and maybe just upload it to
Android Market for easier deployment.
Original comment by shai.almog
on 10 Mar 2012 at 7:04
Verified this is working now on build 20120311, am able to connect and view my
gui elements. I'm getting a lot of ConnectExceptions on the GuiBuilder side
though, every few seconds, here's the stack:
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at com.codename1.designer.LivePreview$3.run(LivePreview.java:311)
Original comment by 1815...@coolman.ca
on 12 Mar 2012 at 1:55
Original issue reported on code.google.com by
1815...@coolman.ca
on 9 Mar 2012 at 10:51