终端一直说Linux Mint中找不到./studio.sh

时间:2015-01-24 11:54:23

标签: linux android-studio linuxmint

当我运行./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.`

1 个答案:

答案 0 :(得分:1)

您似乎没有安装which工具。

它应该包含在debianutils包中。

尝试安装:

sudo apt-get install debianutils

或重新安装:

sudo apt-get install --reinstall debianutils