brok85 / droidbox

Automatically exported from code.google.com/p/droidbox
0 stars 1 forks source link

Running error on droidbox.py when run ./droidbox.sh file.apk #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. Start the emulator with ./startemu.sh Android22 
2. Start analyzing samples: ./droidbox.sh file.apk

What is the expected output? What do you see instead?

I expect to see the DroidBox logo and the dynamic output of the app but instead 
I see the ERROR below of an error in droidbox.py file. 

x005@ubuntu:~/Downloads/DroidBox$ ./droidbox.sh hh.apk
./droidbox.sh: scripts/droidbox.py: /usr/local/bin/python: bad interpreter: No 
such file or directory

What version of the product are you using? On what operating system?

I am using the DroidBox RC from Oct 13 on Ubuntu 11.10

Please provide any additional information below.

Thanks

Original issue reported on code.google.com by m.ala...@icsl.com.au on 26 Nov 2011 at 11:02

GoogleCodeExporter commented 8 years ago
Hi All, 

For the above Error, I posted yesterday. I have found the solution, to share it 
with anyone who might are having this issue:

Change the content in the Driordbox.sh to:

adb logcat -c | adb logcat dalvikvm:W *:S | python scripts/droidbox.py $1

Hops this work for you:
Regards, 

ALazab, M.

Original comment by m.ala...@icsl.com.au on 29 Nov 2011 at 2:33

GoogleCodeExporter commented 8 years ago
hello, I did as you say,Change the content in the Driordbox.sh to:

adb logcat -c | adb logcat dalvikvm:W *:S | python scripts/droidbox.py $1

after that , another question occur as follows:

root@ubuntu:/home/wushaomei/DroidBox# ./droidbox.sh
./droidbox.sh: line 3: adb: command not found
./droidbox.sh: line 3: adb: command not found
Traceback (most recent call last):
  File "scripts/droidbox.py", line 30, in <module>
    from pylab import *
ImportError: No module named pylab

do you know what is it?

Original comment by 675399...@qq.com on 26 Feb 2012 at 2:56

GoogleCodeExporter commented 8 years ago
Have you installed pylab and matplotlib?

Original comment by lantz.pa...@gmail.com on 10 Mar 2012 at 3:12

GoogleCodeExporter commented 8 years ago
Hello,

You need to export the path for sdk tools
Try this :
export PATH=$PATH:/path/to/android-sdk/tools/
export PATH=$PATH:/path/to/android-sdk/platform-tools/
that's a temporarly solution but if you want you can add this command in your 
.bashrc file

Ibou

Original comment by ibrahima...@gmail.com on 4 Apr 2012 at 8:43