问题描述 早期的amd不支持AMD运行android studio的原生模拟器,只有使用第三方模拟器。造成了配置麻烦、安装packages速度非常慢(举个例子:AMD 2600x、SSD环境下、Geny模拟器–>只要更新代码、build、run之后的install package时间约15S…而在Macbook air2015环境下这样的操作不到三秒)
参考文章[ 1 ] : https://blog.csdn.net/qq_41653517/article/details/104622475
参考文章 [ 2 ]: google官方文章 https://androidstudio.googleblog.com/2019/10/android-emulator-hypervisor-driver-for.html
步骤 零:本机配置联想小新Air13 pro 、 win10专业版、AMD 3500H…
步骤 一 : 开启bios虚拟化、关闭windows hyperv和虚拟机监视参考文章[1] 写的非常详细
步骤二:在android studio设置 sdk模块安装amd支持参考文章[2] 步骤写的非常详细
步骤三 : 进入AS正常安装模拟器即可 步骤四:测试一下 问题描述里面的速度11:02 Install successfully finished in 420 ms.: App restart successful without requiring a re-install.
11:02 Executing tasks: [:app:assembleDebug] in project C:\Users\zjc98\AndroidStudioProjects\MyApplication
11:02 Gradle build finished in 2 s 448 ms
11:02 Install successfully finished in 1 s 180 ms.
11:04 Executing tasks: [:app:assembleDebug] in project C:\Users\zjc98\AndroidStudioProjects\MyApplication
11:04 Gradle build finished in 2 s 77 ms
11:04 Install successfully finished in 1 s 88 ms.
11:17 Executing tasks: [:app:assembleDebug] in project C:\Users\zjc98\AndroidStudioProjects\MyApplication
11:17 Gradle build finished in 2 s 485 ms
11:17 Install successfully finished in 899 ms.
install时间非常的短!!!
作者:zha_ojunchen