gpt4 book ai didi

android - adb 启动服务器失败

转载 作者:行者123 更新时间:2023-12-04 17:24:11 27 4
gpt4 key购买 nike

嗨,我在使用android studio时发现问题,打开我的android项目,adb总是启动服务器失败。
关于安卓工作室:

Android Studio 4.1 Build #AI-201.8743.12.41.6858069, built onSeptember 23, 2020 Runtime version: 1.8.0_242-release-1644-b3-6222593x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.15.5GC: ParNew, ConcurrentMarkSweep Memory: 1979M Cores: 12 Registry:ide.windowSystem.autoShowProcessPopup=true,ide.new.welcome.screen.force=true, search.everywhere.actions=false


平台工具
30.0.4
这个 android studio 事件 adb 日志:

15:50 * daemon not running; starting now at tcp:5037

15:50 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:50 Gradle sync started

15:50 Adb connection Error:EOF

15:50 Unable to open connection to ADB server: java.io.IOException:Can't find adb server on port 5037, IPv4 attempt: Connection refused,IPv6 attempt: Connection refused

15:50 Failed to start monitoring 0209ba99

15:50 Cannot reach ADB server, attempting to reconnect.

15:50 * daemon not running; starting now at tcp:5037

15:50 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:50 * daemon not running; starting now at tcp:5037

15:50 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037

15:51 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037

15:51 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037

15:51 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037

15:51 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037

15:51 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037

15:51 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037

15:51 '/Users/zhengzhong23/Library/Android/sdk/platform-tools/adbstart-server' failed -- run manually if necessary

15:51 * daemon not running; starting now at tcp:5037


请帮我

最佳答案

转到您的驱动器 C 并在 android studio 中删除 ADB 文件,然后运行它。

关于android - adb 启动服务器失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64441234/

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