Maurice
Posts: 0
Joined: Sun Mar 23, 2014 5:25 pm

App crashing on Android

Hi Team

I have a user who is receiving an error each time he opens my app. It opens and then closes. The information I receive from Google is as below and think it may have something to do with a security issue:

java.lang.SecurityException
in android.os.Parcel.readException

Below is the data that Google have listed as to the cause of the error.

Could you explain what I need to do to rectify this error please?

Many thanks

Maurice

java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 (has extras) } in org.apache.cordova.networkinformation.NetworkManager$1@42586c88
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:773)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5306)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.SecurityException: ConnectivityService: Neither user 10174 nor current process has android.permission.ACCESS_NETWORK_STATE.
at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:877)
at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:619)
at org.apache.cordova.networkinformation.NetworkManager$1.onReceive(NetworkManager.java:110)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:763)
... 9 more

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

App crashing on Android

Hi Maurice,

Could you specify what device and OS version he use to test?
Does app work correctly on other android device?

Maurice
Posts: 0
Joined: Sun Mar 23, 2014 5:25 pm

App crashing on Android

Hi Ihor,
As far as I can make out it seems to be affecting Galaxy S4 and S4 mini. OS versions 4.2 and 4.4. I have reset permissions to default and released a new version which works fine for me, but this customer still seems to have his app crashing upon start up. I have suggested that he completely uninstall the old version and then reinstall the new version and I am awaiting his reply, but not sure why it is specifically the S4 and S4 mini that is causing the error.
Many thanks for your assistance.
Maurice

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

App crashing on Android

Hello Maurice,

Could you please share your project with support and tell us its name?

Maurice
Posts: 0
Joined: Sun Mar 23, 2014 5:25 pm

App crashing on Android

Hi Evgene
I have just heard back and the app is now working. I think it was a permissions error and user not fully clearing the app from the phone.
Many thanks for your assistance as always super quick and first class.
Regards
Maurice

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

App crashing on Android

Hi Maurice -

Thank you for this update, we glad that all is sorted out now!

pascal.conges
Posts: 0
Joined: Thu Mar 12, 2015 2:31 pm

App crashing on Android

Hello,

I have the same error type. My project is io.appery.project269599 (I dunno if this helps). Could anyone help?

Thanks
Pascal

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

App crashing on Android

Hello Pascal,

Could you please share your app with support and tell us its name? Also please specify do you get this error or is this one of your users?

pascal.conges
Posts: 0
Joined: Thu Mar 12, 2015 2:31 pm

App crashing on Android

My colleague gets this on his Droid phone, so I get quite direct feedback. When he sends the report to Google, I get the same error message as the one above.

I'll send this to support, thanks!

Maurice
Posts: 0
Joined: Sun Mar 23, 2014 5:25 pm

App crashing on Android

Hi Pascal
I received this when I had removed some permissions from "app settings". Resetting them all back to default fixed the error for me.
This caused me to then send an update to the play store. Upon updating user still received the error. I told him to first uninstall previous version before installing new version to check that old data wasn't being kept over. This cured it and the app worked fine. So it seems to be on user phone holding some data. Perhaps that helps?
Regards
Maurice

Return to “Issues”