gpt4 book ai didi

Nativescript:套接字连接超时

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

我在 Mac 上,我想在 USB-C 连接的 Android 设备上运行我的应用程序。

我的第一步总是删除 node_modules、hooks 和平台文件夹,以及 package.lock.json 文件。
之后我运行 tns build android .
一旦构建完成,我要么运行 tns run android或通过 nativescript 助手启动应用程序。

但现在总是这样结束:

Project successfully built. Installing on device 5B24000362... Successfully installed on device with identifier '5B24000362'. Unable to apply changes on device: 5B24000362. Error is: Socket connection timed out..



由于我在 2 天前已经遇到此错误并且无法继续处理该应用程序,因此我在 this upgrade instructions 之后更新了所有 nativescript 和 angular 依赖项.
更新后,该应用程序再次运行。
但是现在几个小时后,我再次遇到相同的错误(同一个应用程序)。
我什至在应用程序运行后将其推送到 git 存储库,现在重新克隆它,不起作用。

最佳答案

如果您有 nativescript-plugin-firebase安装。只需更新它:$ tns plugin update nativescript-plugin-firebase

关于Nativescript:套接字连接超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53192464/

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