【问题标题】:Xamarin Installation issueXamarin 安装问题
【发布时间】:2013-04-03 00:56:35
【问题描述】:

我正在尝试安装适用于 Android 的 Xamarin,但遇到了一些问题,我无法在任何地方找到任何帮助。甚至,我尝试以管理员身份运行安装,但仍然出现相同的错误:
这是日志文件Error Part

[2013-04-10 23:20:27.396] [Info] Installing an MSI
[2013-04-10 23:20:27.400] [Info] Database path: <USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi
[2013-04-10 23:20:27.404] [Info] Starting MSI installation: msiexec /i "<USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi" /quiet /passive /log "<USER_HOME>\Temp\tmp76AB.tmp" ADDLOCAL=MonoDroidSDK,VisualStudioAddin,VisualStudio11Addin
[2013-04-10 23:20:27.608] [Info] MSI installation process exited with code 1620
[2013-04-10 23:20:27.611] [Info] Status: failed.
[2013-04-10 23:20:27.615] [Info] InstallMsi failed for '<USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi'
[2013-04-10 23:20:27.618] [Exception] Exception was thrown.
[2013-04-10 23:20:27.618] [Exception] System.InvalidOperationException: MSI execution failed.
[2013-04-10 23:20:27.618] [Exception] à Xamarin.Web.Installer.WindowsInstallationArchiveHandler.InstallMsi(String file, Boolean needsPrivileges)
[2013-04-10 23:20:27.621] [Info] BEGIN >>>>>> msiexec log: '<USER_HOME>\Temp\tmp76AB.tmp'
[2013-04-10 23:20:27.626] [Info] END >>>>>> msiexec log: '<USER_HOME>\Temp\tmp76AB.tmp'
[2013-04-10 23:20:27.629] [Info] Status: failed.
[2013-04-10 23:20:27.632] [Exception] Installation of software item 'Xamarin.Android for Visual Studio and Xamarin Studio' failed with exception.
[2013-04-10 23:20:27.632] [Exception] Xamarin.Web.Installer.InstallException: Installation of archive '<USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi' failed with exception. ---> System.InvalidOperationException: MSI execution failed.
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.WindowsInstallationArchiveHandler.InstallMsi(String file, Boolean needsPrivileges)
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges)
[2013-04-10 23:20:27.632] [Exception] --- Fin de la trace de la pile d'exception interne ---
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges)
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install(UInt32 tryNumber)
[2013-04-10 23:20:27.632] [Exception] à WindowsInstaller.ProgressPage.InstallationWorker()
[2013-04-10 23:20:27.635] [Info] Status: failed.
[2013-04-10 23:20:27.638] [Debug] Starting installation complete task.
[2013-04-10 23:20:27.641] [Info] Background installation worker completed.
[2013-04-10 23:20:27.644] [Info] Installation completed with failure
[2013-04-10 23:20:27.647] [Info] Status: failed.

【问题讨论】:

标签: c# visual-studio mono monodevelop xamarin


【解决方案1】:

就像Chlebta说的;尝试直接下载文件。

我已将 URL 更新为最新版本: http://download.xamarin.com/MonoforAndroid/Windows/mono-android-4.8.00013.msi

【讨论】:

    【解决方案2】:

    我刚刚第二次遇到同样的问题。

    以下是允许我解决它的步骤:

    1. 卸载所有 Xamarin 产品(Xamarin Android、Xamarin Studio 等)
    2. 转到 C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions 并删除 Xamarin 文件夹
    3. 转到 C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions 并删除 Xamarin 文件夹
    4. 根据需要安装 Xamarin Studio 或 mono-android-4.8.00013.msi

    我希望它会有所帮助(并希望问题不会再次发生......)

    【讨论】:

      【解决方案3】:

      MSI 未完成:从 URI http://download.xamarin.com/studio/Windows/XamarinStudio-5.0.0.878-0.msi 直接下载时(7,627,523 字节)与(40,300,544 字节)

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-01-22
        • 2021-05-31
        • 2016-12-13
        • 1970-01-01
        • 2012-05-07
        • 2017-08-27
        相关资源
        最近更新 更多