首页 > 代码库 > 【BUG】[ - ddms] Can't bind to local 8700 for debugger

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

[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数据。



三、解决:


    1,修改hosts文件:

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

jasondeabroadVPN:~ jason$cd /

jasondeabroadVPN:/ jason$ cd etc/

jasondeabroadVPN:etc jason$ ls

afpovertcp.cfgmaster.passwd

aliasesmoduli

aliases.dbnanorc

apache2networks

asl newsyslog.conf

asl.confnewsyslog.d

auto_homenfs.conf

auto_masternotify.conf

autofs.confntp-restrict.conf

bashrcntp.conf

bootpd.plistntp_opendirectory.conf

com.apple.screensharing.agent.launchdopenldap

csh.cshrcpam.d

csh.loginpasswd

csh.logoutpaths

cups paths.d

defaultsperiodic

dnsextd.confpf.anchors

efax.rcpf.conf

emond.dpf.os

find.codesphp-fpm.conf.default

fstab.hdphp.ini.default

ftpd.confpostfix

ftpd.conf.defaultppp

ftpusersprofile

gettytabprotocols

groupracoon

hostconfigrc.common

hosts.equivrc.imaging

hosts.txtrc.netboot

ip6addrctl.confresolv.conf

irbrcrmtab

kcpasswordrpc

kern_loader.confrtadvd.conf

krb5.keytabsecurity

launchd.conf services

localtimeshells

locate.rcsnmp

mach_init.dssh_config

mach_init_per_login_session.dsshd_config

mach_init_per_user.dsudoers

mail.rcsyslog.conf

man.confttys

manpathsxtab

manpaths.dzshenv

jasondeabroadVPN:etc jason$open -e hosts.txt 

jasondeabroadVPN:etc jason$ 



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