diff --git a/src/libraries/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFileExtensions.ZipArchiveEntry.Extract.cs b/src/libraries/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFileExtensions.ZipArchiveEntry.Extract.cs index a74aca915faaf..cfd45e7400adc 100644 --- a/src/libraries/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFileExtensions.ZipArchiveEntry.Extract.cs +++ b/src/libraries/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFileExtensions.ZipArchiveEntry.Extract.cs @@ -81,7 +81,10 @@ public static void ExtractToFile(this ZipArchiveEntry source, string destination ExtractExternalAttributes(fs, source); } - File.SetLastWriteTime(destinationFileName, source.LastWriteTime.DateTime); + if (!OperatingSystem.IsAndroid()) // https://github.com/dotnet/runtime/issues/35374, https://github.com/mono/mono/issues/17133 + { + File.SetLastWriteTime(destinationFileName, source.LastWriteTime.DateTime); + } } static partial void ExtractExternalAttributes(FileStream fs, ZipArchiveEntry entry);