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

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

Closed
GoogleCodeExporter opened this issue Apr 10, 2015 · 4 comments
Closed

Comments

@GoogleCodeExporter
Copy link


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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Have you installed pylab and matplotlib?

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

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

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

No branches or pull requests

1 participant