If the ZIP file is generated on Android 11 then it could be the Android 11 bug that breaks setting the compression level. See https://issuetracker.google.com/issues/168035647