Open schildbach opened 9 years ago
It seems that /opt/android-studio/ doesn't exists... Try to run:
sudo mkdir /opt/android-studio/
This should fix the issue.
sudo apt-get purge android-studio; sudo apt-get install android studio.... this should fix your problem...
I got a similar error when installing on a brand new Ubuntu 14.04 Digital Ocean server. To work around the error I ran similar to what @PaoloRotolo said: sudo /opt
This has allowed sudo apt-get install android-studio
to finish without error (though I haven't yet confirmed it runs).
Seems like some distros don't come with a /opt folder, and the post-install scripts in the ppa expects the folder to exists.
This is on Ubunu 15.04, 64 bit: