Install Android development tools in Ubuntu13.04: adt-bundleAndroid-ndk-r8e are extracted after the configuration environment variables can be used. However, the Dash cannot be searched, and it looks uncomfortable. The setting is as follows: 1. The terminal can create an eclipse STARTUP script in the/usr/bin directory: $ sudogedit/usr/bin/eclipse to add the following content to it:
Install Android development tools in Ubuntu 13.04:
Adt-bundle Android-ndk-r8e
After decompression, you can configure the environment variables. However, the Dash cannot be searched, and it looks uncomfortable.
The settings are as follows:
1. Available Terminals
Create an eclipse STARTUP script in the/usr/bin directory:
$ Sudo gedit/usr/bin/eclipse
Add the following content:
#! /Bin/sh
Export illa_five_home = "/usr/lib/mozilla /"
Export ECLIPSE_HOME = "/opt/eclipse"
$ ECLIPSE_HOME/eclipse $ *
Note: After saving, you must see the same color. Sometimes, when you copy and paste the text directly, the quotation marks are not English quotation marks "", but Chinese quotation marks "". in this case, you need to change it to an English quotation mark.
Save text.
Add the executable permission for the script:
$ Sudo chmod 755/usr/bin/eclipse
At this time, you can directly enter eclipse on the terminal to start the program. If you cannot cancel the account, you can.
2. Dash icon
Add an icon on the Dash homepage so that you can place the chart in Unity or the Dock for quick start.
Enter the following command on the terminal:
$ Sudo gedit/usr/share/applications/eclipse. desktop
Add the following content in the text:
[Desktop Entry]
Name = Eclipse
Comment = Eclipse IDE
Exec =/home/gong/android/eclipse
Icon =/home/gong/android/eclipse/icon.png
Terminal = false
Type = Application
Categories = Application; Development; Unity; Eclipse;
StartupNotify = true
Here, icon.png is the 32x32 png that I modified based on the icon. xpm in the original directory. Because the icon. xpm is 256*256, the icon in Dash is too big to be harmonious.
In this way, you can find eclipse on the Dash homepage.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2