-
Notifications
You must be signed in to change notification settings - Fork 769
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.IOException: The current offset on block-info isn't update correct, x!= -1 on 0 #339
Comments
我会用你给的链接进行尝试。 |
我也遇到了,主要这个问题有时候会导致我的任务不回调taskend。。。这才尴尬,不然我还可以重试 #348 |
同样的问题,但是经过测试,当 compileSdkVersion 和 targetSdkVersion 为29时才会出现这个问题,如果小于29就没有问题。 |
我也遇到了同样的问题 在 targetSdkVersion = 29时(我测试了 compileSdkVersion 29 不会有问题), 如果把targetSdkVersion设置成28 就不会报错了,用master的build 和 1.0.8-SNAPSHOT 依然没有解决 |
我也遇到了,app刚适配过Android10, 想引入这个下载库,就遇到这个问题了,而且是必现的,目前fork了来使用 |
更具体原因是因为MultiPointOutputStream中的flushProcess中的size和outputStreamMap的size没有对应,导致下标越界了,你把IOException改为Exception可已捕获这个异常,同时由于是在独立的线程池中进行的,所以异常没有继续向外抛。 @rantianhua 大佬麻烦给看看,1.0.6版本,Android 10 分段下载必现 |
问题解决了,Android 10 修改了SparseArray,在Android 9 和之前的版本,传入的下标越界不做处理,现在会抛异常了!!!!! |
@rantianhua 几个月了没看到任何提交了 大佬这个库现在没人维护了吗 |
是啊,好久没有维护了 |
请问是如何解决的呢,可以贴下代码吗 |
1.0.7 Android10下载必现 |
This is still happening on 1.0.7. |
Confirmed with @mradzinski that still happening on 1.0.7 :( |
Same me. |
… correct, 274423 != 1298822 on 1 lingochamp#339
… correct, 274423 != 1298822 on 1 lingochamp#339
1.0.6版本下载报错 java.io.IOException: The current offset on block-info isn't update correct, 609015 != -1 on 0
下载链接:http://www.fyuniot.com:1885/Tools/Down.ashx?Code=93d698e8-674f-4324-8707-9282e8e07802
这个问题之前不是解决了吗 实际上出现这个问题时是下载成功的 我暂时强制做下载成功处理
The text was updated successfully, but these errors were encountered: