【问题标题】:React native device 'adb' not found未找到反应本机设备“adb”
【发布时间】:2021-11-08 06:57:28
【问题描述】:

我正在尝试在 android studio 设备模拟器上打开我的 react 本机应用程序,但我遇到了一个错误:

无法在 Android 上启动项目:运行 adb 时出错:spawn emulator ENOENT 运行 adb 时出错:spawn emulator ENOENT

另外,我的模拟器处于运行状态。如何解决这个问题

【问题讨论】:

  • 运行react-native doctor会得到什么?

标签: react-native android-studio emulation


【解决方案1】:

确保代码在网络上运行,然后重新启动 AVD。通过完全关闭它。我的现在正在工作。但是一段时间后,只要代码中有任何错误,它就会再次崩溃并重复该过程使其正常工作。同样在开始 AVD 之前,请关闭网络测试。

【讨论】:

    猜你喜欢
    • 2019-05-06
    • 2015-08-29
    • 1970-01-01
    • 2013-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-02
    相关资源
    最近更新 更多