-
Notifications
You must be signed in to change notification settings - Fork 236
The "XamarinBuildAndroidAarProguardConfigs" task failed unexpectedly. #24
Comments
Can you let me know what version of Visual Studio you have? Help -> About |
I have 15.6.4, the latest stable, which has a lot of fixes in it and it is building good for me here. I would highly recommend upgrading to the latest VS 2017 version for sure ;) I am going to bump the Xamarin.Build.Download to 0.4.9, however some other said that 0.4.5 may work for older versions. |
I optimize all solutions for the latest version of VS 2017 which is what I have currently. I can't go backwards in VS world to test really at all. I would say try 0.4.9 and see what it says. Do a full clean and re-compile. I can't reproduce locally. |
OK. But i have tried 0.4.9 (check the first message and picture). |
So, I have to assume it was an issue that they fixed with newer versions of VS 2017. I am not sure why that even comes up seeing progaurd isn't even on in the project properties. I tried it on another machine and seemed to be working for me. Could you try one more thing just to see and install 0.4.4? Another question is if you had upgraded any other libraries at all? |
i have same problem |
1>------ Rebuild All started: Project: SettingsConnecter, Configuration: Debug Any CPU ------ |
Severity Code Description Project File Line Suppression State at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) |
I get the error message bellow.
Severity Code Description Project File Line Suppression State
Error The "XamarinBuildAndroidAarProguardConfigs" task failed unexpectedly.
System.IO.InvalidDataException: Central Directory corrupt. ---> System.IO.IOException: An attempt was made to move the file pointer before the beginning of the file.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
--- End of inner exception stack trace ---
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
at System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding)
at Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() MyShop.Android
The text was updated successfully, but these errors were encountered: