UnbufferedIoViolation警告
@kevingpqi123 is already working on this.
Since Sep 28, 2025.
- Dominant language
- HTML
- Stars
- 5.8k
- Forks
- 531
- Avg merge
- 8d 55m
- Merged PRs (30d)
- 17
Description
【版本信息】
4.2.88
【平台信息】
Android 原生 | iOS 原生 | Web 浏览器 | 微信小程序 | Linux | Flutter | 其他
【预期的表现】
通过性能检测通过,不出现性能警告 violation; ~duration=57 ms: android.os.strictmode.UnbufferedIoViolation
【实际的情况】
2025-09-28 13:40:34.907 13073-13073 StrictMode com.ohla.socialapps D StrictMode policy violation; ~duration=57 ms: android.os.strictmode.UnbufferedIoViolation (Ask Gemini)
at android.os.StrictMode$AndroidBlockGuardPolicy.onUnbufferedIO(StrictMode.java:1666)
at libcore.io.IoTracker.trackIo(IoTracker.java:35)
at libcore.io.IoTracker.trackIo(IoTracker.java:45)
at java.io.FileInputStream.read(FileInputStream.java:350)
at java.io.FileInputStream.read(FileInputStream.java:291)
at com.android.org.kxml2.io.KXmlParser.setInput(KXmlParser.java:1692)
at org.libpag.PAGFont.b(SourceFile:9)
at org.libpag.PAGFont.RegisterFallbackFonts(SourceFile:9)
at org.libpag.PAGFile.LoadFromPath(Native Method)
at org.libpag.PAGFile.Load(SourceFile:8)
【Demo及附件】
只要开启严格模式,就会出现,和版本等任何环境代码无关
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.