android.os.StrictMode$StrictModeDiskReadViolation

policy=23 violation=2

Solutions on the web204

  • via Google Groups by Richard, 2 weeks ago
    policy=23 violation=2
  • via Stack Overflow by Unknown author, 1 year ago
    policy=23 violation=2
  • policy=23 violation=2
  • Stack trace

    • 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.<init>(WebView.java:1002) at android.webkit.WebView.<init>(WebView.java:979) at android.webkit.WebView.<init>(WebView.java:969) at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at android.view.LayoutInflater.createView(LayoutInflater.java:505) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) 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 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:214) at android.app.Activity.setContentView(Activity.java:1660) at com.myapplication.StartActivity.onCreate(StartActivity.java:886)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 2 weeks ago
    9 times, 4 weeks ago
    Once, 1 month ago
    7 times, 1 month ago
    122 times, 2 months ago
    46 more bugmates