Android Studio中的ADB不断显示相同的错误消息,并且无法启动 [英] ADB in android studio keeps showing same error message and does not start
问题描述
我的ADB安装无法正常运行,无法启动或显示任何信息。我不断收到相同的错误消息:
My ADB install does not work, it does not start or show any info. I keep getting the same error message over and over again:
18:14 Unable to run 'adb': null
18:14 '/Users/jorandob/Library/Android/sdk/platform-tools/adb start-server' failed -- run manually if necessary
如果我尝试手动启动ADB,它什么也不会显示。
If I try to start ADB manually it just doesn't show anything.
我到目前为止已经尝试过:
I tried so far:
- 重新启动服务器
- 重新安装ADB
- 重新安装Android Studio
我使用的是Mac OS X 10.11.6,没有使用任何特殊的模拟器。
如果它有帮助的信息,那么我使用的是离子型。
I'm on mac os X 10.11.6 and not using any special emulator. If its helpful information, I'm using ionic.
终端ADB:
Jorans-iMac:〜jorandob $ adb版本
Android Debug Bridge版本1.0.36
修订版0e9850346394-android
推荐答案
我终于解决了我的问题,如果您同时运行Java和ADB,则会出现此问题。
I finally resolved my issue, it occurs if you run java and ADB at the same time.
要修复此问题,请停止活动监视器中的所有Java进程。
to fix it stop all java processes in the activity monitor.
这篇关于Android Studio中的ADB不断显示相同的错误消息,并且无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!