Vs 2017 Installer завершается ошибкой в ​​"Мобильной разработке с .Net" - PullRequest
0 голосов
/ 31 мая 2018
======================================
: Windows 10 x64, Vs 2017 Pro 15.7.2 :
======================================

Я получаю сообщение об ошибке (ниже) при установке компонентов «Мобильная разработка с .Net» с Vs 2017 Pro при работе «Как администратор».

Я пробовал:

  1. Удаление и повторное добавление компонентов
  2. Восстановление Vs 2017
  3. Установка загрузки HAXM самостоятельно (котораяотлично установлен)
  4. Удаление и переустановка Vs 2017
  5. Сообщение о проблеме в Microsoft

Кто-нибудь знает, как исправить?

===============
: Install Log :
===============

Something went wrong with the install.

You can troubleshoot the package failures by:

    1. Search for solutions using the search URL below for each package failure
    2. Modify your selections for the affected workloads or components and then retry the installation
    3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

================================================================================

Package 'AndroidTools_Xamarin,version=26.1.1.3' failed to install.
    Search URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=AndroidTools_Xamarin;PackageAction=Install;ReturnCode=5
    Details
        Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -Noninteractive -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\AndroidTools_Xamarin,version=26.1.1.3\AndroidSDKPrivateInstall.ps1""" -Package tools -FileName sdk-tools-windows-4333796.zip -Version 26.1.1 -AndroidHome """C:\Program Files (x86)\Android\android-sdk""" -RequestedAVDs """""" -Operation Install; exit $LastExitCode"
        Return code: 5
        Return code details: Access is denied.
    Log
        C:\Users\bminder\AppData\Local\Temp\dd_setup_20180530193011_361_AndroidTools_Xamarin.log
    Impacted workloads
        Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.7.27625.0)
    Impacted components
        Android SDK setup (API level 27) (Component.Android.SDK27,version=15.7.27625.0)
        Google Android Emulator (API Level 27) (Component.Google.Android.Emulator.API27,version=15.7.27625.0)

--------------------------------------------------------------------------------

Package 'AndroidHaxm_Xamarin,version=6.2.0.4' failed to install.
    Search URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=AndroidHaxm_Xamarin;PackageAction=Install;ReturnCode=5
    Details
        Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -Noninteractive -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\AndroidHaxm_Xamarin,version=6.2.0.4\AndroidSDKPrivateInstall.ps1""" -Package extra-intel-Hardware_Accelerated_Execution_Manager -FileName haxm-windows_r6_2_0.zip -Version 6.2.0 -AndroidHome """C:\Program Files (x86)\Android\android-sdk""" -RequestedAVDs """""" -Operation Install; exit $LastExitCode"
        Return code: 5
        Return code details: Access is denied.
    Log
        C:\Users\bminder\AppData\Local\Temp\dd_setup_20180530193011_362_AndroidHaxm_Xamarin.log
    Impacted workloads
        Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.7.27625.0)
    Impacted components
        Google Android Emulator (API Level 27) (Component.Google.Android.Emulator.API27,version=15.7.27625.0)
        Intel Hardware Accelerated Execution Manager (HAXM) (global install) (Component.HAXM,version=15.6.27413.0)

1 Ответ

0 голосов
/ 01 июня 2018

Оказывается, наш корпоративный Cylance блокировал скрипт.Я должен был подать запрос, чтобы разрешить это - потерял только 2 дня при этом.

...