尝试使用 DroidBox 时出错
我正在研究如何分析 Android 应用程序的使用 DroidBox。但是当开始分析:
./droidbox.sh file.apk
时出现如下错误:
android@honeynet:~/tools/droidbox$ ./droidbox.sh a.apk
./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 233, in <module>
call(['adb', 'logcat', '-c'])
File "/usr/lib/python2.6/subprocess.py", line 480, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
0SError: [Errno 2] No such file or directory
问题是什么? 谢谢!
I am researching how to analyze the application Android use DroidBox. But when start analyzing :
./droidbox.sh file.apk
get error as follows:
android@honeynet:~/tools/droidbox$ ./droidbox.sh a.apk
./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 233, in <module>
call(['adb', 'logcat', '-c'])
File "/usr/lib/python2.6/subprocess.py", line 480, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
0SError: [Errno 2] No such file or directory
What's the problem?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
错误消息非常清楚 - 您的路径中没有
adb
。获取
adb
最简单的方法是下载 Android SDK。adb
位于platform-tools
文件夹中。事实上,droidbox首页提到了这一点。所以你可能已经错过了。
The error message is pretty clear - you don't have
adb
in your path.Easiest way to get
adb
is to download Android SDK.adb
is located inplatform-tools
folder.In fact, droidbox front page mentions this. So you've probably missed that.
您似乎没有安装 Android SDK 工具,或者您的
PATH
设置不正确。请参阅安装 SDK 并务必查看“如何更新 PATH”部分在步骤 5 下。It would seem that you do not have the Android SDK tools installed, or your
PATH
is not set up correctly. See Installing the SDK and be sure to check out the section "How to update your PATH" under Step 5.您应该进入配置文件添加这两个路径,如下所示:
You should go to the profile to add these two paths as follows: