bash:sdkmanager:找不到命令(chrome os linux)

bash:sdkmanager:找不到命令(chrome os linux)

我尝试安装 Android SDK 命令行工具:

  • 解压的commandlinetools-linux-9477386_latest.zip
  • 创建目录a/cmdline-tools/latest并放入命令行工具文件

当我尝试在终端中开始使用它之后。我的命令:

$ cd a/cmdline-tools/latest/bin/
/a/cmdline-tools/latest/bin$ sdkmanager --list

输出错误为

-bash: sdkmanager: command not found

您能提示一下我在安装或使用过程中的错误吗?

kaniktree@penguin:~/a/cmdline-tools/latest/bin$ ls apkanalyzer avdmanager lint profgen retrace screenshot2 sdkmanager 
kaniktree@penguin:~/a/cmdline-tools/latest/bin$ ./sdkmanager -bash: ./sdkmanager: Permission denied 
kaniktree@penguin:~/a/cmdline-tools/latest/bin$ sudo ./sdkmanager 
sudo: ./sdkmanager: command not found

相关内容