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

GitHub | mikepsinn | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hey, got some strict mode violation warning

    GitHub | 1 year ago | david-serrano
    android.os.StrictMode$StrictModeDiskReadViolation: policy=19 violation=2

    Root Cause Analysis

    1. android.os.StrictMode$StrictModeDiskReadViolation

      policy=6815751 violation=2

      at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk()
    2. Android Platform
      SharedPreferencesImpl.getAll
      1. android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1263)
      2. android.app.SharedPreferencesImpl.awaitLoadedLocked(SharedPreferencesImpl.java:203)
      3. android.app.SharedPreferencesImpl.getAll(SharedPreferencesImpl.java:215)
      3 frames