终端一直说 ./studio.sh not found in Linux Mint

Terminal keeps saying ./studio.sh not found in Linux Mint

当我 运行 ./studio.sh 由于某种原因出现此错误时:

`./studio.sh
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ./studio.sh: 1: ./studio.sh: which: not found
 ERROR: Cannot start Android Studio
 Required tools are missing - check beginning of "./studio.sh" file for details.`

您似乎没有安装 which 工具。

它应该包含在 debianutils 包中。

尝试安装:

sudo apt-get install debianutils

或重新安装:

sudo apt-get install --reinstall debianutils