Android SDK-Precautions for 64-bit Linux

Source: Internet
Author: User

Because the machine memory is broken, I changed the memory and re-installed a 64-bit Fedora16, dropping the original 32-bit Fedora15.
So I encountered a very interesting thing when I re-installed the Android SDK. First, the SDK Installation File and ADT could not be downloaded, and my mobile broadband at home could not be downloaded, I contacted a friend and found that mobile and Unicom broadband cannot be downloaded. China Telecom can be downloaded normally, which is really strange! There is no way. I got a friend.
When I came back for installation, I stopped in the Fetching status and used it. Solution to Android SDK download and update failureThe provided method is successfully downloaded!
Who knows, after the download is complete, a project is created and the compilation fails, the R file cannot be generated, and the project cannot be run. It is said that adb and aapt are missing, but these two files obviously exist, the following error occurs only when the two commands are run on the command line: Copy codeThe Code is as follows: bash adb:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

This is a strange problem. I have never encountered it before. Baidu has encountered it. Some people have encountered it. Like me, I also used the SDK under 64-bit Fedora, it is said that adb and aapt require 32-bit libraries, which is really weak. Since 64-bit libraries are not supported, why does it still support 64-bit libraries!
A total of four libraries are missing, one is the ld-linux.so.2, the other is libcurses. so.2, the other is libstdc ++. 5 and libz. so.1
The installation method is to use yum to find out which package is used and then install the package:Copy codeThe Code is as follows: yum whatprovides ld-linux.so.2

It will tell you which package, and then installCopy codeThe Code is as follows: yum install-y glibc-2.14.90-24.fc16.6.i686

It should be noted that the package name should be fully written, otherwise 64-bit may be installed.
Only adb and aapt need the four mentioned above. I don't know about other commands, because other commands are not used yet.
However, the Android SDK is really weak!
To run the simulator, you must install the following three libraries:Copy codeThe Code is as follows: yum install-y SDL-1.2.14-13.fc16.i686 libXrandr-1.3.1-2.fc15.i686 libX11.i686

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.