How can I solve this error? java.lang.SecurityException

After September 20, My app occurs error. (Maybe after updating my app with kodular 1.5.2 I think)

Only Android 11(SDK 30), there’s some error.

Error is…

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)

Hmm… maybe android os problem. Untiy 3d…? I don’t use unity ads or something about unity.
I have no idea about this. Can you give some advice?

Thank you :slight_smile:
after19
only30

Did you get any solution. I am also getting this same crash on my app. and it is specifically on the android 11 as given in my developer account. It is related to unity I guess but I am not using unity ads at all.

you might want to check this thread

Taifun

2 Likes