android.os.StrictMode$StrictModeDiskReadViolation: policy=6815751 violation=2

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

Solutions on the web

via Stack Overflow by Lars
, 1 year ago
via GitHub by qinlicang
, 1 year ago
via Stack Overflow by vinay
, 2 years ago
via Stack Overflow by wazz khan
, 2 years ago
android.os.StrictMode$StrictModeDiskReadViolation: policy=6815751 violation=2
at libcore.io.BlockGuardOs.stat(BlockGuardOs.java:292)
at android.system.Os.stat(Os.java:495)
at android.app.SharedPreferencesImpl.hasFileChangedUnexpectedly(SharedPreferencesImpl.java:176)
at android.app.SharedPreferencesImpl.startReloadIfChangedUnexpectedly(SharedPreferencesImpl.java:151)
at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:361)
at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:171)
at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:171)

Users with the same issue

86 times, 4 months ago
4 times, 4 months ago
6 times, 6 months ago
9 times, 6 months ago
Once, 7 months ago

Write tip

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