Android 版 Visual Studio 模拟器安装失败 - 提示需要 Visual Studio

Android 版 Visual Studio 模拟器安装失败 - 提示需要 Visual Studio

我正在尝试安装适用于 Android 的独立 Visual Studio 模拟器在 Windows 10 Pro 上。根据页面说明,Visual Studio 2015 不是必需的,并且我之前已在 Windows 8.1 下在此计算机上安装了模拟器并运行。

在安装模拟器之前,我安装了 Visual Studio 2013 Professional、SQL Server 2016 Developer Edition 和 June 2016 SSMS 包、SQL Server Developer Tools 以及 Android Studio。一些 SQL Server 工具安装了 Visual Studio 2015 Independent 和 Integrated shell,所以我不知道这是否会让安装程序感到困惑,试图将 Visual Studio 扩展安装到不受支持的版本中。卸载/删除 SQL 工具不是一个简单的过程,因为它会将程序列表中的数十个项目完全弄乱。

安装程序显示“Microsoft Visual Studio Emulator for Android(Visual Studio Extension)安装期间出现致命错误。”并且日志文件包含以下几行:

[129C:155C][2016-06-04T18:25:27]i323: Registering package dependency provider: {0B8032D4-EB09-4FE2-8A6F-8F709BE0B6BB}, version: 1.0.60106.1, package: emulator.vsix.msi
[0738:058C][2016-06-04T18:25:27]i000: MUX:  ExecutePackageBegin PackageId: emulator.vsix.msi
[129C:155C][2016-06-04T18:25:27]i301: Applying execute package: emulator.vsix.msi, action: Install, path: C:\ProgramData\Package Cache\{0B8032D4-EB09-4FE2-8A6F-8F709BE0B6BB}v1.0.60106.1\packages\emulator.vsix\emulator.vsix.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[0738:058C][2016-06-04T18:25:27]i000: MUX:  ExecuteError: Package (emulator.vsix.msi) failed: Error Message Id: 0 ErrorMessage: Microsoft Visual Studio is required, but is not installed on this computer. Please install it and try again.
[129C:155C][2016-06-04T18:25:27]e000: Error 0x80070643: Failed to install MSI package.
[129C:155C][2016-06-04T18:25:27]e000: Error 0x80070643: Failed to execute MSI package.
[0738:058C][2016-06-04T18:25:27]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[0738:058C][2016-06-04T18:25:27]i000: MUX:  Installation size in bytes for package: emulator.vsix.msi MaxAppDrive: 0  MaxSysDrive: 73728  AppDrive: 0  SysDrive: 73728
[0738:058C][2016-06-04T18:25:27]i000: MUX:  Return Code:0x80070643 Msi Messages:Microsoft Visual Studio is required, but is not installed on this computer. Please install it and try again. Result Detail:0 Restart:None
[0738:058C][2016-06-04T18:25:27]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=Microsoft Visual Studio is required, but is not installed on this computer. Please install it and try again., Result Detail=, Vital=True, Package Action=Install, Package Id=emulator.vsix.msi
[0738:058C][2016-06-04T18:25:27]i000: Setting string variable 'BundleResult' to value '1603'
[0738:058C][2016-06-04T18:25:27]i319: Applied execute package: emulator.vsix.msi, result: 0x80070643, restart: None
[0738:058C][2016-06-04T18:25:27]e000: Error 0x80070643: Failed to execute MSI package.
[0738:058C][2016-06-04T18:25:27]i000: MUX:  ExecutePackageBegin PackageId: emulator.vsix.msi
[129C:155C][2016-06-04T18:25:27]i318: Skipped rollback of package: emulator.vsix.msi, action: Uninstall, already: Absent
[0738:058C][2016-06-04T18:25:27]i000: MUX:  Installation size in bytes for package: emulator.vsix.msi MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
[0738:058C][2016-06-04T18:25:27]i000: MUX:  Return Code:0x0 Msi Messages:Microsoft Visual Studio is required, but is not installed on this computer. Please install it and try again. Result Detail:0 Restart:None
[0738:058C][2016-06-04T18:25:27]i000: MUX:  Reset execution Result
[0738:058C][2016-06-04T18:25:27]i000: MUX:  Reset Result
[0738:058C][2016-06-04T18:25:27]i000: Setting string variable 'BundleResult' to value '1603'
[0738:058C][2016-06-04T18:25:27]i319: Applied rollback package: emulator.vsix.msi, result: 0x0, restart: None
[129C:155C][2016-06-04T18:25:27]i329: Removed package dependency provider: {0B8032D4-EB09-4FE2-8A6F-8F709BE0B6BB}, package: emulator.vsix.msi
[129C:155C][2016-06-04T18:25:27]i351: Removing cached package: emulator.vsix.msi, from path: C:\ProgramData\Package Cache\{0B8032D4-EB09-4FE2-8A6F-8F709BE0B6BB}v1.0.60106.1\

由于应该可以在没有 Visual Studio 的情况下使用模拟器,所以我不知道为什么在无法安装扩展时它会中止整个安装,或者如何让它在没有扩展的情况下继续安装。

我不想安装整个 Visual Studio 2015 产品,因为我不符合社区版本的资格,而且我已经在使用 Visual Studio 2013。

相关内容