Android application crash on Android OS 5.0: android.system.ErrnoException: read failed: EAGAIN

I developed an Android client-server application. I applied the Google V2 map in my application so that the user can see its nearby places on the map. But when I switch between the map and normal activities, my application suddenly crashes only on an Android device with OS 5.0. I used a map fragment. Below is the crash report that I get:

android.system.ErrnoException: reading failed: EAGAIN (Try again) in libcore.io.Posix.readBytes (native method) on libcore.io.Posix.read (Posix.java:147) in libcore.io.BlockGuardOs.read (BlockGuardOs.java:230) on android.system.Os.read (Os.java{6464) at com.android.server.am.NativeCrashListener.consumeNativeCrashData (NativeCrashListener.java:240) on com.android.server.am. NativeCrashListener.run (NativeCrashListener.java:138)

Here's how I created an instance of my google map:

mapView = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.mapview)).getMap(); 

I searched a lot to find out the cause of this accident, but I did not find anything. Is this problem specific to the OS as I am not getting anything from the crash log saying that my application is crashing. Please guide me to get to this disaster. Thanks in advance..!!

+5
source share

All Articles