Search code examples
linuxandroid-studiolinux-mint

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


When I run ./studio.sh I get this error for some reason:

`./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.`

Solution

  • Looks like you don't have the which tool installed.

    It should be contained in the debianutils package.

    Try to install:

    sudo apt-get install debianutils

    or reinstall:

    sudo apt-get install --reinstall debianutils