Visual designer on HTC One X (ICS) not working

francoisg

Active Member
Licensed User
Longtime User
Hi, I tried the new ICS designer on my new HTC One X, but for some reason it never works (Can't see any views on the device). Connecting to the device seems to work as the designer app starts up on the phone, but nothing else happens.
Worked perfectly with my SE XPeria X10 before, so I'm a bit confused!

Using B4A ver 2.0 (Previous version acted the same on the One X device!!!)

Any ideas???
 

francoisg

Active Member
Licensed User
Longtime User
I am using the USB cable ...
Not sure if this is only related to the One X - the standard designer behaves exactly the same on my device (ie. no views visible).
 

francoisg

Active Member
Licensed User
Longtime User
When the logs are filtered I only see the following:
* LOG BEGIN ********************************************
LogCat connected to: HT24HW106631
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
* LOG END **********************************************

Unfiltered I got the following (not sure if it is relevant?)

* LOG BEGIN ********************************************
Designer connector running in wifi mode.
java.net.BindException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.IoBridge.bind(IoBridge.java:89)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:150)
at java.net.ServerSocket.<init>(ServerSocket.java:100)
at java.net.ServerSocket.<init>(ServerSocket.java:80)
at anywheresoftware.b4a.designer.Connector.mainLoop(Connector.java:95)
at anywheresoftware.b4a.designer.Connector.run(Connector.java:75)
at java.lang.Thread.run(Thread.java:864)
Caused by: libcore.io.ErrnoException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.Posix.bind(Native Method)
at libcore.io.ForwardingOs.bind(ForwardingOs.java:39)
at libcore.io.IoBridge.bind(IoBridge.java:87)
... 6 more
* LOG END **********************************************

I see it says it is running in wifi mode - might this be part of the issue (the device wifi was on, then I turned it off but it still says it is using wifi mode - funny ...)?
 

francoisg

Active Member
Licensed User
Longtime User
Switched wifi off, restarted the device and then reconnected and tried again. I now get the same (even after restarting b4a and clearing the designer app cache on the device):

* LOG BEGIN ********************************************
java.net.BindException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.IoBridge.bind(IoBridge.java:89)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:150)
at java.net.ServerSocket.<init>(ServerSocket.java:100)
at java.net.ServerSocket.<init>(ServerSocket.java:80)
at anywheresoftware.b4a.designer.Connector.mainLoop(Connector.java:95)
at anywheresoftware.b4a.designer.Connector.run(Connector.java:75)
at java.lang.Thread.run(Thread.java:864)
Caused by: libcore.io.ErrnoException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.Posix.bind(Native Method)
at libcore.io.ForwardingOs.bind(ForwardingOs.java:39)
at libcore.io.IoBridge.bind(IoBridge.java:87)
... 6 more

Designer connector running in wifi mode.

java.net.BindException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.IoBridge.bind(IoBridge.java:89)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:150)
at java.net.ServerSocket.<init>(ServerSocket.java:100)
at java.net.ServerSocket.<init>(ServerSocket.java:80)
at anywheresoftware.b4a.designer.Connector.mainLoop(Connector.java:95)
at anywheresoftware.b4a.designer.Connector.run(Connector.java:75)
at java.lang.Thread.run(Thread.java:864)
Caused by: libcore.io.ErrnoException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.Posix.bind(Native Method)
at libcore.io.ForwardingOs.bind(ForwardingOs.java:39)
at libcore.io.IoBridge.bind(IoBridge.java:87)
... 6 more
* LOG END **********************************************
 
Last edited:

salmander

Active Member
Licensed User
Longtime User
I am experiencing same problem with my HTC One X. I just tried Erels suggested method, and it worked on USB connection only (not on wifi bridge mode). But When I replaced my designer.apk file with the ICS designer file, it's not working again.
 

salmander

Active Member
Licensed User
Longtime User
No particular error. It's just when I try to connect to device in Designer>Connect to Device/Emulator and choose my device, it opens the designer on my phone but no views are displayed and after a while of displaying Connecting to Device it just gives up.
 

jabberwocky

Member
Licensed User
Longtime User
I have the same problem with my HTC ONE X (using USB).
"Connecting to the device seems to work as the designer app starts up on the phone, but nothing else happens. "
While the status on the designer doesnt changed.
(Status: Disconnected...)
After a few seconds the designer app shuts down on my HTC device.

I'm using the current B4A software.

EDIT:
This: http://www.b4x.com/forum/basic4andr...048-logcat-adb-server-out-date.html#post61718
helped me to fix my problem.
 
Last edited:
Top