android.os.StrictMode$StrictModeDiskReadViolation: policy=23 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 bumbobway
, 1 year ago
via google.com by Unknown author, 2 years ago
policy=23 violation=2
via GitHub by skolsuper
, 1 year ago
policy=65567 violation=2
via Stack Overflow by Carl G
, 2 years ago
android.os.StrictMode$StrictModeDiskReadViolation: policy=23 violation=2
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:745)
at android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:106)
at android.database.sqlite.SQLiteDatabase.getVersion(SQLiteDatabase.java:928)
at android.webkit.WebViewDatabase.getInstance(WebViewDatabase.java:196)
at android.webkit.WebView.(WebView.java:1002)
at android.webkit.WebView.(WebView.java:979)
at android.webkit.WebView.(WebView.java:969)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:505)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
at android.app.Activity.setContentView(Activity.java:1660)
at com.myapplication.StartActivity.onCreate(StartActivity.java:886)

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.