简体   繁体   English

无法在带有 Windows 7 的 Visual Studio 中使用 Android 模拟器

[英]Cant use Android Emulator in Visual Studio with Windows 7

I can't use the in-built Android Emulator in Visual Studio for Android when creating an Android App with Xamarin .使用Xamarin创建 Android 应用程序时,我无法在Visual Studio for Android 中使用内置的 Android 模拟器。 It wont start and wont display anything.它不会启动,也不会显示任何内容。 Also, the XAML- Previewer seems to be malfunctioning and only shows the logo of the previewer.此外,XAML-Previewer 似乎出现故障,仅显示预览器的徽标。

I installed all required software, made sure it was up to date and also enabled everything (Hyper-V, etc.) and it still wont work.我安装了所有必需的软件,确保它是最新的并启用了所有功能(Hyper-V 等),但它仍然无法工作。

My Rig is working with Windows 7 and has a FX-8350 Processor .我的钻机在Windows 7上工作,并且有一个FX-8350 处理器

So I had a hard time finding the answer to why I couldn't use the in-built Android Emulator that comes with Xamarin on my Windows 7 (64-Bit) machine.所以我很难找到为什么我不能在我的Windows 7 (64 位)机器上使用 Xamarin 附带的内置 Android 模拟器的答案。 The answer to why this is the case, and I hope I can help people stop wasting time finding the solution, is that you need a processor which comes with a virtualization feature.为什么会出现这种情况,我希望我可以帮助人们停止浪费时间寻找解决方案的答案是,您需要一个带有虚拟化功能的处理器。 Intels i- Series upwards and also the Ryzen AMD processors implement these.向上的英特尔 i 系列以及 Ryzen AMD 处理器实现了这些。 Also, you need to have installed Windows 10 and enable the Hyper-V technology.此外,您需要安装 Windows 10 并启用 Hyper-V 技术。 I just wanted to share this, though it seemed to be obvious, I tried a few hours finding out why I couldnt get my Emulator to work.我只是想分享这个,虽然这似乎很明显,但我尝试了几个小时,找出为什么我的模拟器无法工作。

This shows that it is the case for the XAML- Previewer 表明 XAML-Previewer 就是这种情况

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM