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

via Stack Overflow by Joyson
, 2 years ago
policy=151 violation=2
via GitHub by cintory
, 1 year ago
policy=4259871 violation=2
via paste.ee by Unknown author, 2 years ago
policy=31 violation=2
android.os.StrictMode$StrictModeDiskReadViolation: policy=327711 violation=2
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:182)
at libcore.io.IoBridge.open(IoBridge.java:438)
at java.io.FileInputStream.(FileInputStream.java:76)
at android.graphics.Typeface.getFullFlipFont(Typeface.java:584)
at android.graphics.Typeface.getFontPathFlipFont(Typeface.java:532)
at android.graphics.Typeface.SetFlipFonts(Typeface.java:719)
at android.graphics.Typeface.SetAppTypeFace(Typeface.java:846)
at android.app.Application.onCreate(Application.java:110)
at com.mypackage.MyApplication.onCreate(MyApplication.kt:40)

Users with the same issue

86 times, 4 months ago
4 times, 4 months ago
6 times, 6 months ago
9 times, 6 months ago
Once, 7 months ago

Write tip

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