简体   繁体   English

Android Studio中的ADB不断显示相同的错误消息,并且无法启动

[英]ADB in android studio keeps showing same error message and does not start

My ADB install does not work, it does not start or show any info. 我的ADB安装无法正常运行,无法启动或显示任何信息。 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

If I try to start ADB manually it just doesn't show anything. 如果我尝试手动启动ADB,它什么也不会显示。

I tried so far: 到目前为止,我尝试过:

  • Restart server 重新启动服务器
  • Reinstall ADB 重新安装亚行
  • Reinstall Android Studio 重新安装Android Studio

I'm on mac os X 10.11.6 and not using any special emulator. 我在Mac OS X 10.11.6上,没有使用任何特殊的模拟器。 If its helpful information, I'm using ionic. 如果它的有用信息,我正在使用离子。

Terminal ADB: 终端亚行:

Jorans-iMac:~ jorandob$ adb version Android Debug Bridge version 1.0.36 Revision 0e9850346394-android

I finally resolved my issue, it occurs if you run java and ADB at the same time. 我终于解决了我的问题,如果您同时运行Java和ADB,就会发生此问题。

to fix it stop all java processes in the activity monitor. 要修复此问题,请在活动监视器中停止所有Java进程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM