The front-mounted Android-powered development environment (ECLIPSE+SDK+ADT) on Ubuntu is complete, but the problem arises:
Aapt:error while loading shared Libraries:libstdc++.so.6:wrong ELF Class:elfclass64
The issue also led to the creation of Android apps that did not automatically generate r.java! In the beginning to find out how to solve the problem of not automatically generated R.java, all the online solutions have been tried, the result or failure!
For a person who has just come into contact with Linux, I do not understand a lot, but eventually Google came to the answer:
Should be 64bit program AAPT try to read the 32bit library function, and my Ubuntu does not install the 32bit library, so can not achieve all the functions;
Therefore, you need to install the corresponding 32bit library, the command line:sudo apt-get install lib32ncurses5 lib32stdc++6
重启Eclipse问题解决。
更多相关的问题机器详细的解决地址:http://blog.timmattison.com/archives/2011/11/02/how-to-install-googles-android-eclipse-plugin-and-or-adb-on-64-bit-debian-ubuntu/
Aapt:error while loading shared Libraries:libstdc++.so.6:wrong ELF Class:elfclass64