Installation Problems Xamarin

I am trying to install Xamarin with the Xamarin Installer, Visual Studio 2015 was already installed (professional edition), but the installer of Xamarin stops execution with the following error message:
Initial task interrupted by exception
Illegales Zeichen im Pfad.
Exception type: System.ArgumentException
Full stack trace:
bei Xamarin.Web.Installer.TasksManager.DetectComponents()
bei Xamarin.Web.Installer.TasksManager.<>c__DisplayClass19_0.b__0(Object e)
The complete log file is attached.

Best Answer


  • kentuckerkentucker USMember ✭✭✭✭✭

    The error was when it was trying to install the android sdk. Did you have an internet connection when installing xamarin? Do you use a proxy server?

  • I have a direct internet connection during installation and no proxy

  • kentuckerkentucker USMember ✭✭✭✭✭

    Could there be a invalid character in the path for the android sdk? The default path for the android sdk is C:\Users[Your username]\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK,

    [2016-09-20 06:50:57.812] [Info] Checking if Android SDK needs to be updated/installed
    [2016-09-20 06:50:57.812] [Info] Using default samples:
    [2016-09-20 06:50:57.813] [Info] Status: failed.
    [2016-09-20 06:50:57.813] [Exception] Failed to detect component 'Android SDK'
    [2016-09-20 06:50:57.813] [Exception] System.ArgumentException: Illegales Zeichen im Pfad.
    [2016-09-20 06:50:57.813] [Exception] bei System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
    [2016-09-20 06:50:57.813] [Exception] bei System.IO.Path.Combine(String path1, String path2)
    [2016-09-20 06:50:57.813] [Exception] bei Xamarin.Installer.AndroidSDK.AndroidSDKInstaller..ctor(IHelpers helpers, Boolean xamarinMode)
    [2016-09-20 06:50:57.813] [Exception] bei Xamarin.Web.Installer.Installer.AndroidSoftwareItem.InitInstaller()
    [2016-09-20 06:50:57.813] [Exception] bei Xamarin.Web.Installer.Installer.AndroidSoftwareItem.NeedsUpdate()
    [2016-09-20 06:50:57.813] [Exception] bei Xamarin.Web.Installer.TasksManager.ComponentDetector(ISoftwareItem si)
    [2016-09-20 06:50:57.813] [Exception] Detection failed for task Android SDK.
    [2016-09-20 06:50:57.813] [Exception] System.ArgumentException: Illegales Zeichen im Pfad.
    [2016-09-20 06:50:57.813] [Exception] bei Xamarin.Web.Installer.TasksManager.DetectComponents()
    [2016-09-20 06:50:57.913] [Info] Status: failed.
    [2016-09-20 06:50:57.913] [Exception] Initial task interrupted by exception

  • my user name is thomarik.BITIFEYE2 and the full path is "C:\Users\thomarik.BITIFEYE2\AppData\Local\Android". Is the dot an invalid character?

  • the manual installation has worked. Thank you. I do not know why the Xamarin installer had problems, maybe someone can fix this, but after running each installer separately, Xamarin was working inside Visual Studio.

Sign In or Register to comment.