【问题标题】:Command Not Found when trying to use the "android" bash command?尝试使用“android”bash 命令时找不到命令?
【发布时间】:2012-03-06 02:03:05
【问题描述】:

我正在尝试像这样使用 android 命令

:~ antonpug$ android list targets

但它不起作用?我得到“找不到命令”。我做错了什么?

我安装了 SDK。使用 Mac OS X。

【问题讨论】:

  • 你使用什么基础操作系统? windows 还是 linux 还是 mac?

标签: android bash shell command-line


【解决方案1】:

您需要将 android platform-tools 和 tools 路径添加到您的系统 PATH 变量中。修改 .profile 或 .bash_rc 文件,将路径附加到 sdk 文件夹根目录中的目录。

【讨论】:

    猜你喜欢
    • 2021-07-30
    • 2016-09-02
    • 1970-01-01
    • 1970-01-01
    • 2016-04-04
    • 2014-07-30
    • 1970-01-01
    • 2020-03-11
    • 2013-03-01
    相关资源
    最近更新 更多