I've connected my application with an APK Expansion File. After a lot of problems I can finally download my video resources. Now I've noticed the next issue. The displaying progress for the XAPK validation is always different and random.
The file size of my obb file is 385.956.198 bytes:
private static final XAPKFile[] xAPKS = {new XAPKFile(true, // true signifies a main file
8, // the version of the APK that the file was uploaded
385956198 // the length of the file in bytes
)};
On my Lollipop device it is always between 366 and 368 MB (but never 368,07):
On the Nougat device the progress is very strange. It can be 155 MB, 82 MB, 102 MB...
Although it looks like the validation is not complete I can click on next and can open the video files. So I don't have any ideas what causes this problem and why the values on the Nougat device are far below the total file size.