Install Xamarin on PC Windows 7 with Visual Studio 2015

Hello,

I am trying to install Xamarin on my PC Windows 7 with Visual Studio 2015 but i am getting this error :
Startup task failed
One or more errors occurred.
Exception type: System.AggregateException
Illegal characters in path.
Exception type: System.ArgumentException
Full stack trace:
at Xamarin.Web.Installer.TasksManager.DetectComponents()
at Xamarin.Web.Installer.TasksManager.<>c__DisplayClass19_0.b__0(Object e)

Also I have log about this error :
Whom can I ask to explain why Xamarin cannot be installed on my machine?

Thank you

[2017-02-24 16:46:52.689] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsAsked' to '1'
[2017-02-24 16:46:52.691] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsConsent' to '0'
[2017-02-24 16:46:52.692] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsAsked' to '1'
[2017-02-24 16:46:52.694] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsConsent' to '0'
[2017-02-24 16:46:52.696] [Info] Installation ID: 33c352d8-1d47-45ec-b7dd-02da77fab5f2
[2017-02-24 16:46:52.697] [Info] Operating system: Windows 7 v6.1.7601 (Enterprise (Service Pack 1); Microsoft Windows 7 v6.1.7601 (Enterprise; Service Pack 1; 64-bit)), 64-bit
[2017-02-24 16:46:52.699] [Info] Installer product: Xamarin
[2017-02-24 16:46:52.701] [Info] Installer version: 4.0.0.57 stable (dcc7dd3690706e0d8a0e1f3b1fba64c5a7c78579 on 05/01/2017 10:08:05)
[2017-02-24 16:46:52.702] [Info] Status: in progress
[2017-02-24 16:46:52.704] [Debug] My location: C:\ProgramData\Package Cache\B0C8D6C829BB2D63ACDE7E75A9A62618923C045C\WindowsInstaller.exe
[2017-02-24 16:46:52.805] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsAsked' to '1'
[2017-02-24 16:46:52.807] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsConsent' to '0'
[2017-02-24 16:46:53.109] [Info] Retrieving installation manifest.
[2017-02-24 16:46:53.161] [Info] Downloading from 'https://www.xamarin.com/installer_assets/v3/dcc7dd3690706e0d8a0e1f3b1fba64c5a7c78579/Windows/Universal/InstallationManifest.xml'.
[2017-02-24 16:46:53.168] [Debug] Setting download timeout for 'https://www.xamarin.com/installer_assets/v3/dcc7dd3690706e0d8a0e1f3b1fba64c5a7c78579/Windows/Universal/InstallationManifest.xml' to 60s
[2017-02-24 16:46:53.474] [Info] Downloading from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationManifest.xml'.
[2017-02-24 16:46:53.475] [Debug] Setting download timeout for 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationManifest.xml' to 60s
[2017-02-24 16:46:53.477] [Info] Retrieving installation size manifest.
[2017-02-24 16:46:53.479] [Info] Downloading from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml'.
[2017-02-24 16:46:53.481] [Debug] Setting download timeout for 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml' to 60s
[2017-02-24 16:46:53.582] [Exception] Failed to retrieve response for URL 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml'
[2017-02-24 16:46:53.582] [Exception] System.Net.WebException: The remote server returned an error: (403) Forbidden.
[2017-02-24 16:46:53.582] [Exception] at System.Net.HttpWebRequest.GetResponse()
[2017-02-24 16:46:53.582] [Exception] at Xamarin.Components.Ide.Web.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequest)
[2017-02-24 16:46:53.582] [Exception] at Xamarin.Web.Installer.Utilities.DownloadUrl(String url, Action4 doDownload, Func3 webExceptionHandler, Boolean noCache, Object state, Int32 timeout, Stream outputStream, String targetFileName)
[2017-02-24 16:46:53.584] [Exception] Failed to download resource from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml'
[2017-02-24 16:46:53.584] [Exception] System.Net.WebException: The remote server returned an error: (403) Forbidden.
[2017-02-24 16:46:53.584] [Exception] at System.Net.HttpWebRequest.GetResponse()
[2017-02-24 16:46:53.584] [Exception] at Xamarin.Components.Ide.Web.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequest)
[2017-02-24 16:46:53.584] [Exception] at Xamarin.Web.Installer.Utilities.DownloadUrl(String url, Action4 doDownload, Func3 webExceptionHandler, Boolean noCache, Object state, Int32 timeout, Stream outputStream, String targetFileName)
[2017-02-24 16:46:53.584] [Exception] at Xamarin.Web.Installer.Utilities.GetManifest(String description, String resourceName, String resourceRelativeUrl, Boolean throwOnMissing, Boolean fineIfMissing, Boolean fallbackToEmbedded)
[2017-02-24 16:46:53.685] [Info] Determining list of software items to install.
[2017-02-24 16:46:53.687] [Debug] Processing update nodes from the manifest.
[2017-02-24 16:46:53.690] [Debug] Creating and initializing software item 'Java JDK'
[2017-02-24 16:46:53.691] [Debug] Creating and initializing software item 'Android SDK'
[2017-02-24 16:46:53.693] [Warning] Failed to compose local base path from 'H:" ' and 'Xamarin\Universal'. Will use the default location ()
[2017-02-24 16:46:53.695] [Warning] System.ArgumentException: Illegal characters in path.
[2017-02-24 16:46:53.695] [Warning] at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
[2017-02-24 16:46:53.695] [Warning] at System.IO.Path.Combine(String path1, String path2)
[2017-02-24 16:46:53.695] [Warning] at Xamarin.Web.Installer.WindowsUtilitiesConfiguration.GetLocalBasePath(String productPathSuffix)
[2017-02-24 16:46:53.697] [Warning] Failed to compose local base path from 'H:" ' and 'Xamarin\MonoForAndroid'. Will use the default location ()
[2017-02-24 16:46:53.699] [Warning] System.ArgumentException: Illegal characters in path.
[2017-02-24 16:46:53.699] [Warning] at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
[2017-02-24 16:46:53.699] [Warning] at System.IO.Path.Combine(String path1, String path2)
[2017-02-24 16:46:53.699] [Warning] at Xamarin.Web.Installer.WindowsUtilitiesConfiguration.GetLocalBasePath(String productPathSuffix)
[2017-02-24 16:46:53.700] [Debug] Creating and initializing software item 'Microsoft® MSBuild Tools 2015'
[2017-02-24 16:46:53.702] [Debug] Creating and initializing software item 'Xamarin'
[2017-02-24 16:46:53.704] [Debug] Creating and initializing software item 'Intel® HAXM'
[2017-02-24 16:46:53.706] [Debug] Creating and initializing software item 'Xamarin Profiler'
[2017-02-24 16:46:53.707] [Debug] Creating and initializing software item 'Xamarin Workbooks & Inspector'
[2017-02-24 16:46:53.709] [Debug] Creating and initializing software item 'Remoted iOS Simulator'
[2017-02-24 16:46:53.711] [Debug] Detecting software item 'Java JDK'
[2017-02-24 16:46:53.713] [Info] Checking whether JDK needs to be installed.
[2017-02-24 16:46:53.714] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2017-02-24 16:46:53.716] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.8', value 'JavaHome'
[2017-02-24 16:46:53.718] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.8', value 'JavaHome'
[2017-02-24 16:46:53.720] [Info] Required JDK already installed alongside incompatible version 1.8
[2017-02-24 16:46:53.722] [Info] Status: successful
[2017-02-24 16:46:53.723] [Info] Component 'Java JDK' v. 1.8.0 present
[2017-02-24 16:46:53.725] [Info] Software item 'Java JDK': up to date
[2017-02-24 16:46:53.727] [Debug] Detecting software item 'Android SDK'
[2017-02-24 16:46:53.829] [Info] Checking if Android SDK needs to be updated/installed
[2017-02-24 16:46:53.835] [Info] Using default samples:
[2017-02-24 16:46:53.841] [Info] Status: failed.
[2017-02-24 16:46:53.844] [Exception] Failed to detect component 'Android SDK'
[2017-02-24 16:46:53.844] [Exception] System.ArgumentException: Illegal characters in path.
[2017-02-24 16:46:53.844] [Exception] at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
[2017-02-24 16:46:53.844] [Exception] at System.IO.Path.Combine(String path1, String path2)
[2017-02-24 16:46:53.844] [Exception] at Xamarin.Installer.AndroidSDK.AndroidSDKInstaller..ctor(IHelpers helpers, Boolean xamarinMode)
[2017-02-24 16:46:53.844] [Exception] at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.InitInstaller()
[2017-02-24 16:46:53.844] [Exception] at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.NeedsUpdate()
[2017-02-24 16:46:53.844] [Exception] at Xamarin.Web.Installer.TasksManager.ComponentDetector(ISoftwareItem si)
[2017-02-24 16:46:53.847] [Exception] Detection failed for task Android SDK.
[2017-02-24 16:46:53.847] [Exception] System.ArgumentException: Illegal characters in path.
[2017-02-24 16:46:53.847] [Exception] at Xamarin.Web.Installer.TasksManager.DetectComponents()
[2017-02-24 16:47:22.451] [Exception] Startup task failed
[2017-02-24 16:47:22.451] [Exception] System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Illegal characters in path.
[2017-02-24 16:47:22.451] [Exception] at Xamarin.Web.Installer.TasksManager.DetectComponents()
[2017-02-24 16:47:22.451] [Exception] at Xamarin.Web.Installer.TasksManager.<>c__DisplayClass19_0.b__0(Object e)
[2017-02-24 16:47:22.451] [Exception] --- End of inner exception stack trace ---
[2017-02-24 16:47:22.451] [Exception] ---> (Inner Exception #0) System.ArgumentException: Illegal characters in path.
[2017-02-24 16:47:22.451] [Exception] at Xamarin.Web.Installer.TasksManager.DetectComponents()
[2017-02-24 16:47:22.451] [Exception] at Xamarin.Web.Installer.TasksManager.<>c__DisplayClass19_0.b__0(Object e)<---
[2017-02-24 16:47:22.505] [Debug] Showing manual installation window because of error

Posts

  • kentuckerkentucker USMember ✭✭✭✭✭

    Does your user name have a special character in it?

  • No, my username have just symbols :
    [email protected] (just different order), when i go to https://www.xamarin.com/, click Products->Xamarin Platform->Download now for free

    Full name : Andrey Pedko
    Email : my google email [email protected] (just different order)
    Compamy: mmm

    I already have Visual Studio installed - i am selecting YES
    Agree to Terms of Use - yes
    then i am ckicking Download Now
    run XamarinInstaller__1109850545.1486492986
    click continue , then next and after that I have error above.

    Please let me know is there way to fix that...
    Thank you

  • AshleyGazichAshleyGazich USMember, Xamarin Team Xamurai

    Hi, were you able to get this resolved? It might help to check the Android SDK intended location for whitespace or other illegal characters (see this Stack Overflow post). If this is still an issue, here are the manual installation guides for Xamarin.iOS and Xamarin.Android for Windows. I hope that helps!

  • AndreyPedko.4058AndreyPedko.4058 USMember ✭✭

    Thank you for help
    I just gave up and using Xamarin on Visual Studio

Sign In or Register to comment.