Reputation: 49
Trying to install Android Studio 2.3.0.8 for Linux on Linux Mint 18.1 (64bit) however it isn't working.
I have downloaded the zip; android-studio-ide-162.3764568-linux.zip -from https://developer.android.com/studio/index.html and followed the instructions in the user guide and other stackoverflow questions but it won't install.
The steps I take are:
(1) Extract android-studio-ide-162.3764568-linux.zip to /home/username/Downloads. I have also tried moving the folder (using terminal command sudo mv from/file /usr/local and to /opt/). However the result is always the same
(2) Run in terminal; cd ./Downloads/android-studio/bin or /usr/local, etc. then enter the command ./studio.sh
I have tried tried this a number of times but it still wont work. ;
"username@username-MS-7970 ~/Downloads/android-studio/bin $ ./studio.sh
bash: ./studio.sh: Permission denied"
Any help would be much appreciated.
sezpanda@sezpanda-MS-7970 /opt/android-studio/bin $ sudo ls -a
[sudo] password for sezpanda:
. idea.properties log.xml studio.vmoptions
.. inspect.sh os subprocess
appletviewer.policy libbreakgen64.so studio64.vmoptions sys
fsnotifier libbreakgen.so studio.png
fsnotifier64 lldb studio.sh
sezpanda@sezpanda-MS-7970 /opt/android-studio/bin $
Upvotes: 0
Views: 2231
Reputation: 93
Simply download .zip from official url i.e. android_studio & then check whether there is java installed or not on your system, to check simply do,
java -version
will return something like this,
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
Then extract .zip & go to extracted zip folder & then go to bin, open your Terminal & perform these two step & Android Studio will get successfully installed on your system,
sudo chmod +x ./studio.sh
sudo ./studio.sh
Upvotes: 1
Reputation: 1361
You might not have chmod +x studio.sh try sh ./studio.sh
If this was not it, try again like this: sh -x ./studio.sh. This will show you every line that is run and will help you debug it.
Good luck.
Upvotes: 0