【发布时间】:2020-11-11 12:12:32
【问题描述】:
我在 windows10 上并根据 react native 文档设置环境。
我尝试运行 npx react-native run-android 并得到了著名的错误 error Failed to launch emulator. Reason: No emulators found as an output of emulator -list-avds
但我的模拟器已打开,我可以在adb devices -l 上看到设备,推荐使用 android sdk(android 10q 和工具版本 29.0.0.2)
我什至尝试连接我的手机(再次,在adb devices -l 中看到)但到目前为止没有任何效果。
我很确定所有环境路径都是正确的。
【问题讨论】:
标签: android react-native android-emulator