gpt4 book ai didi

react-native - 无法使用 expo 和 genymotion 运行 android 应用程序

转载 作者:行者123 更新时间:2023-12-04 04:54:34 25 4
gpt4 key购买 nike

expo

我使用 genymotion 和 expo 来运行我的 react-native 应用程序。我没有收到任何有关 genymotion 的错误,但是当我尝试使用 expo 运行它时,我收到以下错误:

无法在 Android 上启动项目:无法安装 smartsocket 监听器:无法绑定(bind)到 127.0.0.1:5037:每个套接字地址(协议(protocol)/网络地址/端口)通常只允许使用一次。 (10048)
无法从 ADB 服务器读取 ok
* 无法启动守护进程 *
错误:无法连接到守护进程


我的系统中没有启用 vt-x,因此 Android 5 及更高版本无法正常工作。我正在尝试使用自定义平板电脑 4.2.2-API 17 - 1536x2048 运行。
enter image description here

请指导我如何进行!

更新:@dikaiosune 这里是 adb devices 的输出
enter image description here

最佳答案

我在我的 Windows 10 笔记本电脑上遇到了这个问题。基于这个 answer ,这就是我所做的:

  • 在Genymotion中,打开设置
  • 在选项卡 ADB 中,浏览位于 EXPO 安装文件夹深处的 ADB.EXE。见下图
  • 返回EXPO并点击设备按钮并在Android中打开。

  • enter image description here

    关于react-native - 无法使用 expo 和 genymotion 运行 android 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44364081/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com