解决Android Studio报The emulator process for AVD Pixel_4a_Edited_API_28 has terminated.类似错误 - Tireless - 博客园

Failed to launch emulator 和 Failed to install the app解决方法_Blooming_x的博客-CSDN博客_android模拟器进程终止 

问题:按照react native官网window环境搭建,使用vscode运行和android运行出现

The emulator process for AVD Nexus_6_API_29 has terminated(模拟器进程已终止)

Failed to install the app. Make sure you have an Android emulator running or a device connected.

(无法安装应用程序。确保你有一个正在运行的Android仿真器或连接的设备。)

ailed to launch emulator. Reason: Emulator exited before boot..(未能启动模拟器。原因:Emulator在启动前退出。。)

这几种情况。

试了很多解决方案,最后发现这个方案可行,我也是c盘路径有中文出现乱码情况。

我是按这个方案配置完,马上在vscode运行是不行的,然后又在android studio上重新添加了一个模拟器,使用新添加的模拟器运行跑不起来,然后用第一次添加的模拟器跑起来了,在用新添加的模拟器也跑起来了。最后在vscode上也跑起来了。

如果你的C盘路径或者安装路径出现中文,可以试试这个方案。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐