gpt4 book ai didi

android - 无法在 Android 上启动项目 : Error running adb: adb: failed to run abb_exec. 错误:关闭 adb:写入连接错误:关闭

转载 作者:行者123 更新时间:2023-11-30 04:56:36 59 4
gpt4 key购买 nike

尝试通过 expo 在模拟器上运行 react-native 应用程序时出现此错误。

Couldn't start project on Android: Error running adb: adb: failed to run abb_exec. 
Error: closed adb: connect error for write: closed

如何解决?

最佳答案

如果您使用的是 linux 或 mac os cob,请运行以下命令:

sudo chmod -R 777 project_name
after that rm -rm node_modules /
then npm i

然后再次运行 react native

关于android - 无法在 Android 上启动项目 : Error running adb: adb: failed to run abb_exec. 错误:关闭 adb:写入连接错误:关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59026593/

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