Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previous version of Mono.Unix would try to resolve `libc` p/invokes by looking for the `msvcrt` library, resulting in errors similar to the following: System.DllNotFoundException: Unable to load shared library 'msvcrt' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Mono.Unix.Native.Stdlib.sys_strerror(Int32 errnum) bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Mono.Unix.Native.Stdlib.strerror(Errno errnum) in /_/src/Mono.Unix/Mono.Unix.Native/Stdlib.cs:line 1158 bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Xamarin.Tools.Zip.Utilities.GetFileType(String path, Boolean followSymlinks, FilePermissions& fileType) in /Users/runner/work/1/s/LibZipSharp/Xamarin.Tools.Zip/Utilities.Unix.cs:line 145 bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Xamarin.Tools.Zip.UnixPlatformServices.IsDirectory(ZipArchive archive, String path, Boolean& result) in /Users/runner/work/1/s/LibZipSharp/Xamarin.Tools.Zip/UnixPlatformServices.cs:line 41 bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Xamarin.Tools.Zip.PlatformServices.CallServices(Func`2 code) in /Users/runner/work/1/s/LibZipSharp/Xamarin.Tools.Zip/PlatformServices.cs:line 160 bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Xamarin.Tools.Zip.PlatformServices.IsDirectory(ZipArchive archive, String path) in /Users/runner/work/1/s/LibZipSharp/Xamarin.Tools.Zip/PlatformServices.cs:line 77 bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Xamarin.Tools.Zip.ZipArchive.AddFile(String sourcePath, String archivePath, EntryPermissions permissions, CompressionMethod compressionMethod, Boolean overwriteExisting) in /Users/runner/work/1/s/LibZipSharp/Xamarin.Tools.Zip/ZipArchive.cs:line 435 bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Xamarin.Android.Tasks.BuildApk.ExecuteWithAbi(String[] supportedAbis, String apkInputPath, String apkOutputPath, Boolean debug, Boolean compress, IDictionary`2 compressedAssembliesInfo, String assemblyStoreApkName) bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Xamarin.Android.Tasks.BuildApk.RunTask() bin/Debug/lib/packs/Microsoft.Android.Sdk.Linux/33.0.0/tools/Xamarin.Android.Common.targets(2036,3): error XABLD7000: at Microsoft.Android.Build.Tasks.AndroidTask.Execute() in external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidTask.cs:line 17
- Loading branch information