Because the machine memory is broken, changed a memory, reinstall a 64-bit Fedora16, the original 32-bit Fedora15 lattice off.
So when reinstalling the Android SDK encountered very interesting things, first SDK installation files and ADT can not download, my home mobile broadband, is unable to download, with friends found mobile and unicom broadband can not download, China Telecom is able to download the normal, really weird ah! No way, to a friend of the next one.
When you come back to install, you have been parked in the fetching state, using the
Troubleshooting the Android SDK download and update failure methodThe method provided is successful download!
Behold, the download completed after the build of a project failed to build the R file, and can not run the project, said that the lack of ADB and AAPT, but these two clearly exist, to the command line to run the next two commands to find that the following error occurred:
Copy Code code as follows:
bash adb:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory
It's a weird question that I've never met before. Baidu, there is really a classmate met, the situation and I was also under 64 fedora with the SDK, said ADB and AAPT need 32-bit library, really weak burst, since do not support 64 why still write support 64!
Altogether missing 4 libraries, one is ld-linux.so.2, one is libcurses.so.2, the other is libstdc++.5 and libz.so.1
The installation method is, choose Yum to find out which package, and then install the package:
Copy Code code as follows:
Yum Whatprovides ld-linux.so.2
It will tell you which package it is and then install it
Copy Code code as follows:
Yum Install-y glibc-2.14.90-24.fc16.6.i686
Note that it is best to write the name of the package, otherwise it may be 64-bit.
Only the ADB and AAPT need the 4 mentioned above, but they don't know about the others, because the other orders are still useless.
But the Android SDK is a real bust!
In order to be able to run the emulator, you must also install the following three libraries:
Copy Code code as follows:
Yum install-y sdl-1.2.14-13.fc16.i686 libxrandr-1.3.1-2.fc15.i686 libx11.i686