Android Question compilation problem

yaniv hanya

Active Member
Licensed User
Hi
when i try to run in debug mode
i get the message "waiting for IDE debugeer to connect"
and there it stucks

and if it is more kide to tell me what happend i get this log
--------- beginning of main
java.lang.RuntimeException: Unable to create service b4a.example.starter: java.lang.RuntimeException: java.io.IOException: Stream closed.
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3263)
at android.app.ActivityThread.-wrap5(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1617)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
Caused by: java.lang.RuntimeException: java.io.IOException: Stream closed.
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:92)
at b4a.example.starter.onCreate(starter.java:34)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3253)
... 8 more
Caused by: java.io.IOException: Stream closed.
at java.net.AbstractPlainSocketImpl.available(AbstractPlainSocketImpl.java:453)
at java.net.SocketInputStream.available(SocketInputStream.java:254)
at java.io.BufferedInputStream.read(BufferedInputStream.java:342)
at java.io.DataInputStream.read(DataInputStream.java:149)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:154)
... 12 more
i tried it in different projects
in release mode it works fine/
what can be the problem?
 
Top