找不到monkeyrunner命令
我导航到我的工具目录
cd /home/username/android-sdks/tools
并运行它
monkeyrunner somescrip
,它说
monkeyrunner: command not found
我已经设置了 android 主路径,但这仍然不起作用,
有趣的是,当我输入 ls 命令时,我看到了 monekyrunner
dmtracedump etc1tool mksdcard sqlite3
android draw9patch hierarchyviewer monkeyrunner traceview
ant emulator hprof-conv NOTICE.txt zipalign
apkbuilder emulator-arm layoutopt proguard
ddms emulator-x86 lib source.properties
I navigate to my tools dir
cd /home/username/android-sdks/tools
and run the
monkeyrunner somescrip
and it says
monkeyrunner: command not found
I have the android home path set, but still this doesn't works
the interesting thing is that when I type ls command I see the monekyrunner
dmtracedump etc1tool mksdcard sqlite3
android draw9patch hierarchyviewer monkeyrunner traceview
ant emulator hprof-conv NOTICE.txt zipalign
apkbuilder emulator-arm layoutopt proguard
ddms emulator-x86 lib source.properties
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将
/home/username/android-sdks/tools
添加到 PATH,从该目录调用./monkeyrunner
或调用/home/username/android-sdks/ tools/monkeyrunner
来自somescrip
所在的目录(第一个是正确的解决方案)add
/home/username/android-sdks/tools
to the PATH, call./monkeyrunner
from that directory or call/home/username/android-sdks/tools/monkeyrunner
from the directory wheresomescrip
is lcoated (the first is the correct solution)