okdownload
okdownload copied to clipboard
android10分块下载会报异常
解决办法 把okdownload以第三方库引入依赖 搜索类MultiPointOutputStream 类中搜索close(int blockIndex) throws IOException outputStreamMap.remove(blockIndex);下面加入 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.Q) { noSyncLengthMap.remove(blockIndex); }
Thank you for the solution you provided. We will use this method temporarily and wait for the official to fix this bug