Ubuntu android-studio creates a shortcut on the right, ubuntuforandroid
In ubuntu, gnome Desktop is used by default. You can also set shortcuts for your programs.
After downloading androidstudio and configuring the environment,
Echo $ PATH
/Home/yyb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: /usr/games:/usr/local/games:/home/yyb/tools/android/jdk1.7.0 _ 71/bin:/home/yyb/tools/android/sdk/tools: /home/yyb/tools/android/sdk/platform-tools:/Home/yyb/tools/android-studio/bin:/Home/yyb/. gradle/wrapper/dists/gradle-2.1-all/27drb4udbjf4k88eh2ffdc0n55/gradle-2.1/bin
Enter studio. sh to start androidstudio.
Another way to start is to put it in the left-side shortcut bar to improve convenience. How can I set it?
First, check the installation location of studio.
Yyb @ yyb :~ /Work/openSource $ which studio. sh
/Home/yyb/tools/android-studio/bin/studio. sh
Then nautilus/home/yyb/tools/android-studio/bin can see the image of androidstudio.
Preparations are ready. Next, go to the topic.
Quick startup settings for ubuntu applications are all in the/usr/share/applications/path. You can see a lot of *. desktop
Next we will create our studio
Sudo vim/usr/share/applications/Studio. desktop
[Desktop Entry]
Name = Studio
Comment = android studio
Exec =/home/yyb/tools/android-studio/bin/studio. sh
Icon =/home/yyb/tools/android-studio/bin/idea.png
Terminal = false
Type = Application
Explanation: Exec and Icon are the execution command paths and image paths found above.
Note: there must be no space behind each line; otherwise, it is invalid.
Similar to androidstudio. If you want other applications, you can start them quickly on the left. For example, wiznote eclipse.
Finally, there is a picture of the truth, the effect is as follows:
.
Reference: http://blog.csdn.net/wangjia55/article/details/9404403