android - 当我尝试在 Mac OS X 上运行 Android 模拟器时,我得到 'Command Not Found'

标签 android macos shell emulation

当我使用 Mac OS X Terminal使用我的 Android 模拟器导航到文件夹并输入 emulator,我得到:

command not found

会发生什么:

$ emulator
-bash: emulator: command not found

如何让它工作?

最佳答案

current directory is not normally included in your $PATH on a *nix operating system像 OS X;要在当前目录中执行程序,请在其前面加上当前目录的路径(.):

$ ./emulator

关于android - 当我尝试在 Mac OS X 上运行 Android 模拟器时,我得到 'Command Not Found',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10269274/

相关文章:

macos - 安装 Xcode 3.2.5 和 iOS SDK 4.2 时出错

swift - 在 NSTableView 中使用第一列拖动图像

shell - Vim:更改 shell 转义提示

shell - ls 命令中的彩色突出显示

bash - 终端上通配符的优雅降级

android - Wi-Fi 直连安卓

android - 如何在android中安装和使用couch db

java - 在 Mac 终端上运行 Java 类 - 错误 : Could not find or load main class Types

java - 每次运行后计时器都会加速

android - 如何区分方向键运动和操纵杆运动?