现在的位置: 首页 > 综合 > 正文

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

2017年12月23日 ⁄ 综合 ⁄ 共 1296字 ⁄ 字号 评论关闭

[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.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$ 



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

抱歉!评论已关闭.