Skip to content

Instantly share code, notes, and snippets.

@mohakbarokar
Created May 7, 2019 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohakbarokar/7936bcfcde39a3db012a2e45b896b752 to your computer and use it in GitHub Desktop.
Save mohakbarokar/7936bcfcde39a3db012a2e45b896b752 to your computer and use it in GitHub Desktop.
Xamarin.Android installation failed with exception 'Xamarin.Web.Installer.InstallException'
Message: Could not copy authorization rights. The authorization was cancelled by the user.
Exception type: Xamarin.Web.Installer.InstallException
at MonoDevelop.MacInterop.AuthorizationServices.Run[T] (System.Action`2[T1,T2] lineProcessor, T state, System.Boolean captureOutput, System.Int32& exit_code, System.String command, System.String[] args) [0x0008e] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/MacInterop/AuthorizationServices.Mac.cs:98
at Xamarin.Web.Installer.Utilities.RunWithPrivileges[T] (System.Action`2[T1,T2] lineProcessor, T state, System.Boolean needsPrivileges, MonoDevelop.MacInterop.AuthorizationServices& auth, System.Int32& exitCode, System.String command, System.String[] args) [0x00044] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/Utilities.cs:294
at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Run[T] (System.Action`2[T1,T2] lineProcessor, T state, System.Boolean needsPrivileges, System.Int32& exitCode, System.String command, System.String[] args) [0x00000] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/Installer/SoftwareItems/SIHelpers/InstallationArchiveHandler.cs:406
at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.InstallPkg (System.String path, System.Boolean needsPrivileges) [0x00047] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/Installer/SoftwareItems/SIHelpers/InstallationArchiveHandler.cs:184
at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install (System.String path, System.Boolean needsPrivileges) [0x00056] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/Installer/SoftwareItems/SIHelpers/InstallationArchiveHandler.cs:46
at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Xamarin.Web.Installer.Installer.InstallationArchiveHandler,string,object)
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2] (System.Runtime.CompilerServices.CallSite site, T0 arg0, T1 arg1, T2 arg2) [0x0011e] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.6.0.25/src/Xamarin.Mac/external/corefx/src/System.Linq.Expressions/src/System/Dynamic/UpdateDelegates.Generated.cs:1874
at Xamarin.Web.Installer.Installer.BaseSoftwareItem.InstallDownloadedItem (System.String url, Xamarin.Web.Installer.Installer.InstallationArchiveHandler handler, Xamarin.Web.Installer.DownloadServiceWorkItem download) [0x0025e] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/Installer/SoftwareItems/BaseSoftwareItem.cs:134
at Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install (System.UInt32 tryNumber) [0x000ed] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/Installer/SoftwareItems/BaseSoftwareItem.cs:157
at Xamarin.Web.Installer.Installer.XAndroidSdkSoftwareItem.Install (System.UInt32 tryNumber) [0x00002] in /Users/vsts/agent/2.150.0/work/1/installer/Xamarin.Web.Installer/Installer/SoftwareItems/XAndroidSdkSoftwareItem.cs:136
at MacInstaller.WizardPageInstallationController.InstallationWorker () [0x001ef] in /Users/vsts/agent/2.150.0/work/1/installer/MacInstaller.Universal/Views/WizardPages/WizardPageInstallationController.cs:602
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment