Android studio can't connect through ADB on OSX

前端 未结 8 1244
南方客
南方客 2020-12-19 01:16

I\'ve been working a bit with Android Studio on OSX 10.7.5 and it looks very promising. I\'ve run into a problem when trying to launch an application on my device however.

相关标签:
8条回答
  • 2020-12-19 01:28

    EDIT: This actually solved my issue so this is the accepted answer. It seems this answer also helps alot of people but it did not work for me.

    Here's what I did to finally make it work. No idea which of these steps triggered my working copy as it seemed very random but I will put them in order.

    1. Uninstall AS
    2. Remove old path to adb from bash
    3. Turn off firewall (or at least monitor which connections are being made by AS and various USB drivers and allow them)
    4. Install AS
    5. Change target device under Run -> Edit configurations
    6. Launch
    7. It works...maybe! ... ...
    8. Change theme
    9. Reboot
    10. Doesn't work
    11. Unplug and plug in device
    12. Should work, if not try rebooting and unplugging/plugging until it does.
    0 讨论(0)
  • 2020-12-19 01:29

    I just had the same problem with Android Studio 0.5.3. I would recommend restarting your computer, if the adb kill-server, adb start-server method doesn't work.

    0 讨论(0)
提交回复
热议问题