android.os.StrictMode$StrictModeDiskWriteViolation: policy=6815751 violation=1

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via hatenablog.com by Unknown author, 6 months ago
via Appcelerator JIRA by Wilson Luu, 1 year ago
policy=151 violation=1
via Appcelerator JIRA by Wilson Luu, 1 year ago
policy=151 violation=1
via GitHub by carnager
, 2 years ago
policy=31 violation=1
android.os.StrictMode$StrictModeDiskWriteViolation: policy=6815751 violation=1
at libcore.io.BlockGuardOs.remove(BlockGuardOs.java:254)
at java.io.File.delete(File.java:311)
at android.database.sqlite.SQLiteDatabase.deleteDatabase(SQLiteDatabase.java:734)
at android.app.ContextImpl.deleteDatabase(ContextImpl.java:580)
at android.content.ContextWrapper.deleteDatabase(ContextWrapper.java:274)
at android.content.ContextWrapper.deleteDatabase(ContextWrapper.java:274)

Users with the same issue

423 times, 1 year ago
81 times, 9 months ago
Once, 1 year ago
Once, 1 year ago
Once, 1 month ago

Write tip

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