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

GitHub | austynmahoney | 8 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

    AmplitudeClient#setOptOut() blocks the main thread

    GitHub | 8 months ago | austynmahoney
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65567 violation=2
  2. 0

    GreenDao violating Android StrictMode

    Stack Overflow | 1 year ago | Christian Leicht Jørgensen
    android.os.StrictMode$StrictModeDiskReadViolation: policy=589855 violation=2
  3. 0

    GitHub comment 2216#111151283

    GitHub | 2 years ago | Amaluki
    android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App has violated self enforced strict mode violation

    Stack Overflow | 1 year ago | vinay
    android.os.StrictMode$StrictModeDiskReadViolation: policy=23 violation=2
  6. 0

    NO Idea what causing this, ANY suggestion

    Stack Overflow | 1 year ago | wazz khan
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65567 violation=2
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.os.StrictMode$StrictModeDiskReadViolation

    policy=65567 violation=2

    at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk()
  2. Android Platform
    StrictMode$AndroidBlockGuardPolicy.onReadFromDisk
    1. android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1263)
    1 frame
  3. Android
    BlockGuardOs.stat
    1. libcore.io.BlockGuardOs.stat(BlockGuardOs.java:292)
    1 frame
  4. Java RT
    File.isDirectory
    1. java.io.File.isDirectory(File.java:522)
    1 frame
  5. Android Platform
    SQLiteOpenHelper.getWritableDatabase
    1. android.app.ContextImpl.validateFilePath(ContextImpl.java:1931)
    2. android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:566)
    3. android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:269)
    4. android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
    5. android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
    5 frames
  6. Amplitude Android SDK
    AmplitudeClient.setOptOut
    1. com.amplitude.api.DatabaseHelper.insertOrReplaceKeyValueToTable(DatabaseHelper.java:127)
    2. com.amplitude.api.DatabaseHelper.insertOrReplaceKeyLongValue(DatabaseHelper.java:121)
    3. com.amplitude.api.AmplitudeClient.setOptOut(AmplitudeClient.java:432)
    3 frames