DDMS - Can't bind to local 8600 for debugger on Android Studio

后端 未结 6 1463
清歌不尽
清歌不尽 2020-12-09 08:45

Am trying to view my database tables using Android Device Monitor and It showing me Errors for reasons which i am not really sure of. And i don\'t have another instance of D

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-09 09:35

    On Mac, Open terminal and type:

        sudo nano /etc/hosts
    

    Add following line to your hosts file

    127.0.0.1        localhost
    

    Save and exit.

    In Android Studio, you can start debugging again. I got stuck with the same problem and I ended up doing above, problem solved.

    Hope this helps :) .

提交回复
热议问题