!! [Errno 104] Connection reset by peer
Traceback (most recent call last):
File "./andbug", line 49, in main
andbug.command.run_command(args)
File "/home/xiao/AndBug/lib/andbug/command.py", line 266, in run_command
return ctxt.perform(args[0], args[1:])
File "/home/xiao/AndBug/lib/andbug/command.py", line 189, in perform
if act.proc: self.connect()
File "/home/xiao/AndBug/lib/andbug/command.py", line 65, in connect
self.sess = andbug.vm.connect(self.pid, self.dev)
File "/home/xiao/AndBug/lib/andbug/vm.py", line 1856, in connect
conn = andbug.proto.connect(andbug.proto.forward(pid, dev)) #conn是Connection(Thread)类型的一个对象
File "/home/xiao/AndBug/lib/andbug/proto.py", line 113, in connect
p.start()
File "/home/xiao/AndBug/lib/andbug/proto.py", line 319, in start
self.readHandshake()
File "/home/xiao/AndBug/lib/andbug/proto.py", line 182, in readHandshake
data = self.read(len(HANDSHAKE_MSG))
File "/home/xiao/AndBug/lib/andbug/proto.py", line 149, in read
pkt = self._read(sz) #返回值是读到的数据
File "/home/xiao/AndBug/lib/andbug/proto.py", line 94, in read
pkt = conn.recv(req)
error: [Errno 104] Connection reset by peer
santoku@santoku-virtual-machine:~/AndBug$ ./andbug classes -p com.android.browser
!! EOF
Traceback (most recent call last):
File "./andbug", line 49, in main
andbug.command.run_command(args)
File "/home/santoku/AndBug/lib/andbug/command.py", line 266, in run_command
return ctxt.perform(args[0], args[1:])
File "/home/santoku/AndBug/lib/andbug/command.py", line 189, in perform
if act.proc: self.connect()
File "/home/santoku/AndBug/lib/andbug/command.py", line 65, in connect
self.sess = andbug.vm.connect(self.pid, self.dev)
File "/home/santoku/AndBug/lib/andbug/vm.py", line 1856, in connect
conn = andbug.proto.connect(andbug.proto.forward(pid, dev)) #conn是Connection(Thread)类型的一个对象
File "/home/santoku/AndBug/lib/andbug/proto.py", line 113, in connect
p.start()
File "/home/santoku/AndBug/lib/andbug/proto.py", line 319, in start
self.readHandshake()
File "/home/santoku/AndBug/lib/andbug/proto.py", line 182, in readHandshake
data = self.read(len(HANDSHAKE_MSG))
File "/home/santoku/AndBug/lib/andbug/proto.py", line 149, in read
pkt = self._read(sz) #返回值是读到的数据
File "/home/santoku/AndBug/lib/andbug/proto.py", line 95, in read
if not pkt: raise EOF()
EOF: EOF
楼主,遇到这个问题了。