lcodecorex / TwinklingRefreshLayout

RefreshLayout that support for OverScroll and better than iOS. 支持下拉刷新和上拉加载的RefreshLayout,自带越界回弹效果,支持RecyclerView,AbsListView,ScrollView,WebView
Apache License 2.0
4k stars 673 forks source link

Unable to create application com.lcodecore.twinklingrefreshlayout.TkApplication: android.os.StrictMode$StrictModeViolation: #145

Open hefengbao opened 7 years ago

hefengbao commented 7 years ago
FATAL EXCEPTION: main
Process: com.lcodecore.twinklingrefreshlayout, PID: 29245
java.lang.RuntimeException: Unable to create application com.lcodecore.twinklingrefreshlayout.TkApplication: android.os.StrictMode$StrictModeViolation: policy=262175 violation=2
  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5677)
  at android.app.ActivityThread.-wrap2(ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637)
  at android.os.Handler.dispatchMessage(Handler.java:105)
  at android.os.Looper.loop(Looper.java:156)
  at android.app.ActivityThread.main(ActivityThread.java:6523)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)
Caused by: android.os.StrictMode$StrictModeViolation: policy=262175 violation=2
  at android.os.StrictMode.executeDeathPenalty(StrictMode.java:1556)
  at android.os.StrictMode.-wrap3(StrictMode.java)
  at android.os.StrictMode$AndroidBlockGuardPolicy.handleViolation(StrictMode.java:1549)
  at android.os.StrictMode$AndroidBlockGuardPolicy.handleViolationWithTimingAttempt(StrictMode.java:1367)
  at android.os.StrictMode$AndroidBlockGuardPolicy.startHandlingViolationException(StrictMode.java:1337)
  at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1306)
  at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:249)
  at java.io.File.exists(File.java:780)
  at android.graphics.Typeface.initHwFontConfig(Typeface.java:295)
  at android.graphics.Typeface.updateFont(Typeface.java:361)
  at android.graphics.Typeface.loadSystemFonts(Typeface.java:444)
  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5670)
  at android.app.ActivityThread.-wrap2(ActivityThread.java) 
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637) 
  at android.os.Handler.dispatchMessage(Handler.java:105) 
  at android.os.Looper.loop(Looper.java:156) 
  at android.app.ActivityThread.main(ActivityThread.java:6523) 
  at java.lang.reflect.Method.invoke(Native Method) 
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941) 
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)