Skip to content

Commit 23a63c5

Browse files
authored
Bump to xamarin/LibZipSharp/2.0.3@9bccd749 (#6667)
Context: dotnet/android-libzipsharp#104 Changes: dotnet/android-libzipsharp@2.0.2...2.0.3 * dotnet/android-libzipsharp@9bccd74: Don't rewind the temporary stream on write to the main one (#104) We are seeing the following error on some builds error XABBA7000: Xamarin.Tools.Zip.ZipException: Zip archive inconsistent: entry 0: invalid WinZip AES extra field Verison 2.0.2 of LibZipSharp was supposed to fix this, but it had a bug (dotnet/android-libzipsharp#104), which would cause corruption in the zip file itself. We believe that this issue has been fixed in LibZipSharp 2.0.3; Bump!
1 parent 234cf2c commit 23a63c5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<!-- Common <PackageReference/> versions -->
2929
<PropertyGroup>
30-
<LibZipSharpVersion>2.0.2</LibZipSharpVersion>
30+
<LibZipSharpVersion>2.0.3</LibZipSharpVersion>
3131
<MicroBuildCoreVersion>0.4.1</MicroBuildCoreVersion>
3232
<MonoCecilVersion>0.11.4</MonoCecilVersion>
3333
<NewtonsoftJsonPackageVersion>13.0.1</NewtonsoftJsonPackageVersion>

external/xamarin-android-tools

src/Xamarin.Android.Build.Tasks/Tasks/BuildApk.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,10 @@ void ExecuteWithAbi (string [] supportedAbis, string apkInputPath, string apkOut
181181
AddFileToArchiveIfNewer (apk, dex.ItemSpec, DalvikPath + dexPath, compressionMethod: dexCompressionMethod);
182182
}
183183

184-
if (EmbedAssemblies && !BundleAssemblies)
184+
if (EmbedAssemblies && !BundleAssemblies) {
185185
AddAssemblies (apk, debug, compress, compressedAssembliesInfo, assemblyStoreApkName);
186+
apk.Flush ();
187+
}
186188

187189
AddRuntimeLibraries (apk, supportedAbis);
188190
apk.Flush();

0 commit comments

Comments
 (0)