解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误

这篇具有很好参考价值的文章主要介绍了解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

原因分析:

在使用 Android studio 的时候出现“The emulator process for AVD Nexus_4_API_27 has terminated.”,本人在下载 Android studio 的时候,是直接下载到了D盘,并且新建了一个文件夹 SDK 来存放内容,而 Android studio 大多默认在C盘下使用AVD来保存,并且就会出现环境变量没有配置好,可能就会出现无法运行的错误。同时因为我这安装的是 Nexus4 ,所以显示的报错也是Nexus4,如若安装的是其他也可尝试该解决方法。

 解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误,android 错误集,android-studio


解决方案:

1. 在你 Android studio 安装的目录下(我这是D盘),新建一个文件夹 AndroidAVD (原来没建),保持为空。并不需要把原来文件夹里的东西复制到新建的 AndroidAVD 下。

 2.打开环境变量,新建系统变量并且编辑,变量名可以改为:ANDROID_SDK_HOME (如果原来有可以更改),变量值为D:\AndroidAVD。

/-------------------------------------------------
/-------------------------------------------------
变量名可以改为:ANDROID_SDK_HOME
/-------------------------------------------------
/-------------------------------------------------
变量值为D:\AndroidAVD。
/-------------------------------------------------
/-------------------------------------------------

解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误,android 错误集,android-studio

3.回到 Android studio 点击Create device,选择Nexus4,再点击Next.

解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误,android 错误集,android-studio

 4.这里 Next 后可以下载一个新的 Oreo 27 x86 的(原来下载的 Oreo 26 x86 ),再次运行即可。(如果原来已经有了,可以选择再次下载,下载时看左上角是否是新文件的位置)。解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误,android 错误集,android-studio

5.这时回到新建的 AndroidAVD 文件夹下(先前为空),可以发现已经修改了存储路径,存放在了 AndroidAVD 文件夹下,这时就可以运行了。

解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误,android 错误集,android-studio解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误,android 错误集,android-studio文章来源地址https://www.toymoban.com/news/detail-728332.html

到了这里,关于解决使用 Android studio 时出现“The emulator process for AVD xxx has terminated.”的错误的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • Android Studio不能启动模拟器原因探秘 The emulator process for AVD xxx has terminated

    Android Studio不能启动模拟器原因探秘 The emulator process for AVD xxx has terminated

    在Android Studio中创建模拟器后,启动模拟器时弹出提示“The emulator process for AVD Pixel_2_API_31 has terminated”,但是并没有显示具体错误描述不能启动的原因是什么,没法针对性的采取措施。搜索了网上的一圈文章,有些解决方法是试探性的,比如将模拟器CPU类型由x86_64改为x86,移

    2023年04月11日
    浏览(11)
  • Android Studio 中不出现虚拟机,错误为Error running ‘app‘: The emulator process for AVD xxx has terminated.

    Android Studio 中不出现虚拟机,错误为Error running ‘app‘: The emulator process for AVD xxx has terminated.

    作为小白,今天在使用Android Studio 时发现虚拟机运行不了,错误为:Error running ‘app‘: The emulator process for AVD xxxxxx has terminated.,同时还跳出Your anti-virus program might be impacting your build performance. Android Studio checked the following directories: C:xxxxxxxxxx C:xxxxxxxxxxxxxxxxxxx  。 我找到了

    2024年02月04日
    浏览(16)
  • Android:The emulator process for AVD Pixel_2_API_29 was killed

    Android:The emulator process for AVD Pixel_2_API_29 was killed

    报错描述: 第一次安装Android studio好不容易解决gradle启动模拟器又出现了以下错误 原因一: 需要安装 Intel x86 Emulator Acceleerator (HAXM installer) -Deprecated 原因二 : avd和SDK不在同一目录下 解决方法: 原因一: 安装步骤 File - Settings - Appearance Behavior - System Settings - Android SDK 或直接在

    2024年02月05日
    浏览(9)
  • Android 解决couldn‘t terminate the existing process for XXX 异常

    Android 解决couldn‘t terminate the existing process for XXX 异常

    使用Android Studio 运行项目出现问题,遇到此问题打开任务管理器,把adb.exe进程杀死,重新运行项目即可。

    2024年02月05日
    浏览(18)
  • This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open 问题解决方法

    This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open 问题解决方法

            在Android studio打开一个新的Android项目发现弹出以下的错误提示: 以上意思是当前的IntelliJ IDEA 或者Android studio所支持的Android插件不能打开该项目,请更新到2021.1.1版本或者更新的版本,故我们将相关的Android插件检查更新一下即可。 步骤1:Help--Check for Updates 步骤2:步

    2024年02月14日
    浏览(50)
  • 解决couldn‘t terminate the existing process for XXX 异常的方法

    解决couldn‘t terminate the existing process for XXX 异常的方法

    同事在使用Android studio调试程序时,遇到报错“couldn’t terminate the existing process for XXX ”的情况,想想自己明明哪里都没修改为啥突然就这样了。我之前也经常遇到这个问题,忘记是咋解决的了好像是重启电脑了?然后就在网上搜啊搜,最后在谷歌官方的此问题追踪下看到很多

    2024年02月03日
    浏览(14)
  • (极简解决)git commit 时出现:please enter the commit message for your changes

    (极简解决)git commit 时出现:please enter the commit message for your changes

    很多小白当使用git commit命令后,出现了这个框,而且按其他按键都没有反应的时候,肯定会有很多小白开始慌了。 原因分析:是对commit语句不熟练,或者对日志不习惯导致的。弹出这个框(文本编辑)的原因是因为更改这个文件提交后并没有做出备注,如果使用git commit -m

    2024年02月13日
    浏览(9)
  • 彻底解决 MAC Android Studio gradle async 时出现 “connect timed out“ 问题

    彻底解决 MAC Android Studio gradle async 时出现 “connect timed out“ 问题

    最近在编译一个比较老的项目,git clone 之后使用 async 之后出现一下现象: 首先确定是我网络本身是没有问题的,尝试几次重新 async 之后还是出现问题,网上找了一些方法解决了本问题,以此来记录一下问题是如何解决的。 1. 首先查看gradle-wrapper.properties 配置是否正确 打开

    2024年02月19日
    浏览(13)
  • 关于Job for mysqld.service failed because the control process exited with error code报错解决办法

    关于Job for mysqld.service failed because the control process exited with error code报错解决办法

    当关闭虚拟机时,再重新打开虚拟机,执行命令systemctl start mysqld启动mysql服务时会出现以下报错:Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details. 出现上述情况是因为虚拟机在关闭时,mysql服务相关控

    2024年02月12日
    浏览(11)
  • 解决docker启动报错:Job for docker.service failed because the control process exited with error code

    解决docker启动报错:Job for docker.service failed because the control process exited with error code

    一、问题描述 启动docker服务: sudo systemctl restart docker 提示: Job for docker.service failed because the control process exited with error code. See \\\"systemctl status docker.service\\\" and \\\"journalctl -xe\\\" for details. 查看服务信息:systemctl status docker.service     二、问题解决 1、进入docker目录:cd /etc/docker/ 2、修改

    2024年02月11日
    浏览(52)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包