失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > Mac运行Android模拟器报The emulator process for AVD XXX has terminated错误

Mac运行Android模拟器报The emulator process for AVD XXX has terminated错误

时间:2019-06-08 05:09:49

相关推荐

Mac运行Android模拟器报The emulator process for AVD XXX has terminated错误

最近升级Android Studio之后,运行Android模拟器,一直报错:The emulator process for AVD XXX has terminated。

报错原因:Mac版本过低,新的模拟器emulator,需要在MacOS 11.1以上版本才能运行。解决的方法是,在Mac的terminal命令行里执行启动模拟器命令。我们可以找到模拟的文件,然后再找到启动模拟器命令。

然后,找到emu-launch-params.txt文件,里面是启动模拟器命令,打开文件。

//Users/jinxiyang/Library/Android/sdk/emulator/emulator7/Users/jinxiyang/Library/Android/sdk/emulator/emulator-netdelaynone-netspeedfull-avdPixel_2_API_29

然后,我们对换行进行处理。

//Users/jinxiyang/Library/Android/sdk/emulator/emulator 7 /Users/jinxiyang/Library/Android/sdk/emulator/emulator -netdelay none -netspeed full -avd Pixel_2_API_29

接着,再执行上面的命令。

如果觉得《Mac运行Android模拟器报The emulator process for AVD XXX has terminated错误》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。