简体   繁体   English

Visual Studio:Xamarin - 启动 Android 模拟器时出错

[英]Visual Studio: Xamarin - Error starting Android Emulator

Problem encountered on https://do.net.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup https上遇到的问题://do.net.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup

Operating System: Windows 10 Pro操作系统:Windows 10 Pro

Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator.在 Visual Studio 中使用 Hello World xamarin 示例 - 我无法启动 Android 模拟器。

When I click on the Run button in the Android Device Manager - the error appears immediately (See attached)当我单击 Android 设备管理器中的运行按钮时 - 立即出现错误(见附件)

Error-AndroidDeviceManager (Emulator including Google Play/Google API)错误-AndroidDeviceManager(模拟器包括Google Play/Google API) 在此处输入图像描述

Emulator error模拟器错误

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.'设备错误:警告:意外的“-prop”值(“monodroid.avdname=pixel_2_pie_9_0_-_api_28”),只有“qemu”。 properties are supported WARNING: unexpected '-prop' value ('emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e'), only 'qemu.'支持属性警告:意外的“-prop”值(“emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e”),只有“qemu”。 properties are supported支持属性

Same Error when Emulator is not using Google Play/Google API模拟器未使用 Google Play/Google 时出现相同错误 API

在此处输入图像描述

Same Error when Emulator is not using Google Play/Google API模拟器未使用 Google Play/Google 时出现相同错误 API

在此处输入图像描述

Windows Specifications Edition: Windows 10 Pro Version: 1909 Windows 规格版:Windows 10 专业版:1909

Processor AMD Ryzen 9处理器 AMD 锐龙 9

Task Manager: Performance: Virtualization is Enabled任务管理器:性能:启用虚拟化

cmd - systeminfo: Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes cmd - 系统信息:Hyper-V 要求:VM 监控模式扩展:是在固件中启用虚拟化:是二级地址转换:是数据执行保护可用:是

Visual Studio 2019视觉工作室 2019 在此处输入图像描述

Windows Features On/Off (see attached - shows Hyper V / Virtualization enabled as per documentation): WindowsFeatures Windows 功能开/关(见附件 - 显示根据文档启用的 Hyper V / 虚拟化):WindowsFeatures 在此处输入图像描述

I tried this way too - adding the Virtual Machine Platform - same error我也试过这种方式 - 添加虚拟机平台 - 同样的错误在此处输入图像描述

Android SDK Settings Android SDK 设置

Android SDK - 平台

Android SDK - 工具 - 第 1 部分

Android SDK - 工具 - 第 2 部分

Android SDK - 工具 - 第 3 部分

Android SDK Version: Android SDK 版本: 在此处输入图像描述

Could the issue be related to the Android SDK Tools - only showing Android SDK Command-line Tools versions 1.0 to 2.1?该问题是否与 Android SDK 工具有关 - 仅显示Android SDK 命令行工具版本 1.0 至 2.1? Could the issue be related to Android Repository perhaps missing on the bottom right hand side?该问题是否与右下角可能缺少的 Android 存储库有关? 在此处输入图像描述

I've now also included the Android SDK Repository under the tools - but this is still not coming through:我现在还在工具下包含了 Android SDK 存储库 - 但这仍然没有通过: 在此处输入图像描述

Problem encountered on https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetuphttps://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup上遇到的问题

Operating System: Windows 10 Pro作业系统:Windows 10 Pro

Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator.在Visual Studio中使用Hello World xamarin示例-我无法启动Android模拟器。

When I click on the Run button in the Android Device Manager - the error appears immediately (See attached)当我单击Android设备管理器中的“运行”按钮时-立即出现错误(请参见附件)

Error-AndroidDeviceManager (Emulator including Google Play/Google API) Error-AndroidDeviceManager(包含Google Play / Google API的仿真器) 在此处输入图片说明

Emulator error仿真器错误

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.'设备错误:警告:意外的“ -prop”值(“ monodroid.avdname = pixel_2_pie_9_0 _-_ api_28”),仅是“ qemu”。 properties are supported WARNING: unexpected '-prop' value ('emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e'), only 'qemu.'支持属性。警告:意外的“ -prop”值(“ emu.uuid = 4b63b139-cc77-4b66-9200-0d25f8fc545e”),仅“ qemu”。 properties are supported支持属性

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Windows Specifications Edition: Windows 10 Pro Version: 1909 Windows规格版本:Windows 10专业版:1909

Processor AMD Ryzen 9处理器AMD Ryzen 9

Task Manager: Performance: Virtualization is Enabled任务管理器:性能:启用虚拟化

cmd - systeminfo: Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes cmd-systeminfo:Hyper-V要求:VM监视器模式扩展:是在固件中启用虚拟化:是第二级地址转换:是可用的数据执行保护:是

Visual Studio 2019 Visual Studio 2019 在此处输入图片说明

Windows Features On/Off (see attached - shows Hyper V / Virtualization enabled as per documentation): WindowsFeatures Windows功能开/关(请参阅附件-显示根据文档启用的Hyper V /虚拟化):WindowsFeatures 在此处输入图片说明

I tried this way too - adding the Virtual Machine Platform - same error我也尝试过这种方式-添加虚拟机平台-同样的错误在此处输入图片说明

Android SDK Settings Android SDK设置

Android SDK-平台

Android SDK-工具-第1部分

Android SDK-工具-第2部分

Android SDK-工具-第3部分

Android SDK Version: Android SDK版本: 在此处输入图片说明

Could the issue be related to the Android SDK Tools - only showing Android SDK Command-line Tools versions 1.0 to 2.1?问题可能与Android SDK工具有关-仅显示1.0至2.1版的Android SDK命令行工具吗? Could the issue be related to Android Repository perhaps missing on the bottom right hand side?问题可能与Android存储库相关,而右下角可能丢失了吗? 在此处输入图片说明

I've now also included the Android SDK Repository under the tools - but this is still not coming through:我现在还在工具下包括了Android SDK存储库-但这仍然没有实现: 在此处输入图片说明

Problem encountered on https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetuphttps://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup上遇到的问题

Operating System: Windows 10 Pro作业系统:Windows 10 Pro

Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator.在Visual Studio中使用Hello World xamarin示例-我无法启动Android模拟器。

When I click on the Run button in the Android Device Manager - the error appears immediately (See attached)当我单击Android设备管理器中的“运行”按钮时-立即出现错误(请参见附件)

Error-AndroidDeviceManager (Emulator including Google Play/Google API) Error-AndroidDeviceManager(包含Google Play / Google API的仿真器) 在此处输入图片说明

Emulator error仿真器错误

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.'设备错误:警告:意外的“ -prop”值(“ monodroid.avdname = pixel_2_pie_9_0 _-_ api_28”),仅是“ qemu”。 properties are supported WARNING: unexpected '-prop' value ('emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e'), only 'qemu.'支持属性。警告:意外的“ -prop”值(“ emu.uuid = 4b63b139-cc77-4b66-9200-0d25f8fc545e”),仅“ qemu”。 properties are supported支持属性

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Windows Specifications Edition: Windows 10 Pro Version: 1909 Windows规格版本:Windows 10专业版:1909

Processor AMD Ryzen 9处理器AMD Ryzen 9

Task Manager: Performance: Virtualization is Enabled任务管理器:性能:启用虚拟化

cmd - systeminfo: Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes cmd-systeminfo:Hyper-V要求:VM监视器模式扩展:是在固件中启用虚拟化:是第二级地址转换:是可用的数据执行保护:是

Visual Studio 2019 Visual Studio 2019 在此处输入图片说明

Windows Features On/Off (see attached - shows Hyper V / Virtualization enabled as per documentation): WindowsFeatures Windows功能开/关(请参阅附件-显示根据文档启用的Hyper V /虚拟化):WindowsFeatures 在此处输入图片说明

I tried this way too - adding the Virtual Machine Platform - same error我也尝试过这种方式-添加虚拟机平台-同样的错误在此处输入图片说明

Android SDK Settings Android SDK设置

Android SDK-平台

Android SDK-工具-第1部分

Android SDK-工具-第2部分

Android SDK-工具-第3部分

Android SDK Version: Android SDK版本: 在此处输入图片说明

Could the issue be related to the Android SDK Tools - only showing Android SDK Command-line Tools versions 1.0 to 2.1?问题可能与Android SDK工具有关-仅显示1.0至2.1版的Android SDK命令行工具吗? Could the issue be related to Android Repository perhaps missing on the bottom right hand side?问题可能与Android存储库相关,而右下角可能丢失了吗? 在此处输入图片说明

I've now also included the Android SDK Repository under the tools - but this is still not coming through:我现在还在工具下包括了Android SDK存储库-但这仍然没有实现: 在此处输入图片说明

Problem encountered on https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetuphttps://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup上遇到的问题

Operating System: Windows 10 Pro作业系统:Windows 10 Pro

Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator.在Visual Studio中使用Hello World xamarin示例-我无法启动Android模拟器。

When I click on the Run button in the Android Device Manager - the error appears immediately (See attached)当我单击Android设备管理器中的“运行”按钮时-立即出现错误(请参见附件)

Error-AndroidDeviceManager (Emulator including Google Play/Google API) Error-AndroidDeviceManager(包含Google Play / Google API的仿真器) 在此处输入图片说明

Emulator error仿真器错误

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.'设备错误:警告:意外的“ -prop”值(“ monodroid.avdname = pixel_2_pie_9_0 _-_ api_28”),仅是“ qemu”。 properties are supported WARNING: unexpected '-prop' value ('emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e'), only 'qemu.'支持属性。警告:意外的“ -prop”值(“ emu.uuid = 4b63b139-cc77-4b66-9200-0d25f8fc545e”),仅“ qemu”。 properties are supported支持属性

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Windows Specifications Edition: Windows 10 Pro Version: 1909 Windows规格版本:Windows 10专业版:1909

Processor AMD Ryzen 9处理器AMD Ryzen 9

Task Manager: Performance: Virtualization is Enabled任务管理器:性能:启用虚拟化

cmd - systeminfo: Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes cmd-systeminfo:Hyper-V要求:VM监视器模式扩展:是在固件中启用虚拟化:是第二级地址转换:是可用的数据执行保护:是

Visual Studio 2019 Visual Studio 2019 在此处输入图片说明

Windows Features On/Off (see attached - shows Hyper V / Virtualization enabled as per documentation): WindowsFeatures Windows功能开/关(请参阅附件-显示根据文档启用的Hyper V /虚拟化):WindowsFeatures 在此处输入图片说明

I tried this way too - adding the Virtual Machine Platform - same error我也尝试过这种方式-添加虚拟机平台-同样的错误在此处输入图片说明

Android SDK Settings Android SDK设置

Android SDK-平台

Android SDK-工具-第1部分

Android SDK-工具-第2部分

Android SDK-工具-第3部分

Android SDK Version: Android SDK版本: 在此处输入图片说明

Could the issue be related to the Android SDK Tools - only showing Android SDK Command-line Tools versions 1.0 to 2.1?问题可能与Android SDK工具有关-仅显示1.0至2.1版的Android SDK命令行工具吗? Could the issue be related to Android Repository perhaps missing on the bottom right hand side?问题可能与Android存储库相关,而右下角可能丢失了吗? 在此处输入图片说明

I've now also included the Android SDK Repository under the tools - but this is still not coming through:我现在还在工具下包括了Android SDK存储库-但这仍然没有实现: 在此处输入图片说明

Problem encountered on https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetuphttps://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup上遇到的问题

Operating System: Windows 10 Pro作业系统:Windows 10 Pro

Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator.在Visual Studio中使用Hello World xamarin示例-我无法启动Android模拟器。

When I click on the Run button in the Android Device Manager - the error appears immediately (See attached)当我单击Android设备管理器中的“运行”按钮时-立即出现错误(请参见附件)

Error-AndroidDeviceManager (Emulator including Google Play/Google API) Error-AndroidDeviceManager(包含Google Play / Google API的仿真器) 在此处输入图片说明

Emulator error仿真器错误

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.'设备错误:警告:意外的“ -prop”值(“ monodroid.avdname = pixel_2_pie_9_0 _-_ api_28”),仅是“ qemu”。 properties are supported WARNING: unexpected '-prop' value ('emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e'), only 'qemu.'支持属性。警告:意外的“ -prop”值(“ emu.uuid = 4b63b139-cc77-4b66-9200-0d25f8fc545e”),仅“ qemu”。 properties are supported支持属性

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Windows Specifications Edition: Windows 10 Pro Version: 1909 Windows规格版本:Windows 10专业版:1909

Processor AMD Ryzen 9处理器AMD Ryzen 9

Task Manager: Performance: Virtualization is Enabled任务管理器:性能:启用虚拟化

cmd - systeminfo: Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes cmd-systeminfo:Hyper-V要求:VM监视器模式扩展:是在固件中启用虚拟化:是第二级地址转换:是可用的数据执行保护:是

Visual Studio 2019 Visual Studio 2019 在此处输入图片说明

Windows Features On/Off (see attached - shows Hyper V / Virtualization enabled as per documentation): WindowsFeatures Windows功能开/关(请参阅附件-显示根据文档启用的Hyper V /虚拟化):WindowsFeatures 在此处输入图片说明

I tried this way too - adding the Virtual Machine Platform - same error我也尝试过这种方式-添加虚拟机平台-同样的错误在此处输入图片说明

Android SDK Settings Android SDK设置

Android SDK-平台

Android SDK-工具-第1部分

Android SDK-工具-第2部分

Android SDK-工具-第3部分

Android SDK Version: Android SDK版本: 在此处输入图片说明

Could the issue be related to the Android SDK Tools - only showing Android SDK Command-line Tools versions 1.0 to 2.1?问题可能与Android SDK工具有关-仅显示1.0至2.1版的Android SDK命令行工具吗? Could the issue be related to Android Repository perhaps missing on the bottom right hand side?问题可能与Android存储库相关,而右下角可能丢失了吗? 在此处输入图片说明

I've now also included the Android SDK Repository under the tools - but this is still not coming through:我现在还在工具下包括了Android SDK存储库-但这仍然没有实现: 在此处输入图片说明

Problem encountered on https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetuphttps://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup上遇到的问题

Operating System: Windows 10 Pro作业系统:Windows 10 Pro

Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator.在Visual Studio中使用Hello World xamarin示例-我无法启动Android模拟器。

When I click on the Run button in the Android Device Manager - the error appears immediately (See attached)当我单击Android设备管理器中的“运行”按钮时-立即出现错误(请参见附件)

Error-AndroidDeviceManager (Emulator including Google Play/Google API) Error-AndroidDeviceManager(包含Google Play / Google API的仿真器) 在此处输入图片说明

Emulator error仿真器错误

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.'设备错误:警告:意外的“ -prop”值(“ monodroid.avdname = pixel_2_pie_9_0 _-_ api_28”),仅是“ qemu”。 properties are supported WARNING: unexpected '-prop' value ('emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e'), only 'qemu.'支持属性。警告:意外的“ -prop”值(“ emu.uuid = 4b63b139-cc77-4b66-9200-0d25f8fc545e”),仅“ qemu”。 properties are supported支持属性

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Windows Specifications Edition: Windows 10 Pro Version: 1909 Windows规格版本:Windows 10专业版:1909

Processor AMD Ryzen 9处理器AMD Ryzen 9

Task Manager: Performance: Virtualization is Enabled任务管理器:性能:启用虚拟化

cmd - systeminfo: Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes cmd-systeminfo:Hyper-V要求:VM监视器模式扩展:是在固件中启用虚拟化:是第二级地址转换:是可用的数据执行保护:是

Visual Studio 2019 Visual Studio 2019 在此处输入图片说明

Windows Features On/Off (see attached - shows Hyper V / Virtualization enabled as per documentation): WindowsFeatures Windows功能开/关(请参阅附件-显示根据文档启用的Hyper V /虚拟化):WindowsFeatures 在此处输入图片说明

I tried this way too - adding the Virtual Machine Platform - same error我也尝试过这种方式-添加虚拟机平台-同样的错误在此处输入图片说明

Android SDK Settings Android SDK设置

Android SDK-平台

Android SDK-工具-第1部分

Android SDK-工具-第2部分

Android SDK-工具-第3部分

Android SDK Version: Android SDK版本: 在此处输入图片说明

Could the issue be related to the Android SDK Tools - only showing Android SDK Command-line Tools versions 1.0 to 2.1?问题可能与Android SDK工具有关-仅显示1.0至2.1版的Android SDK命令行工具吗? Could the issue be related to Android Repository perhaps missing on the bottom right hand side?问题可能与Android存储库相关,而右下角可能丢失了吗? 在此处输入图片说明

I've now also included the Android SDK Repository under the tools - but this is still not coming through:我现在还在工具下包括了Android SDK存储库-但这仍然没有实现: 在此处输入图片说明

Problem encountered on https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetuphttps://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup上遇到的问题

Operating System: Windows 10 Pro作业系统:Windows 10 Pro

Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator.在Visual Studio中使用Hello World xamarin示例-我无法启动Android模拟器。

When I click on the Run button in the Android Device Manager - the error appears immediately (See attached)当我单击Android设备管理器中的“运行”按钮时-立即出现错误(请参见附件)

Error-AndroidDeviceManager (Emulator including Google Play/Google API) Error-AndroidDeviceManager(包含Google Play / Google API的仿真器) 在此处输入图片说明

Emulator error仿真器错误

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.'设备错误:警告:意外的“ -prop”值(“ monodroid.avdname = pixel_2_pie_9_0 _-_ api_28”),仅是“ qemu”。 properties are supported WARNING: unexpected '-prop' value ('emu.uuid=4b63b139-cc77-4b66-9200-0d25f8fc545e'), only 'qemu.'支持属性。警告:意外的“ -prop”值(“ emu.uuid = 4b63b139-cc77-4b66-9200-0d25f8fc545e”),仅“ qemu”。 properties are supported支持属性

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Same Error when Emulator is not using Google Play/Google API模拟器未使用Google Play / Google API时出现相同错误

在此处输入图片说明

Windows Specifications Edition: Windows 10 Pro Version: 1909 Windows规格版本:Windows 10专业版:1909

Processor AMD Ryzen 9处理器AMD Ryzen 9

Task Manager: Performance: Virtualization is Enabled任务管理器:性能:启用虚拟化

cmd - systeminfo: Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes cmd-systeminfo:Hyper-V要求:VM监视器模式扩展:是在固件中启用虚拟化:是第二级地址转换:是可用的数据执行保护:是

Visual Studio 2019 Visual Studio 2019 在此处输入图片说明

Windows Features On/Off (see attached - shows Hyper V / Virtualization enabled as per documentation): WindowsFeatures Windows功能开/关(请参阅附件-显示根据文档启用的Hyper V /虚拟化):WindowsFeatures 在此处输入图片说明

I tried this way too - adding the Virtual Machine Platform - same error我也尝试过这种方式-添加虚拟机平台-同样的错误在此处输入图片说明

Android SDK Settings Android SDK设置

Android SDK-平台

Android SDK-工具-第1部分

Android SDK-工具-第2部分

Android SDK-工具-第3部分

Android SDK Version: Android SDK版本: 在此处输入图片说明

Could the issue be related to the Android SDK Tools - only showing Android SDK Command-line Tools versions 1.0 to 2.1?问题可能与Android SDK工具有关-仅显示1.0至2.1版的Android SDK命令行工具吗? Could the issue be related to Android Repository perhaps missing on the bottom right hand side?问题可能与Android存储库相关,而右下角可能丢失了吗? 在此处输入图片说明

I've now also included the Android SDK Repository under the tools - but this is still not coming through:我现在还在工具下包括了Android SDK存储库-但这仍然没有实现: 在此处输入图片说明

I had the same issue turns out the issue was that the intel HAXM wasn't installing properly from the SDK manager window.我遇到了同样的问题,原来问题是英特尔 HAXM 没有从 SDK 管理器窗口正确安装。 So I downloaded the Installer directly from the repo.所以我直接从 repo 下载了安装程序。 and installed it via the exe.并通过exe安装它。

here: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager此处: https : //software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

Restarted Visual studio.重新启动 Visual Studio。 Worked perfectly.完美地工作。

I struggled with this issue for 2 days.我在这个问题上挣扎了 2 天。 I even installed Android Studio and run its own emulator to make sure the issue is not Xamarin.我什至安装了 Android Studio 并运行了自己的模拟器,以确保问题不是 Xamarin。 Finally it is solved.终于解决了。 In my Dell laptop running Windows 10 with Hyper-V installed, there are two issues causing this:在我安装了 Hyper-V 且运行 Windows 10 的戴尔笔记本电脑中,有两个问题导致了这种情况:

  1. Run Command prompt in Admin mode.在管理员模式下运行命令提示符。 type bcdedit .输入bcdedit On the last entry all the way down, make sure hypervisorlaunchtype is Off .在最后一个条目上,确保hypervisorlaunchtypeOff By default it is set to Auto.默认情况下,它设置为自动。 To change this setting, type:要更改此设置,请键入:
bcdedit /set hypervisorlaunchtype off

管理员提示

  1. Make sure to run the emulator on the laptop screen .确保在笔记本电脑屏幕上运行模拟器。 Not on any other monitor.不在任何其他显示器上。 Somehow Android emulator crashed my laptop graphics driver when it is on other monitor.不知何故,当我的笔记本电脑图形驱动程序在其他显示器上时,Android 模拟器崩溃了。

Go to BIOS and enable Virtualization Technology and of course also make sure the Windows Feature (Hyper-V is installed - all components). Go 到 BIOS 并启用虚拟化技术,当然还要确保 Windows 功能(已安装 Hyper-V - 所有组件)。

In my case, BIOS was reset when I changed my CPU battery.就我而言,当我更换 CPU 电池时,BIOS 被重置。

This recently happened to me.这最近发生在我身上。 After some research, I discovered that Microsoft Hyper V was the issue, but the machine I was trying to use it on was Windows 10 Home edition.经过一些研究,我发现 Microsoft Hyper V 是问题所在,但我尝试使用它的机器是 Windows 10 家庭版。 It had to be Professional, Enterprise, etc. It's not compatible with the version of Windows. Hope this helps.它必须是专业版、企业版等。它与 Windows 的版本不兼容。希望对您有所帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xamarin Android Player / Visual Studio:坚持“启动模拟器” - Xamarin Android Player / Visual Studio: Stuck at “Starting Emulator” Android 模拟器不能与 Xamarin / Visual Studio Mac 一起使用 - Android Emulator not working with Xamarin / Visual Studio Mac WatchOS 模拟器未开始使用 Xamarin、Visual Studio 和 WatchCommunication 演示 - WatchOS emulator not starting using Xamarin, Visual Studio, and WatchCommunication Demo 模拟器在构建 [ProjectName] 时卡在 Phone is started screen 上 - Emulator gets stuck on Phone is starting screen while building [ProjectName].Android Xamarin.Forms application from Visual Studio Xamarin.Android Projects未能在Android的visual studio模拟器中部署 - Xamarin.Android Projects failed to deploy in visual studio emulator for android 在Visual Studio 2015 xamarin android模拟器中获取“有部署错误,继续?”错误 - Getting “There were deployment errors, Continue?” error in visual studio 2015 xamarin android emulator 适用于Android的Visual Studio模拟器未在macOS Sierra上的VMWare Fusion中启动 - Visual Studio emulator for Android not starting in VMWare Fusion on macOS Sierra 没有Internet连接的Visual Studio Xamarin和Android模拟器 - Visual Studio Xamarin and Android emulator without internet connection XAMARIN Visual Studio 2017-Android模拟器黑屏 - XAMARIN Visual Studio 2017 - Android Emulator Black Screen Visual Studio 2017上的Xamarin android模拟器不可用 - Xamarin android emulator on Visual Studio 2017 blacked out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM