I followed directions here:
https://developer.android.com/studio/install.html to install android studio and I put the android-studio folder in my /usr/local/ directory.
But when I run ./studio.sh from /usr/bin/android-studio/bin I get the following output:
emerson:/usr/local/android-studio/bin$ ./studio.sh
./studio.sh: line 24: which: command not found
./studio.sh: line 25: which: command not found
./studio.sh: line 27: which: command not found
./studio.sh: line 28: which: command not found
./studio.sh: line 29: which: command not found
./studio.sh: line 30: which: command not found
./studio.sh: line 31: which: command not found
./studio.sh: line 32: which: command not found
./studio.sh: line 33: which: command not found
./studio.sh: line 34: which: command not found
./studio.sh: line 11: which: command not found
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
If it's beneficial:
emerson:/usr/local/android-studio/bin$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
emerson:/usr/local/android-studio/bin$ javac -version
javac 1.8.0_91
I scoured the internet the best I could to no avail.
Thanks for the help!