I read that applications can be added to
/opt and then symlinked from files in
/usr/local/bin to make them accessible to all users. I tried doing that manually with Android Studio by extracting the tar file to
/opt and creating a desktop entry for it in
But I noticed that unless I run it as
sudo from the terminal, it doesn't work as expected (bugs while finding SDK and existing projects). I guess this is because Android Studio is not a static application, and tries to access files in its own folder. And the same problem occurs when I start it from the Launcher.
Is there a default way to do this to make Android Studio work for all users, like Google Chrome for eg.?