java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jitesh.rcot1/com.example.jitesh.rcot1.MainActivity}: java.lang.SecurityException: ConnectivityService: Neither user 10040 nor current process has android.permission.ACCESS_NETWORK_STATE.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

MANAGE_USERS has a protection level of signature|system, so your application must be signed with the platform key. Take a look on this https://goo.gl/nXsTvH for more information about it.

,
Expert tip

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest

Solutions on the web

via Stack Overflow by Jitesh Lakhwani
, 1 year ago
Unable to start activity ComponentInfo{com.example.jitesh.rcot1/com.example.jitesh.rcot1.MainActivity}: java.lang.SecurityException: ConnectivityService: Neither user 10040 nor current process has android.permission.ACCESS_NETWORK_STATE.
via Stack Overflow by elvirachrisanty
, 2 years ago
Unable to start activity ComponentInfo{com.example.androidtwitterclient/com.example.androidtwitterclient.MainActivity}: java.lang.SecurityException: ConnectivityService: Neither user 10183 nor current process has android.permission.ACCESS_NETWORK_STATE.
via Stack Overflow by DevCon
, 2 years ago
Unable to start activity ComponentInfo{in.wptrafficanalyzer.locationnearby/in.wptrafficanalyzer.locationnearby.MainActivity}: java.lang.SecurityException: ConnectivityService: Neither user 10089 nor current process has android.permission.ACCESS_NETWORK_STATE.
via codegithub.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.androidtwitterclient/com.example.androidtwitterclient.MainActivity}: java.lang.SecurityException: ConnectivityService: Neither user 10183 nor current process has android.permission.ACCESS_NETWORK_STATE.
via Stack Overflow by putty174
, 2 years ago
Unable to start activity ComponentInfo{com.wdi.wdigateway/com.wdi.wdigateway.SelectGateway}: java.lang.SecurityException: WifiService: Neither user 10111 nor current process has android.permission.CHANGE_WIFI_STATE.
via Stack Overflow by voltagex
, 2 years ago
Unable to start activity ComponentInfo{org.voltagex.adamtestapp/org.voltagex.adamtestapp.BluetoothTestActivity}: java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10148 nor current process has android.permission.BLUETOOTH.
java.lang.SecurityException: ConnectivityService: Neither user 10040 nor current process has android.permission.ACCESS_NETWORK_STATE.
at android.os.Parcel.readException(Parcel.java:1327)
at android.os.Parcel.readException(Parcel.java:1281)
at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:597)
at com.example.jitesh.rcot1.MyFragment.isCon(MyFragment.java:62)
at com.example.jitesh.rcot1.MyFragment.onActivityCreated(MyFragment.java:88)
at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1983)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1133)
at android.app.Activity.performStart(Activity.java:4475)

Users with the same issue

Once, 12 hours ago
Once, 3 weeks ago
Once, 1 month ago
Once, 1 month ago
7 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.