Android Question B4A debug usb error

uniplan

Active Member
Licensed User
Longtime User
Often when I debug an application in usb mode I get the following error:

B4X:
java.lang.RuntimeException: Unable to create service uniplan.solverwip2022.starter: java.lang.RuntimeException: java.io.EOFException
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4251)
    at android.app.ActivityThread.access$1700(ActivityThread.java:244)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1982)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:223)
    at android.app.ActivityThread.main(ActivityThread.java:7723)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)
Caused by: java.lang.RuntimeException: java.io.EOFException
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:164)
    at anywheresoftware.b4a.shell.Shell.start(Shell.java:102)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:94)
    at uniplan.solverwip2022.starter.onCreate(starter.java:34)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4239)
    ... 8 more
Caused by: java.io.EOFException
    at java.io.DataInputStream.readFully(DataInputStream.java:200)
    at java.io.DataInputStream.readInt(DataInputStream.java:389)
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:136)
    ... 12 more

I also tried to remove all the brackpoints as suggested in the forum but the result doesn't change.
Trying several times eventually the debug starts.

Is it possible to solve the problem? Thank you.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…