Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on multiple device #29

Open
cperdana opened this issue Nov 15, 2016 · 0 comments
Open

error on multiple device #29

cperdana opened this issue Nov 15, 2016 · 0 comments

Comments

@cperdana
Copy link

andbug give error if adb connect to multiple devices.

$ ./andbug classes org.owasp.goatdroid.fourgoats -d 192.168.56.101:5555 -p 1648
!!
Traceback (most recent call last):
File "./andbug", line 34, in main
andbug.command.run_command(args)
File "/opt/tools/android/AndBug/lib/andbug/command.py", line 220, in run_command
return ctxt.perform(args[0], args[1:])
File "/opt/tools/android/AndBug/lib/andbug/command.py", line 150, in perform
if act.proc: self.connect()
File "/opt/tools/android/AndBug/lib/andbug/command.py", line 60, in connect
self.sess = andbug.vm.connect(self.pid, self.dev)
File "/opt/tools/android/AndBug/lib/andbug/vm.py", line 1157, in connect
conn = andbug.proto.connect(andbug.proto.forward(pid, dev))
File "/opt/tools/android/AndBug/lib/andbug/proto.py", line 57, in forward
pid = andbug.util.find_pid(pid)
File "/opt/tools/android/AndBug/lib/andbug/util.py", line 123, in find_pid
ps = adb(*ps)
File "/opt/tools/android/AndBug/lib/andbug/util.py", line 96, in adb
return sh(seq("adb", *args))
File "/opt/tools/android/AndBug/lib/andbug/util.py", line 61, in sh
if not no_fail: raise ShellException( command, output, status )
ShellException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant