I am getting error "xapk file validation faild" after successfully download an obb file.
A progress reach at 99% then give an error "xapk file validation faild".
I debugging a code and then it thrown an exception "Not a zip archived" from
ZipResourceFile zrf = new ZipResourceFile(fileName);
in ZipResocuceFile,
void addPatchFile(String zipFileName) throws IOException {
int header = read4LE(f);
if (header == kEOCDSignature) {
Log.i(LOG_TAG, "Found Zip archive, but it looks empty");
throw new IOException();
} else if (header != kLFHSignature) {
Log.v(LOG_TAG, "Not a Zip archive");
throw new IOException();
}
}