You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a StackOverflow question about this issue?
I have searched StackOverflow
What happened?
Caused by: android.os.strictmode.DiskReadViolation
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1707)
at libcore.io.BlockGuardOs.access(BlockGuardOs.java:74)
at libcore.io.ForwardingOs.access(ForwardingOs.java:128)
at android.app.ActivityThread$AndroidOs.access(ActivityThread.java:10127)
at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:332)
at java.io.File.exists(File.java:829)
at android.graphics.fonts.HwTypefaceEx.isUsingOnlineVariableFont(HwTypefaceEx.java:570)
at android.graphics.fonts.HwTypefaceEx.isSupportFontWeightVariable(HwTypefaceEx.java:486)
at android.graphics.fonts.SystemFonts.loadHwSystemFonts(SystemFonts.java:610)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:8958)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3084)
at android.os.Handler.dispatchMessage(Handler.java:118)
at android.os.Looper.loopOnce(Looper.java:237)
at android.os.Looper.loop(Looper.java:325)
at android.app.ActivityThread.main(ActivityThread.java:10305)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:635)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)
Relevant logcat output
2025-01-15 09:29:55.760 19315-19315 AndroidRuntime com....apps.nowinandroid.demo.debug E FATAL EXCEPTION: main
Process: com.google.samples.apps.nowinandroid.demo.debug, PID: 19315
java.lang.RuntimeException: StrictMode ThreadPolicy violation
at android.os.StrictMode$AndroidBlockGuardPolicy.onThreadPolicyViolation(StrictMode.java:1924)
at android.os.StrictMode$AndroidBlockGuardPolicy.lambda$handleViolationWithTimingAttempt$0(StrictMode.java:1838)
at android.os.StrictMode$AndroidBlockGuardPolicy.$r8$lambda$8cEr3yopH2m54_yi5FS7GfNsTW0(Unknown Source:0)
at android.os.StrictMode$AndroidBlockGuardPolicy$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:997)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loopOnce(Looper.java:237)
at android.os.Looper.loop(Looper.java:325)
at android.app.ActivityThread.main(ActivityThread.java:10305)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:635)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)
Caused by: android.os.strictmode.DiskReadViolation
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1707)
at libcore.io.BlockGuardOs.access(BlockGuardOs.java:74)
at libcore.io.ForwardingOs.access(ForwardingOs.java:128)
at android.app.ActivityThread$AndroidOs.access(ActivityThread.java:10127)
at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:332)
at java.io.File.exists(File.java:829)
at android.graphics.fonts.HwTypefaceEx.isUsingOnlineVariableFont(HwTypefaceEx.java:570)
at android.graphics.fonts.HwTypefaceEx.isSupportFontWeightVariable(HwTypefaceEx.java:486)
at android.graphics.fonts.SystemFonts.loadHwSystemFonts(SystemFonts.java:610)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:8958)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3084)
at android.os.Handler.dispatchMessage(Handler.java:118)
at android.os.Looper.loopOnce(Looper.java:237)
at android.os.Looper.loop(Looper.java:325)
at android.app.ActivityThread.main(ActivityThread.java:10305)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:635)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is there a StackOverflow question about this issue?
What happened?
Relevant logcat output
Code of Conduct
The text was updated successfully, but these errors were encountered: