admin管理员组

文章数量:1583042

1.react-native0.63启动android studio虚拟机出现:Error: The emulator (INFO | Storing crashdata in: C:\Users\23376\AppData\Local\Temp\Android Emulator\emu-crash-34.1.20.db, detection is enabled for process: 24152) quit before it finished opening. You can try starting the emulator manually from the terminal with: D:\softwareInstall\AndroidStudio\Sdk/emulator/emulator @INFO | Storing crashdata in: C:\Users\23376\AppData\Local\Temp\Android Emulator\emu-crash-34.1.20.db, detection is enabled for process: 24152

如何解决上面报错:
(1)首先检查当前机器是否已经安装虚拟机

emulator -list-avd

(2)如果检测到未安装虚拟机,就在android studio安装一个虚拟机



2.再次执行启动react native命令,仍然报错

此时就是,react native无法启动虚拟机。需要我们自己手动启动。
(1)查看虚拟机列表

emulator -list-avd

(2)手动启动查看虚拟机列表中的虚拟机名称

emulator -avd 虚拟机名称

本文标签: 虚拟机ReactStudioandroid