History of Android installation in Linux

Source: Internet
Author: User

Because in Android do serial driver Dongdong, so to install ndk, used to be VMWARE-6.5.1 + fedora10 development environment.
Therefore, we re-built a virtual machine based on the original vmware6.5 + fdeora10, and created wins. After the Linux File is switched, We decompress all ndk, SDK, eclipse, and JDK to OPT.

Configure the environment variable. I added the export path to VIM/etc/profile and added the JDK path. However, in shell, "which Java" is/usr/bin, put the original $ path on the last side, and then change it to OK. other eclipse, SDK, and ndk paths are also added, and the shell contains no command, finally, put all the decompressed files under/usr/local/etc/profile, and change the profile to take effect, helpless.
Installed with eclipse + ADT + SDK + ndk, more than half a day is exhausted. After running, I found that X and eclipse are slow to death. Every time the Code reaches '.' or '=', it will be suspended. It will take one minute to continue. After a long time, the system will be stuck.
Helpless, I think it may be that fedora10 is an old generation, which is similar to Android, and may have support and optimization for the next version of Linux.
The most fashionable thing to think about is that Ubuntu must have a good support for Linux. We should select Ubuntu 11.04 as a new version. Development well, of course, I chose the DVD version, 3.9 GB, and my family's network speed is 50kb. Next, I spent 40% all night. I came to the company earlier than, and the network speed was fully open, with KB very stable, in less than an hour.
Start VMWARE-6.5.1 + ubuntu11.04, installed on the three sides, there are busy waiting, no focus mouse, stuck in the inexplicable situation, really speechless. After a long time, I thought about whether VMware is too old to be so slow. Got a VMWARE-7.1.4, mounted. It is really good to have a new weather, the processor can not only select dual-core, but also can select 4 threads AH (my U is I5), it is indeed the reason, the original 6.5.1 only a single dual-core.
Install ubuntu1104 at the lowest speed. After the installation, there was a problem. I switched out the virtual machine under win7, so I couldn't get in, and VMWare died.
Later, I found a solution for using vmware7.14 crash under ubuntu11.04 on the Internet.
"Sudo apt-Get remove overlay-scrollbar
Sudo Su
Echo "Export liboverlay_scrollbar = 0">/etc/X11/xsession. d/80overlayscrollbars"
It's not dead.
This time I changed my mind. I directly decompress eclipse, ndk, SDK, and JDK to/usr/local/and configure the path in/etc/profile. Once OK. run eclipse and enter the URL to download the ADT and the tool under the SDK. I started to crash. When I created an android project, it would load the SDK and create workspace for five or six minutes, and I also deleted the project. I did not solve the problem after I checked it online for a long time.
My level7 and 8 are all from fedora to wins and then to Ubuntu. I think this is caused by the load problem, and I have a new level8. I deleted all the sdks and added them again to solve the problem.
When I create a new project in eclipse, the original oblique blue bodies behind "=" in all XML are not replaced by boxes. Even R. layout. Don't see the box main. Thought it was character encoding problems, but the U-8 is no problem, asked some people are known, on the Internet for a long time,
Finally, I changed preferences-> General-> appearance-> colorsandfonts-> textfont and tried to change several fonts.
After creating a new project, I found that the R. Java file was not generated. I went to project-> clean, but I wrote a new button and R. Id. Id all came in, obviously.
I thought it was always saved and not compiled. Finally, I checked "Project-> buildautomatically" and did not check it. After being checked, it finally works properly.
How many twists and turns have occurred when I installed an android environment in Linux.

Related Article

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.