小工具知识网

当前位置: 首页 > 行业知识 > Android Studio启动AVD报错:The emulator process for AVD Pixel

行业知识

Android Studio启动AVD报错:The emulator process for AVD Pixel

2026-11-08 22:40:26 来源:互联网转载

 写在最前面:

        其实方法二效果很好,当初我就是使用了方法二解决的,反而方法一没啥用,所以你可以直接拉到下边方法二直接开始操作(很简单),如果还是不行的话就再完整走一遍方法一到方法二的流程,如果有什么其他问题可以私信联系我帮忙(如果我会的话hhh)

问题描述

Android Studio启动AVD报错:The emulator process for AVD Pixel_5_API_30 has terminated.

原因:安装时使用自定义安装后,修改了默认安装目录。

而avd文件默认在 C:\Users\用户名.android 目录下。所以导致打开AVD时报错。

解决方法一:

第一步:找到avd所在 .android文件夹,将 .android文件夹复制到SDK目录下。如图:

我的SDK安装在 D:\environment\Android\SDK

第二步:修改系统环境变量


变量名称:ANDROID_SDK_HOME

之前旧的 .android 就可以删除了。

重启Android Studio,删除之前的AVD,新建一个AVD。建议建一个与之前不一样的。

 解决方法二:

           如果经过上述方法仍未解决,那么请继续以下部分,否则请忽略。

In case if anyone facing this issue. I solved it by:

  • Go to C:\Users\YourUserName\ .android

  • Create a file named advancedFeatures.ini

  • Then add the following lines of code in the file:

     Vulkan = off GLDirectMem = on

    意思是,在你的 .android 目录下,新建一个文件 advancedFeatures.ini,文件内容是

     Vulkan = off GLDirectMem = on

上一篇:同花顺怎么连接不上服务器?

下一篇:python爬虫(一)