App Crashes on Android 11 device only

Hello friends,
From last 2-3 weeks I am getting constant app crashes on Android 11 only. Don’t know the reason behind this because the app runs very well on other android versions and emulators. Below I am providing the crash report I got from play console account. Interestingly all of these crashes have occurred on Samsung devices (except one crash on google pixel) If anyone knows some solution or has faced same issue then please share here.

Crash Details:
java.lang.SecurityException:
at android.os.Parcel.createExceptionOrNull (Parcel.java:2385)
at android.os.Parcel.createException (Parcel.java:2369)
at android.os.Parcel.readException (Parcel.java:2352)
at android.os.Parcel.readException (Parcel.java:2294)
at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber (ITelephony.java:8768)
at android.telephony.TelephonyManager.getNetworkType (TelephonyManager.java:3706)
at android.telephony.TelephonyManager.getNetworkType (TelephonyManager.java:3670)
at com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged (ConnectivityMonitor.java:162)
at com.unity3d.services.core.connectivity.ConnectivityNetworkCallback.onCapabilitiesChanged (ConnectivityNetworkCallback.java:48)
at android.net.ConnectivityManager$NetworkCallback.onAvailable (ConnectivityManager.java:3793)
at android.net.ConnectivityManager$CallbackHandler.handleMessage (ConnectivityManager.java:4073)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:246)
at android.os.HandlerThread.run (HandlerThread.java:67)

I am using TinyDB, sharing component, Admob, Package Utilities and I am not using any extension in the app. Please share you inputs.

Read , Maybe help You

1 Like

see also

Taifun

1 Like

mine is samsung and hangs. in my case it’s when the unity ads are activated, then the app crashes. this only happens on my sansung, emulators work

and how we are going to implement whatever given above in Kodular. Kodular is not same as Android studio where you can write codes for permissions. My app does not require any special permissions like storage or access some folder. It is only happening in Android 11 devices.

1 Like