Ubuntu android-studio creates a shortcut on the right, ubuntuforandroid

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.