none
Installation of xamarin. RRS feed

  • Question

  • I am facing issues in installing xamarin for my windows 7 PC. I tried the custom install too but that also fails.

    Link from where i installed store.xamarin.

    Error log

    [2016-07-18 09:10:29.280] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsAsked' to '1'
    [2016-07-18 09:10:29.328] [Debug] Setting registry key 'SOFTWARE\Xamarin\AnalyticsConsent' to '1'
    [2016-07-18 09:10:29.369] [Info] Installation ID: 98bf8ae9-4738-4d3c-b176-ef65069360eb
    [2016-07-18 09:10:29.376] [Info] Operating system: Windows 7 v6.1.7601 (Windows 10 Pro (Service Pack 1); Microsoft Windows 7 v6.1.7601 (Windows 10 Pro; Service Pack 1; 64-bit)), 64-bit
    [2016-07-18 09:10:29.386] [Info] Installer product: Xamarin
    [2016-07-18 09:10:29.394] [Info] Installer version: 3.4.0.22 cycle7-stable (7aa13505fc98649946aec126d6dd13fe533bc6fc on 08/06/2016 13:38:01)
    [2016-07-18 09:10:29.400] [Info] Status: in progress
    [2016-07-18 09:10:29.406] [Debug] My location: C:\ProgramData\Package Cache\A1A38DF3AE39726D97F26B4384D3F7EE2F0FCAD0\WindowsInstaller.exe
    [2016-07-18 09:10:30.278] [Info] Retrieving installation manifest.
    [2016-07-18 09:10:30.316] [Info] Downloading from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationManifest.xml'.
    [2016-07-18 09:10:30.334] [Debug] Setting download timeout for 'https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationManifest.xml' to 60s
    [2016-07-18 09:10:31.499] [Info] Retrieving installation size manifest.
    [2016-07-18 09:10:31.519] [Info] Downloading from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationSizes.xml'.
    [2016-07-18 09:10:31.533] [Debug] Setting download timeout for 'https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationSizes.xml' to 60s
    [2016-07-18 09:10:31.642] [Exception] Failed to retrieve response for URL 'https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationSizes.xml'
    [2016-07-18 09:10:31.642] [Exception] System.Net.WebException: The remote server returned an error: (403) Forbidden.
    [2016-07-18 09:10:31.642] [Exception] at System.Net.HttpWebRequest.GetResponse()
    [2016-07-18 09:10:31.642] [Exception] at Xamarin.Components.Ide.Web.RequestHelper.GetResponse(Func`1 createRequest, Action`1 prepareRequest)
    [2016-07-18 09:10:31.642] [Exception] at Xamarin.Web.Installer.Utilities.DownloadUrl(String url, Action`4 doDownload, Func`3 webExceptionHandler, Boolean noCache, Object state, Int32 timeout, Stream outputStream, String targetFileName)
    [2016-07-18 09:10:31.660] [Exception] Failed to download resource from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationSizes.xml'
    [2016-07-18 09:10:31.661] [Exception] System.Net.WebException: The remote server returned an error: (403) Forbidden.
    [2016-07-18 09:10:31.661] [Exception] at System.Net.HttpWebRequest.GetResponse()
    [2016-07-18 09:10:31.661] [Exception] at Xamarin.Components.Ide.Web.RequestHelper.GetResponse(Func`1 createRequest, Action`1 prepareRequest)
    [2016-07-18 09:10:31.661] [Exception] at Xamarin.Web.Installer.Utilities.DownloadUrl(String url, Action`4 doDownload, Func`3 webExceptionHandler, Boolean noCache, Object state, Int32 timeout, Stream outputStream, String targetFileName)
    [2016-07-18 09:10:31.661] [Exception] at Xamarin.Web.Installer.Utilities.GetManifest(String description, String resourceName, String resourceRelativeUrl, Boolean throwOnMissing)
    [2016-07-18 09:10:31.679] [Info] Installation size manifest: reading from assembly.
    [2016-07-18 09:10:31.995] [Info] Determining list of software items to install.
    [2016-07-18 09:10:32.004] [Debug] Processing update nodes from the manifest.
    [2016-07-18 09:10:32.012] [Debug] Creating and initializing software item 'Java JDK'
    [2016-07-18 09:10:32.719] [Debug] Creating and initializing software item 'Android SDK'
    [2016-07-18 09:10:32.734] [Warning] Failed to compose local base path from 'Z:" ' and 'Xamarin\Universal'. Will use the default location (<USER_HOME>)
    [2016-07-18 09:10:33.040] [Warning] System.ArgumentException: Illegal characters in path.
    [2016-07-18 09:10:33.040] [Warning] at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
    [2016-07-18 09:10:33.040] [Warning] at System.IO.Path.Combine(String path1, String path2)
    [2016-07-18 09:10:33.040] [Warning] at Xamarin.Web.Installer.WindowsUtilitiesConfiguration.GetLocalBasePath(String productPathSuffix)
    [2016-07-18 09:10:33.173] [Warning] Failed to compose local base path from 'Z:" ' and 'Xamarin\MonoForAndroid'. Will use the default location (<USER_HOME>)
    [2016-07-18 09:10:33.192] [Warning] System.ArgumentException: Illegal characters in path.
    [2016-07-18 09:10:33.192] [Warning] at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
    [2016-07-18 09:10:33.193] [Warning] at System.IO.Path.Combine(String path1, String path2)
    [2016-07-18 09:10:33.193] [Warning] at Xamarin.Web.Installer.WindowsUtilitiesConfiguration.GetLocalBasePath(String productPathSuffix)
    [2016-07-18 09:10:33.211] [Debug] Creating and initializing software item 'Xamarin'
    [2016-07-18 09:10:33.218] [Debug] Creating and initializing software item 'Intel® HAXM'
    [2016-07-18 09:10:33.226] [Debug] Creating and initializing software item 'Microsoft® MSBuild Tools 2015'
    [2016-07-18 09:10:33.233] [Debug] Detecting software item 'Java JDK'
    [2016-07-18 09:10:33.241] [Info] Checking whether JDK needs to be installed.
    [2016-07-18 09:10:33.247] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion'
    [2016-07-18 09:10:33.254] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.7', value 'JavaHome'
    [2016-07-18 09:10:33.260] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.7', value 'JavaHome'
    [2016-07-18 09:10:33.267] [Info] Required JDK already installed alongside incompatible version 1.7
    [2016-07-18 09:10:33.273] [Info] Status: successful
    [2016-07-18 09:10:33.279] [Info] Component 'Java JDK' v. 1.7.0 present
    [2016-07-18 09:10:33.286] [Info] Software item 'Java JDK': up to date
    [2016-07-18 09:10:33.293] [Debug] Detecting software item 'Android SDK'
    [2016-07-18 09:10:33.299] [Info] Checking if Android SDK needs to be updated/installed
    [2016-07-18 09:10:33.306] [Info] Using default samples:
    [2016-07-18 09:10:33.312] [Info] Status: failed.
    [2016-07-18 09:10:33.319] [Exception] Failed to detect component 'Android SDK'
    [2016-07-18 09:10:33.319] [Exception] System.ArgumentException: Illegal characters in path.
    [2016-07-18 09:10:33.319] [Exception] at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
    [2016-07-18 09:10:33.319] [Exception] at System.IO.Path.Combine(String path1, String path2)
    [2016-07-18 09:10:33.319] [Exception] at Xamarin.Installer.AndroidSDK.AndroidSDKInstaller..ctor(IHelpers helpers, Boolean xamarinMode)
    [2016-07-18 09:10:33.319] [Exception] at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.InitInstaller()
    [2016-07-18 09:10:33.319] [Exception] at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.NeedsUpdate()
    [2016-07-18 09:10:33.319] [Exception] at Xamarin.Web.Installer.TasksManager.ComponentDetector(ISoftwareItem si)
    [2016-07-18 09:10:33.325] [Exception] Detection failed for task Android SDK.
    [2016-07-18 09:10:33.325] [Exception] System.ArgumentException: Illegal characters in path.
    [2016-07-18 09:10:33.325] [Exception] at Xamarin.Web.Installer.TasksManager.DetectComponents()
    [2016-07-18 09:10:35.545] [Debug] Waiting for initial task to complete.
    [2016-07-18 09:10:35.565] [Debug] Initial task already completed.
    [2016-07-18 09:10:35.582] [Debug] Detection completed.
    [2016-07-18 09:10:35.590] [Error] No selected SDK, cannot enqueue downloads
    [2016-07-18 09:10:35.597] [Debug] Download service starting.
    [2016-07-18 09:10:37.905] [Debug] No software item needs its license to be accepted. Skipping the licenses page.
    [2016-07-18 09:10:37.913] [Info] Installation of software items starting.
    [2016-07-18 09:10:37.922] [Debug] Checking software item 'Java JDK'
    [2016-07-18 09:10:37.929] [Info] Software item 'Java JDK' does not need to be installed
    [2016-07-18 09:10:37.936] [Debug] Checking software item 'Android SDK'
    [2016-07-18 09:10:38.044] [Debug] Checking software item 'Xamarin'
    [2016-07-18 09:10:38.068] [Info] Software item 'Xamarin' does not need to be installed
    [2016-07-18 09:10:38.079] [Debug] Checking software item 'Intel® HAXM'
    [2016-07-18 09:10:38.089] [Info] Software item 'Intel® HAXM' does not need to be installed
    [2016-07-18 09:10:38.098] [Debug] Checking software item 'Microsoft® MSBuild Tools 2015'
    [2016-07-18 09:10:38.108] [Info] Software item 'Microsoft® MSBuild Tools 2015' does not need to be installed
    [2016-07-18 09:10:38.117] [Debug] Starting installation task.
    [2016-07-18 09:10:38.127] [Info] Background installation worker called.
    [2016-07-18 09:10:38.135] [Info] Processing software items
    [2016-07-18 09:10:38.141] [Info] Skipping installation of software item 'Java JDK'
    [2016-07-18 09:10:38.148] [Info] Installing software item 'Android SDK'
    [2016-07-18 09:10:38.155] [Info] Status: failed.
    [2016-07-18 09:10:38.161] [Exception] Installation of software item 'Android SDK' failed with exception.
    [2016-07-18 09:10:38.161] [Exception] Xamarin.Web.Installer.InstallException: No selected Android SDK, cannot proceed with installation.
    [2016-07-18 09:10:38.161] [Exception] at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.Install(UInt32 tryNumber)
    [2016-07-18 09:10:38.161] [Exception] at WindowsInstaller.ProgressPage.InstallationWorker()
    [2016-07-18 09:10:38.168] [Info] Retrying installation (attempt #2, 1 to go)
    [2016-07-18 09:10:38.174] [Info] Status: failed.
    [2016-07-18 09:10:38.181] [Exception] Installation of software item 'Android SDK' failed with exception.
    [2016-07-18 09:10:38.181] [Exception] Xamarin.Web.Installer.InstallException: No selected Android SDK, cannot proceed with installation.
    [2016-07-18 09:10:38.181] [Exception] at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.Install(UInt32 tryNumber)
    [2016-07-18 09:10:38.181] [Exception] at WindowsInstaller.ProgressPage.InstallationWorker()
    [2016-07-18 09:10:38.188] [Info] Retrying installation (attempt #3, 0 to go)
    [2016-07-18 09:10:38.194] [Info] Status: failed.
    [2016-07-18 09:10:38.201] [Exception] Installation of software item 'Android SDK' failed with exception.
    [2016-07-18 09:10:38.201] [Exception] Xamarin.Web.Installer.InstallException: No selected Android SDK, cannot proceed with installation.
    [2016-07-18 09:10:38.201] [Exception] at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.Install(UInt32 tryNumber)
    [2016-07-18 09:10:38.201] [Exception] at WindowsInstaller.ProgressPage.InstallationWorker()
    [2016-07-18 09:10:38.207] [Info] Status: failed.
    [2016-07-18 09:10:38.214] [Debug] Showing manual installation window because of error
    [2016-07-18 09:10:39.821] [Debug] Starting installation complete task.
    [2016-07-18 09:10:39.829] [Info] Background installation worker completed.
    [2016-07-18 09:10:39.837] [Info] Installation completed with failure
    [2016-07-18 09:10:39.856] [Info] Status: failed.

    Monday, July 18, 2016 9:23 AM

Answers

  • Dear Deepak.sam17,

    Welcome to the MSDN forum.

    I found the following error information from your log file:

    >>[2016-07-18 09:10:31.642] [Exception] Failed to retrieve response for URL 'https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationSizes.xml'
    >>[2016-07-18 09:10:31.642] [Exception] System.Net.WebException: The remote server returned an error: (403) Forbidden.

    It looks like the installer failed to get reponse from the specific Xamarin page: https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationSizes.xml and I have tried to access this URL in IE11 browser on my side, I also get the  “HTTP 403 Forbidden” error message, and another download URL https://www.xamarin.com/installer_assets/v3/Windows/Universal//InstallationManifest.xml works fine as below:

    Since our forum is to discuss the .NET Framework Setup and Servicing and your issue is more related to the Xamarin remote server, I recommend you raise it up on the Xamarin support forum: https://www.xamarin.com/support for dedicated information, you will get a more professional support from there, thank you for your understanding and sorry for this inconvenient.

    If you have any issue about the .NET Framework setup and Servicing, please feel free to let me know.

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Tuesday, July 19, 2016 1:17 AM
    Moderator