AMD主机上使用Android Studio emulator虚拟机

版权声明:本文为博主原创文章,未经博主允许不得转载。个人独立博客:https://ichenwin.github.io GitHub、知乎等网站用户名:iChenwin https://blog.csdn.net/u013993802/article/details/81039816

2018年5月8日 微软官方发布更新,更新后在CPU为AMD的主机上也能使用Android Studio emulator虚拟机。具体步骤:
1. 开启Hyper-VWindows虚拟机监控程序平台功能,并重启
这里写图片描述
这里写图片描述
2. 确保安卓模拟器 Android Emulator版本在27.2.7以上:
这里写图片描述
3. 安卓模拟器在27.2.8之后的版本,还需要添加一个标志位。创建或打开以下文件C:\Users\你的电脑名\.android\advancedFeatures.ini,然后在里面添加一行:WindowsHypervisorPlatform = on
4. 现在你就可以通过Android Studio中的x86的安卓虚拟机进行调试了。
微软官方英文原文地址:https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/

猜你喜欢

转载自blog.csdn.net/u013993802/article/details/81039816