Android Question Problems with B4A-Bridge

Helio

Member
Hello everybody.
After performing an update on my network, increasing its speed, the modem was replaced by a more modern one containing a router. After this update the debugging of my programs directly on the device through B4A-Bridge is not working normally and when it works it is very slow and gives an error. What could have happened?

Sincerely, Helio!
 

Helio

Member
Logger conectado a: samsung SM-J700M
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
** Activity (main) Resume **
** Activity (main) Pause event (activity is not paused). **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
** Activity (main) Resume **
** Activity (main) Pause event (activity is not paused). **
--------- beginning of system
java.lang.RuntimeException: Unable to create service b4a.batnav8.starter: java.lang.RuntimeException: java.net.SocketException: sendto failed: EBADF (Bad file descriptor)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3883)
at android.app.ActivityThread.access$2100(ActivityThread.java:229)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1909)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7325)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.RuntimeException: java.net.SocketException: sendto failed: EBADF (Bad file descriptor)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:164)
 
Upvote 0

MikeSW17

Active Member
Licensed User
Longtime User
You've substantially replaced your network, so any number of things from network configuration settings to network hardware faults/incompatibility could be the cause.
Everything worked OK before this, so it's extremely unlikely to be a B4A/Bridge issue,.
I presume you're using a WiFi connection to the device? Have you tried a direct USB cable connection to eliminate/confirm the network?

*See next Post Too*
 
Last edited:
Upvote 0

MikeSW17

Active Member
Licensed User
Longtime User
UMMM... looking at the log, B4A-Bridge looks like it is working.
Are you sure you haven't introduced a recent bug into your App?
Try debugging another known good App to see how B4A-Bridge behaves.
 
Upvote 0

Helio

Member
Thanks for the reply, MikeSW17. I think that the modem with a router offered by the company has a low intra-network transfer speed and that's why it wasn't working normally with the bridge. I couldn't even watch movies on TV through my smartphone. I went back to using the old router and now it's working great!
 
Upvote 0
Top