Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

从磁盘读取图片的时候报java.io.InterruptedIOException: thread interrupted #2

Open
ZY9898 opened this issue Aug 4, 2017 · 2 comments

Comments

@ZY9898
Copy link

ZY9898 commented Aug 4, 2017

你好,我在使用你的库的时候,将你的demo里面从assets( InputStream frameInputStream = HolderApplication.getInstance().getAssets().open(drawableResPath);)下面读取文件改为从磁盘( InputStream frameInputStream = new FileInputStream(drawableResPath);)读取以后就报错java.io.InterruptedIOException: thread interrupted。。。可有什么好的解决方法

@shusanzi
Copy link

shusanzi commented Aug 7, 2017

会不会是权限关系?

@ZY9898
Copy link
Author

ZY9898 commented Aug 7, 2017

应该不是,我把它设为循环播放就不会出现。是每张图持续时间与代码里面持续时间有误差,特别是在一些低端点手机上,会出现频繁GC,导帧动画会放的比较慢,然后就会放不完就停止了动画,望修复修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants