Android Tutorial B4A-Bridge a new way to connect to your device

Discussion in 'Tutorials & Examples' started by Erel, Feb 24, 2011.

Thread Status:
Not open for further replies.
  1. DeSche

    DeSche New Member Licensed User

    Device show only "Umfassende Prüfung der Apps nach Bedrohnung", meaning that the app will be checked to have no dangerous parts.

    Than the device say: "Vor der Installation mit Lookout", meaning "before Installation with lookout".

    I've re-installier B4A bride and i've also deleted the old version of my app on the Phone
     
    Last edited: Jun 28, 2017
  2. Mikonios

    Mikonios Active Member Licensed User

    Crash with B4A 7.30 and B4A-Bridge 2.31 ECONNRESET
    (I put this here, because when I create a new conversation it asks me for participants and it does not allow me to insert any) !!!

    I often happen with the new version B4A 7.30 when compiling a version, and after transfer with B4-Bridge v2.31, and after installing the application the process stops and crash the application. I am attaching the error log.

    This same application and without any modification sometimes compiles the first and other times I have to compile up to 5 or 10 times.
    The only way to compile well again is by closing the compiler on windows, closing B4A-Bridge and recompiling. And I do not have any problems in my network.

    Does this happen to any of you ??
    Do you know someone who should ??
    Has anyone solved this problem ??
    Is there any known solution for this ??
    Code:
    '''    Logger connected To:  samsung SM-N9005
    '''    --------- beginning of main
    '''    ** Activity (main) Create, isFirst = True **
    '''    ** Activity (main) Resume **
    '''    ** Activity (main) Pause, UserClosed = False **
    '''    --------- beginning of system
    '''    java.lang.RuntimeException: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:168)
    '''        at anywheresoftware.b4a.shell.Shell.start(Shell.java:101)
    '''        at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:89)
    '''        at coco.gas.main.afterFirstLayout(main.java:94)
    '''        at coco.gas.main.access$000(main.java:17)
    '''        at coco.gas.main$WaitForLayout.run(main.java:80)
    '''        at android.os.Handler.handleCallback(Handler.java:739)
    '''        at android.os.Handler.dispatchMessage(Handler.java:95)
    '''        at android.os.Looper.Loop(Looper.java:145)
    '''        at android.app.ActivityThread.main(ActivityThread.java:5938)
    '''        at java.lang.reflect.Method.invoke(Native Method)
    '''        at java.lang.reflect.Method.invoke(Method.java:372)
    '''        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    '''        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    '''    Caused by: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:592)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:556)
    '''        at java.net.PlainSocketImpl.read(PlainSocketImpl.java:485)
    '''        at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
    '''        at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
    '''        at java.io.InputStream.read(InputStream.java:162)
    '''        at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:149)
    '''        at java.io.BufferedInputStream.read(BufferedInputStream.java:295)
    '''        at libcore.io.Streams.readFully(Streams.java:81)
    '''        at java.io.DataInputStream.readInt(DataInputStream.java:103)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:140)
    '''        ... 13 more
    '''    Caused by: android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.Posix.recvfromBytes(Native Method)
    '''        at libcore.io.Posix.recvfrom(Posix.java:161)
    '''        at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:553)
    '''        ... 22 more
    '''    java.lang.RuntimeException: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:168)
    '''        at anywheresoftware.b4a.shell.Shell.start(Shell.java:101)
    '''        at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:89)
    '''        at coco.gas.main.afterFirstLayout(main.java:94)
    '''        at coco.gas.main.access$000(main.java:17)
    '''        at coco.gas.main$WaitForLayout.run(main.java:80)
    '''        at android.os.Handler.handleCallback(Handler.java:739)
    '''        at android.os.Handler.dispatchMessage(Handler.java:95)
    '''        at android.os.Looper.Loop(Looper.java:145)
    '''        at android.app.ActivityThread.main(ActivityThread.java:5938)
    '''        at java.lang.reflect.Method.invoke(Native Method)
    '''        at java.lang.reflect.Method.invoke(Method.java:372)
    '''        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    '''        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    '''    Caused by: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:592)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:556)
    '''        at java.net.PlainSocketImpl.read(PlainSocketImpl.java:485)
    '''        at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
    '''        at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
    '''        at java.io.InputStream.read(InputStream.java:162)
    '''        at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:149)
    '''        at java.io.BufferedInputStream.read(BufferedInputStream.java:295)
    '''        at libcore.io.Streams.readFully(Streams.java:81)
    '''        at java.io.DataInputStream.readInt(DataInputStream.java:103)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:140)
    '''        ... 13 more
    '''    Caused by: android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.Posix.recvfromBytes(Native Method)
    '''        at libcore.io.Posix.recvfrom(Posix.java:161)
    '''        at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:553)
    '''        ... 22 more
    '''    java.lang.RuntimeException: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:168)
    '''        at anywheresoftware.b4a.shell.Shell.start(Shell.java:101)
    '''        at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:89)
    '''        at coco.gas.main.afterFirstLayout(main.java:94)
    '''        at coco.gas.main.access$000(main.java:17)
    '''        at coco.gas.main$WaitForLayout.run(main.java:80)
    '''        at android.os.Handler.handleCallback(Handler.java:739)
    '''        at android.os.Handler.dispatchMessage(Handler.java:95)
    '''        at android.os.Looper.Loop(Looper.java:145)
    '''        at android.app.ActivityThread.main(ActivityThread.java:5938)
    '''        at java.lang.reflect.Method.invoke(Native Method)
    '''        at java.lang.reflect.Method.invoke(Method.java:372)
    '''        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    '''        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    '''    Caused by: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:592)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:556)
    '''        at java.net.PlainSocketImpl.read(PlainSocketImpl.java:485)
    '''        at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
    '''        at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
    '''        at java.io.InputStream.read(InputStream.java:162)
    '''        at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:149)
    '''        at java.io.BufferedInputStream.read(BufferedInputStream.java:295)
    '''        at libcore.io.Streams.readFully(Streams.java:81)
    '''        at java.io.DataInputStream.readInt(DataInputStream.java:103)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:140)
    '''        ... 13 more
    '''    Caused by: android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.Posix.recvfromBytes(Native Method)
    '''        at libcore.io.Posix.recvfrom(Posix.java:161)
    '''        at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:553)
    '''        ... 22 more
    '''    java.lang.RuntimeException: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:168)
    '''        at anywheresoftware.b4a.shell.Shell.start(Shell.java:101)
    '''        at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:89)
    '''        at coco.gas.main.afterFirstLayout(main.java:94)
    '''        at coco.gas.main.access$000(main.java:17)
    '''        at coco.gas.main$WaitForLayout.run(main.java:80)
    '''        at android.os.Handler.handleCallback(Handler.java:739)
    '''        at android.os.Handler.dispatchMessage(Handler.java:95)
    '''        at android.os.Looper.Loop(Looper.java:145)
    '''        at android.app.ActivityThread.main(ActivityThread.java:5938)
    '''        at java.lang.reflect.Method.invoke(Native Method)
    '''        at java.lang.reflect.Method.invoke(Method.java:372)
    '''        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    '''        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    '''    Caused by: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:592)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:556)
    '''        at java.net.PlainSocketImpl.read(PlainSocketImpl.java:485)
    '''        at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
    '''        at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
    '''        at java.io.InputStream.read(InputStream.java:162)
    '''        at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:149)
    '''        at java.io.BufferedInputStream.read(BufferedInputStream.java:295)
    '''        at libcore.io.Streams.readFully(Streams.java:81)
    '''        at java.io.DataInputStream.readInt(DataInputStream.java:103)
    '''        at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:140)
    '''        ... 13 more
    '''    Caused by: android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
    '''        at libcore.io.Posix.recvfromBytes(Native Method)
    '''        at libcore.io.Posix.recvfrom(Posix.java:161)
    '''        at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)
    '''        at libcore.io.IoBridge.recvfrom(IoBridge.java:553)
    '''        ... 22 more
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    This error is not related to B4A-Bridge. Please start a new thread (not conversation) in the questions forum.
     
  4. Mikonios

    Mikonios Active Member Licensed User

Thread Status:
Not open for further replies.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice