Android Question Parser problem

driesvp

Member
Licensed User
Working with a spare cellphone with Android 4.3, I'm facing some troubles (see https://www.b4x.com/android/forum/threads/wrong-class-file-ioexception-class.68569).

Now I do have a problem when debugging the software, I don't receive any errors anymore in B4A, but on the phone I receive "Problems with the parse package...". Who can help me?

LogCat connected to: B4A-Bridge: samsung GT-I9300
--------- beginning of /dev/log/main
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
ignoring event: pe_connectivitychanged
GC_EXPLICIT freed 277K, 21% free 10017K/12672K, paused 8ms+6ms, total 69ms
** Activity (main) Resume **
** Service (service1) Create **
** Service (service1) Start **
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 89K, 19% free 10346K/12672K, paused 5ms+2ms, total 43ms
Streams_terminated
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 690K, 23% free 10168K/13076K, paused 3ms+3ms, total 20ms
WAIT_FOR_CONCURRENT_GC blocked 11ms
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 353K, 22% free 10327K/13076K, paused 2ms+2ms, total 21ms
WAIT_FOR_CONCURRENT_GC blocked 9ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
java.net.SocketException: Socket closed
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 1059K, 25% free 10292K/13568K, paused 3ms+3ms, total 31ms
WAIT_FOR_CONCURRENT_GC blocked 13ms
Connected to B4A-Bridge (Wifi)
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
GC_CONCURRENT freed 377K, 24% free 10361K/13568K, paused 4ms+3ms, total 38ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 692K, 25% free 10180K/13568K, paused 4ms+4ms, total 42ms
WAIT_FOR_CONCURRENT_GC blocked 20ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 740K, 24% free 10360K/13568K, paused 3ms+1ms, total 24ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 702K, 34% free 10163K/15336K, paused 1ms+2ms, total 15ms
WAIT_FOR_CONCURRENT_GC blocked 9ms
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 352K, 33% free 10322K/15336K, paused 3ms+2ms, total 24ms
WAIT_FOR_CONCURRENT_GC blocked 6ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
Connected to B4A-Bridge (Wifi)
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
GC_CONCURRENT freed 1094K, 34% free 10252K/15336K, paused 3ms+2ms, total 29ms
WAIT_FOR_CONCURRENT_GC blocked 10ms
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 363K, 33% free 10359K/15336K, paused 5ms+4ms, total 44ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 692K, 34% free 10179K/15336K, paused 3ms+4ms, total 35ms
WAIT_FOR_CONCURRENT_GC blocked 17ms
Connected to B4A-Bridge (Wifi)
Installing file.
GC_CONCURRENT freed 1052K, 27% free 10047K/13660K, paused 2ms+1ms, total 18ms
GC_CONCURRENT freed 412K, 27% free 10037K/13660K, paused 3ms+1ms, total 20ms
GC_CONCURRENT freed 402K, 27% free 10045K/13660K, paused 2ms+4ms, total 24ms
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 702K, 34% free 10163K/15336K, paused 1ms+2ms, total 15ms
WAIT_FOR_CONCURRENT_GC blocked 9ms
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 352K, 33% free 10322K/15336K, paused 3ms+2ms, total 24ms
WAIT_FOR_CONCURRENT_GC blocked 6ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
Connected to B4A-Bridge (Wifi)
java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499)
at libcore.io.IoBridge.sendto(IoBridge.java:468)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
at java.io_OutputStream.write(OutputStream.java:82)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:317)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:155)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
at libcore.io.IoBridge.sendto(IoBridge.java:466)
... 6 more
GC_CONCURRENT freed 1094K, 34% free 10252K/15336K, paused 3ms+2ms, total 29ms
WAIT_FOR_CONCURRENT_GC blocked 10ms
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 363K, 33% free 10359K/15336K, paused 5ms+4ms, total 44ms
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
GC_CONCURRENT freed 692K, 34% free 10179K/15336K, paused 3ms+4ms, total 35ms
WAIT_FOR_CONCURRENT_GC blocked 17ms
Connected to B4A-Bridge (Wifi)
Installing file.
GC_CONCURRENT freed 1052K, 27% free 10047K/13660K, paused 2ms+1ms, total 18ms
GC_CONCURRENT freed 412K, 27% free 10037K/13660K, paused 3ms+1ms, total 20ms
GC_CONCURRENT freed 402K, 27% free 10045K/13660K, paused 2ms+4ms, total 24ms
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
GC_CONCURRENT freed 400K, 24% free 10029K/13116K, paused 7ms+8ms, total 77ms
GC_CONCURRENT freed 378K, 24% free 10035K/13116K, paused 22ms+8ms, total 115ms
 

KMatle

Expert
Licensed User
See here: http://www.technicalnotes.org/fix-parse-error-in-android-there-is-a-problem-parsing-the-package/

Some Android apps do not support the older version of the Android OS. Some apps do not support the older hardware of the smartphone. So, when you try to install an app which requires Android 4.4 KitKat above on an Android 4.3 Jelly Bean running smartphone then you will get “Parse error – there is a problem parsing the package” message
Check which min/max version you use in the manifest, too
 
Top