diff --git a/src/Xamarin.Android.Build.Tasks/Tasks/BuildApk.cs b/src/Xamarin.Android.Build.Tasks/Tasks/BuildApk.cs index ce44c06404c..03f74d08ae1 100644 --- a/src/Xamarin.Android.Build.Tasks/Tasks/BuildApk.cs +++ b/src/Xamarin.Android.Build.Tasks/Tasks/BuildApk.cs @@ -168,8 +168,10 @@ void ExecuteWithAbi (string [] supportedAbis, string apkInputPath, string apkOut apk.Archive.AddStream (ms, entryName, compressionMethod: entry.CompressionMethod); } } + apk.Flush (); } - apk.FixupWindowsPathSeparators ((a, b) => Log.LogDebugMessage ($"Fixing up malformed entry `{a}` -> `{b}`")); + // this call should be redundant now + //apk.FixupWindowsPathSeparators ((a, b) => Log.LogDebugMessage ($"Fixing up malformed entry `{a}` -> `{b}`")); // Add classes.dx foreach (var dex in DalvikClasses) {