Android studio can't connect through ADB on OSX

前端 未结 8 1260
南方客
南方客 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:18

    Span said that you should do strange things, but sometimes it works (strange = reinstall, reboot using word 'maybe'). We should understand that it could be, because of some bad settings in OS which had been changed, but you do not remember about it.

    But my case was even stranger! :)

    Cause Windows do not limit you to have many Firewalls it could be the key! Firewalls might not permit some apps to connect withother, you should check also it.

    I described it in: here

    Assuming the crash course to start Android Studio:

    • disable connection to internet (for security),
    • uninstall Android Studio,
    • remove .gradle and .AndroidStudio folder from your home directory,
    • remove all firewalls right way, reinstall & set them up to allow,
    • remove all av's the same as above,
    • check Windows internal firewall (or iptables in Linux :) ),
    • install Android Studio.

    If it do not work and you want to have your OS not reinstalled - make VM with Windows and try. If not work - reinstall system :(

    Regards.

提交回复
热议问题