Android studio(Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT)

在新建项目启动虚拟机出现这个错误。
解决办法:
1.首先看看环境变量是否配置正确,
2.确定
Android studio(Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT)
文章图片
`
中sdk.dir后的路径与环境变量中配的路径一致。

sdk.dir=C:\Users\acer\AppData\Local\Android\Sdk
【Android studio(Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT)】3.点击File->Project Structure
Android studio(Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT)
文章图片

这里也要设置跟环境变量一致

    推荐阅读