Ubuntu10.10Android installation Tutorial: At the beginning, it was very successful to configure the Android installation environment in window7, but because of its own netbook, the speed was very slow, so the development was too inefficient, later I changed to a Linux, and there was a special version of netbook on the Ubuntu official website. I installed Ubuntu 10.10, And I knew nothing about Linux from the beginning, first, I had a hard time installing various types of Android. Here I will write down my experiences and
Ubuntu 10.10 Android installation tutorial
At first, it was very successful to configure the Android installation environment in window7, but because of its own netbook, the speed was very slow, so the development was too inefficient, and later changed to a Linux, I have a special version of netbook on the official Ubuntu website. I installed Ubuntu 10.10, And I knew nothing about Linux from the beginning, first, I had a hard time installing various types of Android. Here I will write down my experiences and learn from them!
Because Android is based on Linux and Ubuntu provides a lot of existing software, the installation process can be easily divided into the following steps to quickly succeed ~ Not much nonsense. Start:
1. When I first log on to netbook Ubuntu, I can access the notebook desktop and desktop. I am here on the desktop, because the notebook desktop is too much like a mobile phone, and it doesn't feel like a computer.
2. Click the system drop-down menu in the system menu bar, select Administration from the drop-down menu, select synaptic packeage manager from the menu, and enter java 6 in search, select sun java 6, right-click mark for installation, and select several other components to install the jdk environment. Verification Method: Enter java-version in the command line.
3. Click applications in the System Menu Bar, open the Ubuntu software center, and enter eclipse in the search box to install the searched eclipse.
4. Download the Android sdk from the official website of google Android developers. This website will be searched by baidu as long as the sdk is on the Internet. Be sure to select the Ubuntu version when downloading the sdk.
5. Extract the downloaded files. If the files are in the tar.gz or tgz, gz, or tar format, run the tar command to decompress the files. Enter the command line and enter tar-zcvf filename to decompress the files, if you have any questions about the file to be decompressed, you can search it online. It is very simple. If it may be because of the file attributes, enter chmod + x filename before decompression.
6. Open eclipse, click install software in the help menu to open the dialog box, and enter the google official website in the input box. This is the same as the website in the window. Click add. In minutes, this ADT plug-in provided by google is found, select all, and install it according to the steps.
7. Click preferences in the window menu to open the Properties dialog box. Select the Android option and add your Android directory to it.
8. Click the download tool in the toolbar (it is a downward arrow icon. If there is no toolbar, you can also click the window menu bar and click Android SDK and AVD manager ), this download device may need to be restarted before it can be seen.
9. Select update all and accept all to install all the sdks and APIs provided by google. If your computer is not well configured, you can select only one high-point platform, this download takes a long time and requires patience.
10. Configure environment variables. My eclipse is 3.5.2 and jdk is 1.6. 2, it should be reasonable to say that it can come, but I spent a lot of time configuring environment variables. The general Android adb software is in the tools of the Android-sdk installation directory, later, I found a file that says my adb has been transferred to platform-tools. You may also encounter this problem, so you need to add it as an environment variable.
The command is as follows:
# Gedit ~ /. Bashrc
Open the file and add the following to the last line:
Export PATH = {"PATH"}: home/username/Android-sdk/tools
Export PATH = {"PATH"}: home/username/Android-sdk/platform-tools
Save and exit
11. verify whether the environment variable is configured successfully: # adb