Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android sdk tools Vs 2017安装程序在“上失败”;“使用.Net进行移动开发”;_Android Sdk Tools - Fatal编程技术网

Android sdk tools Vs 2017安装程序在“上失败”;“使用.Net进行移动开发”;

Android sdk tools Vs 2017安装程序在“上失败”;“使用.Net进行移动开发”;,android-sdk-tools,Android Sdk Tools,我在以“管理员”身份运行Vs 2017 Pro安装“使用.Net进行移动开发”组件时遇到错误(如下) 我试过: 删除并重新添加组件 修复Vs 2017 自行安装HAXM下载(安装良好) 卸载和重新安装Vs 2017 向microsoft报告问题 有人知道怎么修理吗 ====================================== : Windows 10 x64, Vs 2017 Pro 15.7.2 : ======================================

我在以“管理员”身份运行Vs 2017 Pro安装“使用.Net进行移动开发”组件时遇到错误(如下)

我试过:

  • 删除并重新添加组件
  • 修复Vs 2017
  • 自行安装HAXM下载(安装良好)
  • 卸载和重新安装Vs 2017
  • 向microsoft报告问题
  • 有人知道怎么修理吗

    ======================================
    : Windows 10 x64, Vs 2017 Pro 15.7.2 :
    ======================================
    

    原来是我们公司的赛昂人阻止了剧本。我不得不提出一个允许它的请求——这样做只浪费了2天。

    阅读日志并从那里修复它<代码>返回代码详细信息:访问被拒绝。因此
    powershell.exe
    fital应用程序缺失或需要管理员权限。不推荐使用,但您可以使用“提升权限”安装进行测试。不确定在Windows中是如何具体调用的,但可以通过鼠标右键单击来完成。如果建议这样做,我不这么认为,但值得一试。可能尝试创建可能缺少的应用程序的快捷方式。
    ===============
    : 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)