【BUG】[ - ddms] Can't bind to local 8700 for debugger

时间:2021-09-19 00:46:58

[2014-06-26 15:50:56 - ddms] Can't bind to local 8700 for debugger


一、BUG环境:macbookpro+eclipse+adt+adbWireless(MBP共享网络给Android手机)


二、影响:在下图中LogCat和Console标签页之间来回跳转,无法安逸查看LOG数据。

【BUG】[ - ddms] Can't bind to local 8700 for debugger


三、解决:


    1,修改hosts文件:

Last login: Thu Jun 26 15:49:50 on ttys001

jasondeabroadVPN:~ jason$ cd /

jasondeabroadVPN:/ jason$ cd etc/

jasondeabroadVPN:etc jason$ ls

afpovertcp.cfg master.passwd

aliases moduli

aliases.db nanorc

apache2 networks

asl newsyslog.conf

asl.conf newsyslog.d

auto_home nfs.conf

auto_master notify.conf

autofs.conf ntp-restrict.conf

bashrc ntp.conf

bootpd.plist ntp_opendirectory.conf

com.apple.screensharing.agent.launchd openldap

csh.cshrc pam.d

csh.login passwd

csh.logout paths

cups paths.d

defaults periodic

dnsextd.conf pf.anchors

efax.rc pf.conf

emond.d pf.os

find.codes php-fpm.conf.default

fstab.hd php.ini.default

ftpd.conf postfix

ftpd.conf.default ppp

ftpusers profile

gettytab protocols

group racoon

hostconfig rc.common

hosts.equiv rc.imaging

hosts.txt rc.netboot

ip6addrctl.conf resolv.conf

irbrc rmtab

kcpassword rpc

kern_loader.conf rtadvd.conf

krb5.keytab security

launchd.conf  services

localtime shells

locate.rc snmp

mach_init.d ssh_config

mach_init_per_login_session.d sshd_config

mach_init_per_user.d sudoers

mail.rc syslog.conf

man.conf ttys

manpaths xtab

manpaths.d zshenv

jasondeabroadVPN:etc jason$ open -e hosts.txt 

jasondeabroadVPN:etc jason$ 

【BUG】[ - ddms] Can't bind to local 8700 for debugger


          2、配置eclipse:eclipse--->preference---->android---->ddms

【BUG】[ - ddms] Can't bind to local 8700 for debugger