1

我一直在尝试在 Windows 7 上安装 Mono For Android 4.2.7(使用 Visual Studio 2010)

它检测到只需要安装 Android SDK 和 Visual Studio 插件(这是正确的,因为我目前正在使用 MonoDevelop 和 Android SDK 开发应用程序,然后再尝试安装)

当它开始安装 Visual Studio 插件时,它会显示一个错误。我已经尝试了很多次,重新启动我的计算机,确保所有相关的应用程序都已关闭,但仍然得到同样的结果。

日志说网络问题。我知道它存储文件(本地临时)所以与网络有什么关系:(

部分日志文件如下,任何帮助将不胜感激。谢谢

[2012-11-08 05:55:23.450] [Info] Installation ID: 583be3ec-0405-4778-8fc8-5794c02dfe5f
[2012-11-08 05:55:23.450] [Info] Operating system: Windows 7 v6.1.7601.65536 (Enterprise (Service Pack 1); Microsoft Windows NT 6.1.7601 Service Pack 1), 64-bit
[2012-11-08 05:55:23.450] [Info] Installer version: 2.1.1.28292
[2012-11-08 05:55:23.451] [Info] Status: in progress


Some lines here about successfully installing Android SDK were removed. 


[2012-11-08 05:56:25.918] [Info] Skipping installation of software item 'MonoDevelop'
[2012-11-08 05:56:25.918] [Info] Installing software item 'Mono for Android, VisualStudio and MonoDevelop'
[2012-11-08 05:56:25.918] [Info] Installing an MSI
[2012-11-08 05:56:25.918] [Info] Database path: <USER_HOME>\Temp\MonoForAndroid\downloads\mono-android-4.2.7.15330979.msi
[2012-11-08 05:56:25.918] [Info] Starting MSI installation: msiexec /i "<USER_HOME>\Temp\MonoForAndroid\downloads\mono-android-4.2.7.15330979.msi" /quiet /passive /log "<USER_HOME>\Temp\tmpEBB8.tmp" ADDLOCAL=VisualStudioAddin
[2012-11-08 05:56:27.337] [Info] MSI installation process exited with code 1603
[2012-11-08 05:56:27.337] [Info] Status: failed.
[2012-11-08 05:56:27.337] [Info] InstallMsi failed for '<USER_HOME>\Temp\MonoForAndroid\downloads\mono-android-4.2.7.15330979.msi'
[2012-11-08 05:56:27.337] [Exception] Exception was thrown.
[2012-11-08 05:56:27.337] [Exception] System.InvalidOperationException: MSI execution failed.


[2012-11-08 05:56:27.337] [Exception] at WindowsInstaller.WindowsInstallationArchiveHandler.InstallMsi(String file, Boolean needsPrivileges)
[2012-11-08 05:56:27.337] [Info] BEGIN >>>>>> msiexec log: '<USER_HOME>\Temp\tmpEBB8.tmp'
[Info] === Logging started: 8/11/2012  16:56:26 ===
[Info] Action start 16:56:26: INSTALL.


[Info] Action ended 16:56:26: AppSearch. Return value 1.
[Info] MSI (s) (40:20) [16:56:27:103]: Product: Mono for Android 4.2.7 -- Error 1316. A network error occurred while attempting to read from the file: C:\Users\hasn.aitaiar\AppData\Local\Temp\MonoForAndroid\downloads\4776efd4-a061-4c4c-a6bf-50eb08119eb1-1348755828.msi
[Info] Error 1316. A network error occurred while attempting to read from the file: C:\Users\hasn.aitaiar\AppData\Local\Temp\MonoForAndroid\downloads\4776efd4-a061-4c4c-a6bf-50eb08119eb1-1348755828.msi
4

1 回答 1

2

我刚刚解决了这个问题。转到您的临时文件夹,\AppData\Local\Temp\MonoForAndroid\downloads\mono-android-4.2.7.15330979.msi

从那里运行它并首先单击卸载。

再次安装,设置将完成。

于 2012-11-27T16:22:21.127 回答