Issue
I have a small problem. I have installed Android Studio on Ubuntu successfully. It is working fine. It is installed in the Admin account. I would like to make the studio available in the user account that I have created. Please guide.
Solution
The problem got solved. I hope this answers helps people who are facing a similar problem.
Solution to the problem:
Open terminal. Using sudo -i, become a root user and move the unzipped android studio folder into /opt
mv <your current folder location>/android-studio /opt
Once the folder is moved, cd into
/usr/share/applications
folderOpen the text editor and create a file named
android-studio.desktop
. Enter the following code into the file and save it.[Desktop Entry] Version=1.0 Type=Application Name=Android Studio Exec=bash -i "/opt/android-studio/bin/studio.sh" %f Icon=/opt/android-studio/bin/studio.png Categories=Development;IDE; Terminal=false StartupNotify=true StartupWMClass=jetbrains-android-studio Name[en_GB]=android-studio.desktop
Now install the desktop file.
desktop-file-install android-studio.desktop
Now android studio is accessible from the search menu
Close the terminal.
Launch android studio from the search menu (top left icon on the launcher)
Once android studio is running, you can right click on the icon on the launcher and lock it to the launcher.
Answered By - Pallavi Prasad
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.