android.os.StrictMode$StrictModeDiskWriteViolation

policy=6815751 violation=1

Solutions on the web31

  • via GitHub by carnager
    , 1 year ago
    policy=31 violation=1
  • via Stack Overflow by Kern
    , 1 year ago
    policy=17 violation=1
  • Stack trace

    • android.os.StrictMode$StrictModeDiskWriteViolation: policy=6815751 violation=1 at android.os.StrictMode$AndroidBlockGuardPolicy.onWriteToDisk(StrictMode.java:1223) at libcore.io.BlockGuardOs.remove(BlockGuardOs.java:254) at java.io.File.delete(File.java:311) at android.database.sqlite.SQLiteDatabase.deleteDatabase(SQLiteDatabase.java:733) at android.app.ContextImpl.deleteDatabase(ContextImpl.java:580) at android.content.ContextWrapper.deleteDatabase(ContextWrapper.java:274) at android.content.ContextWrapper.deleteDatabase(ContextWrapper.java:274) at android.content.ContextWrapper.deleteDatabase(ContextWrapper.java:274)

    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

    423 times, 1 year ago
    81 times, 5 months ago
    Once, 1 year ago
    Once, 1 year ago
    5 times, 3 weeks ago
    19 more bugmates