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

吃可爱长大的小学妹 提交于 2020-01-05 08:08:09

问题


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

If I try to start ADB manually it just doesn't show anything.

I tried so far:

  • Restart server
  • Reinstall ADB
  • Reinstall Android Studio

I'm on mac os X 10.11.6 and not using any special emulator. 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


回答1:


I finally resolved my issue, it occurs if you run java and ADB at the same time.

to fix it stop all java processes in the activity monitor.



来源:https://stackoverflow.com/questions/42701920/adb-in-android-studio-keeps-showing-same-error-message-and-does-not-start

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!