java.lang.SecurityException: ConnectivityService: Neither user 10214 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

Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()

,
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 GitHub by ywwynm
, 1 year ago
ConnectivityService: Neither user 10214 nor current process has android.permission.ACCESS_NETWORK_STATE.
via Stack Overflow by jay
, 2 years ago
ConnectivityService: Neither user 10076 nor current process has android.permission.ACCESS_NETWORK_STATE.
via Stack Overflow by oiZo
, 2 years ago
ConnectivityService: Neither user 10184 nor current process has android.permission.ACCESS_NETWORK_STATE.
via Stack Overflow by zhangkai
, 1 year ago
ConnectivityService: Neither user 10090 nor current process has android.permission.ACCESS_NETWORK_STATE.
via Stack Overflow by cruelcore1
, 2 years ago
ConnectivityService: Neither user 10024 nor current process has android.permission.ACCESS_NETWORK_STATE.
via GitHub by assiziv
, 1 year ago
ConnectivityService: Neither user 10128 nor current process has android.permission.ACCESS_NETWORK_STATE.
java.lang.SecurityException: ConnectivityService: Neither user 10214 nor current process has android.permission.ACCESS_NETWORK_STATE.
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:1029)
at com.bumptech.glide.manager.DefaultConnectivityMonitor.isConnected(DefaultConnectivityMonitor.java:55)
at com.bumptech.glide.manager.DefaultConnectivityMonitor.register(DefaultConnectivityMonitor.java:38)
at com.bumptech.glide.manager.DefaultConnectivityMonitor.onStart(DefaultConnectivityMonitor.java:61)
at com.bumptech.glide.manager.ApplicationLifecycle.addListener(ApplicationLifecycle.java:15)
at com.bumptech.glide.RequestManager.(RequestManager.java:81)
at com.bumptech.glide.RequestManager.(RequestManager.java:53)
at com.bumptech.glide.manager.RequestManagerRetriever.getApplicationManager(RequestManagerRetriever.java:73)
at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:95)
at com.bumptech.glide.Glide.with(Glide.java:629)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 1 year ago
11 times, 1 year ago
12 times, 1 year ago
252 more bugmates

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