android.os.StrictMode$StrictModeDiskReadViolation: policy=65567 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

android.os.StrictMode$StrictModeDiskReadViolation: policy=65567 violation=2
at libcore.io.BlockGuardOs.stat(BlockGuardOs.java:292)
at java.io.File.isDirectory(File.java:522)
at android.app.ContextImpl.validateFilePath(ContextImpl.java:1931)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:566)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:269)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
at com.amplitude.api.DatabaseHelper.insertOrReplaceKeyValueToTable(DatabaseHelper.java:127)
at com.amplitude.api.DatabaseHelper.insertOrReplaceKeyLongValue(DatabaseHelper.java:121)
at com.amplitude.api.AmplitudeClient.setOptOut(AmplitudeClient.java:432)

Users with the same issue

Once, 4 months ago
6 times, 1 year ago
3 times, 5 months ago
2638 times, 1 year ago
9 times, 4 months ago
48 more bugmates

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